Page 1 of 1

iPhonePick localization

Posted: Thu Dec 20, 2012 5:52 am
by genie
Hello!

I'm wondering if localization is possible with iOS spinner.

Well, it's easy to localize the options because it's just some array...but how about the buttons?

From the dictionary:
button - Specifies if "Cancel" and/or "Done" buttons should be forced to be displayed with the picker dialog. The default behavior is device dependent, exhibiting the most native operation.
• cancel - display the Cancel button on the Picker
• done - display the Done button on the Picker
• cancelDone - display the Cancel and Done buttons on the Picker
It's just cancel & done buttons...but I wanted to be able to localize the button if I switch to Spanish or French. How do I do that?


Thanks,
Genie

Re: iPhonePick localization

Posted: Thu Dec 20, 2012 12:05 pm
by Mark
Hi Genie,

I think this is determined by iOS rather than the apps. Not only it is impossible to change this, but from a user perspective it isn't even something your app is supposed to change. As a user, I'd be quite upset if an app changed my language settings or even the time of my device.

Kind regards,

Mark

Re: iPhonePick localization

Posted: Wed Dec 26, 2012 6:54 am
by genie
Hi Mark,

Thanks for your response...

But, even if I change my language under settings, Spanish for example, the buttons would still say "DONE/CANCEL"...shouldn't it say "CANCELAR" for instance?


Thanks,
Genie

Re: iPhonePick localization

Posted: Wed Dec 26, 2012 10:43 am
by Mark
Hi Genie,

This doesn't depend on your language settings but on the current keyboard. This is independent from language settings and app localisation.

Kind regards,

Mark

Re: iPhonePick localization

Posted: Thu Dec 27, 2012 2:32 am
by genie
This might be a dumb question...sorry...but..

What do we mean by "current keyboard"? How do I set or change that?


Thanks,
Genie

Re: iPhonePick localization

Posted: Thu Dec 27, 2012 11:44 am
by Mark
Genie,

You can add and remove keyboards in the iPhone settings app and if you have multiple keyboards activated, you can press-and-hold the globe key next to the space bar to view a list of available keyboards and select the one you want to use.

You can find everything about this on the 'net: http://qery.us/3cr

I created an external that reports the current keyboard: http://qery.us/3cs

Kind regards,

Mark