I'd like to know how can I display the email dialog with the correct language (buttons 'send', 'cancel', fields 'to:', 'subject', etc.).
I'm not trying to display it in english, or spanish or french.
I'm trying to display it with the phone's language defined in the phone's settings (Titanium.Platform.locale)
Is it possible ?
thanks for your answer, but if I do this and specify a language this way, and if my app is installed on a phone using an other langage, then the email dialog will still be displayed with a wrong language.
Isn't it possible to manage this at run time (by reading the Titanium.Platform.locale value and opening the email dialog with the correct language) ?
Or better : is it possible just to not manage this at all, because I don't think it's our apps job to deal with this. Any call to any system dialog (email, sms, etc.) should be by default done with the language defined in the system settings imho.
Yes, it is!
go to your build/iphone directory. There is a info.plist file…. copy this to your project directory where the tiapp.xml file is.
Edit the info.plist and put something like this in it….
Then in the string tag you should put you language sting in it…
When you delete every thing in your build directory, after a recompile with the titanium developer you got a
localized version of your app! :-)