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

No matter how hard I try, I can't get a localized string. #766

Open
lemkoleg opened this issue Sep 7, 2024 · 3 comments
Open

No matter how hard I try, I can't get a localized string. #766

lemkoleg opened this issue Sep 7, 2024 · 3 comments

Comments

@lemkoleg
Copy link

lemkoleg commented Sep 7, 2024

I do everything according to the instructions. Resources are generated, I use them. But, the application outputs lines in English. What could I be doing wrong? Testing on Android. Compose MPP. I also use stringResource and res.getString(LocalContext.current). Doesn't matter

@mndsl
Copy link

mndsl commented Sep 8, 2024

The localization is based on the current language of the phone.
See Example 6 - Select localization in runtime

@lemkoleg
Copy link
Author

lemkoleg commented Sep 8, 2024

The localization is based on the current language of the phone. See Example 6 - Select localization in runtime

Now I see the problem. It is related to the Ukrainian language (ua). Moko does not support all languages?

@lemkoleg
Copy link
Author

lemkoleg commented Sep 8, 2024

The localization is based on the current language of the phone. See Example 6 - Select localization in runtime

Now I see the problem. It is related to the Ukrainian language (ua). Moko does not support all languages?

No, everything is fine with the language. If you install it forcibly, it works. Moko does not understand when the system language is Ukrainian.

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

No branches or pull requests

2 participants