Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Email dialog language


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 ?

— asked November 16th 2010 by Christophe Soudron
  • dialog
  • email
  • iphone
  • language
  • locale

2 Answers

  • Hi Marc,

    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.

    — answered November 17th 2010 by Christophe Soudron
    1 Comment
    • hey, have you got any solution to this problem? I am getting the same issue. My app supports multiple languages but the email dialog box is always shown in English. Is it possible to show the dialog in device language?

      — commented August 16th 2011 by sushma pandey
  • 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….

    <plist version="1.0">

    -> <key>CFBundleDevelopmentRegion</key>

    -> <string>de_DE</string>


    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! :-)

    — answered November 17th 2010 by Marc Bender
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.