Titanium Community Questions & Answer Archive

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

[tooltip] Default language setting since we have xcode

Hi !!

I want to share a little tooltip for who want to change English default language, like me !!!

In all projects we should make with Titanium, we have always default language in English, which mean that all "system interaction" are in english (e-mail, button-system, search bar, etc…)

Since we can have a full access to the code in Xcode (1.3.2) we can change this default language !!!

Open your Titanium project with XCode, and go in "Resources/info.plist"

(You can access to the xcode project in : yourproject/build/iphone/yourproject.xcodeproj)

The first line concerning what we want to change : "Localization native development setting".

Change "English" in your favorite language, compil, and "voila" !!!

In my case, "French" : After this editing, you can make all you want with Titanium like build, etc, and close Xcode.

The language will stay in YOUR language in the project, i made some test.

;)

— asked July 7th 2010 by Vivien Brissat
  • 1.3.2
  • iphone
  • language
  • sdk
  • tooltips
0 Comments

3 Answers

  • That's not the good way to do this…

    Here's how to change language :
    Move info.plist to your root folder (ie same folder as tiapp.xml).
    Open it with the plist editor.
    Change language to french (that's my case too ;)) and save it.

    When compiling, the modified info.plist should be used by xcode.

    — answered November 8th 2010 by Pascal PLUCHON
    permalink
    0 Comments
  • thanks for sharing. I was just wondering this.

    — answered November 4th 2010 by Jeroen Onstenk
    permalink
    1 Comment
    • Hmm, looks like Dutch aint supported

      — commented November 4th 2010 by Jeroen Onstenk
  • Hi,

    Obviously, it's not working when we make the final compilation, i don't know why :/

    — answered November 8th 2010 by Vivien Brissat
    permalink
    0 Comments
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.