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

Can we set dynamically translation of the picker on iOS ? #596

Closed
GabinH opened this issue Apr 8, 2022 · 1 comment
Closed

Can we set dynamically translation of the picker on iOS ? #596

GabinH opened this issue Apr 8, 2022 · 1 comment

Comments

@GabinH
Copy link

GabinH commented Apr 8, 2022

Hi,

This is about locale on iOS and the way to work with it : I read the #540 #569 and so on, but I always don't understand if we can dynamically set locale for iOS.

At this moment, I understand that the picker set the locale according to the OS locale (and we can play with it in the xCode scheme).

I also understand that the locale props (iOS only) has a problem with translation of week days.

And I read the Apple doc (this one), but for me, it only let us say to xCode that the app can use defined locale.

So my question is : Is there a way to set dynamically the locale for the picker, without talking about OS locale ?

Thank you for your time

@vonovak
Copy link
Member

vonovak commented Jul 25, 2022

Hello and thanks for asking,

And I read the Apple doc (this one), but for me, it only let us say to xCode that the app can use defined locale.

it not only allows to tell xcode what locales you support but you can then also change the locale through the Settings (settings -> apps -> your app).

Is there a way to set dynamically the locale for the picker, without talking about OS locale ?

yes, the way to do it is through the locale prop.

Thank you 🙂

@vonovak vonovak closed this as completed Jul 25, 2022
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