Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing translation #2613

Closed
LThemes opened this issue Jan 24, 2024 · 4 comments · Fixed by #2622
Closed

Missing translation #2613

LThemes opened this issue Jan 24, 2024 · 4 comments · Fixed by #2622

Comments

@LThemes
Copy link

LThemes commented Jan 24, 2024

Describe the bug

With latest version when you build a brand new app via cli you get [missing "en.LoginScreen.SignIn" translation] for example
This happens with all translations.

Simulator Screenshot - iPhone 11 Pro - 2024-01-24 at 22 03 26

Ignite version

9.4.1

Additional info

System
platform darwin
arch x64
cpu 12 cores Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz

`Creating testeposcache using Ignite 9.4.1
█ Powered by ∞ Infinite Red (https://infinite.red)
█ Package Manager: npm
█ Bundle identifier: com.testeposcache
█ Path: /Users//dev/react_native//********/testeposcache
────────────────────────────────────────────────────

🖨  3D-printing a new React Native app
🎨 Getting those last few details perfect
🧶 Installing npm dependencies (wow these are heavy)
   Configuring app.json
🛠️  Removing fancy demo markup

────────────────────────────────────────────────────

Ignited testeposcache in 92.2s  🚀

For next time: here are the Ignite options you picked!
  npx ignite-cli new testeposcache \
    --bundle=com.testeposcache \
    --git=false \
    --install-deps \
    --packager=npm \
    --target-path=/Users/********/dev/react_native/********/********/testeposcache \
    --remove-demo=false \
    --workflow=expo \
    --no-timeout=false`
@LThemes LThemes added the bug label Jan 24, 2024
@baontsparkminds
Copy link

temporary solution:
const fallbackLocale = "en"
=> const fallbackLocale = "en-US"

@boilad
Copy link

boilad commented Jan 26, 2024

For non-US folks, you'll have to add an entry for en-XX here:

i18n.translations = { ar, "en-US": en, ko, fr }

Ex: As a Canadian, I had to add an entry for en-CA

@LThemes
Copy link
Author

LThemes commented Jan 27, 2024

Thanks both that worked :)

@infinitered-circleci
Copy link

🎉 This issue has been resolved in version 9.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants