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

numbers language does not change after localization till restarting the app #72

Open
khaledbohout2 opened this issue Jul 28, 2022 · 4 comments

Comments

@khaledbohout2
Copy link

No description provided.

@MoathOthman
Copy link
Owner

@khaledbohout2 you mean number formatting ? I don't believe MOLH handles that. are you using the nsformatter and setting locale to currentLocale ?, to handle that wherever you do set the locale check the current language and set it accordingly

@khaledbohout2
Copy link
Author

@MoathOthman any string on the containing numbers, iOS converts these numbers to local language so when you force localize using MOLH while opening the app numbers do not change until restarting app, nsformatter does not solve that.

@MoathOthman
Copy link
Owner

@khaledbohout2 what are you doing currently to format the numbers ?
can u give some code snippet

@khaledbohout2
Copy link
Author

@MoathOthman i am not doing any formatting you know for example date returned from backend 09/08/2022 it appears like that in english but in arabic ٩/٨/٢٠٢٢ without doing any thing, iOS does this, when force localizing to different language while opening the app using MOLH the numbers does not change

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