Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Change localization native development region (default language) on Ios

$
0
0

Hi,

This is not a question but an advice. I had search an answer to this question without real success (except for the internationalization).

But i just found how to do so i share it.

If you want to change the default language of your app :

- open tiapp.xml
    -go on the xml version (not the overwiew)
    -find the <ios> tag
    -between the <dicct> tag (insite the <ios>)  write the following lines :
        - <key>CFBundleDevelopmentRegion</key>
            <string>fr_FR</string>
In my case the default language will be in french.

You can check it by opening the info.plist file in workspace/"your project"/build/iphone/info.plist

Example :

<ios>
    <plist>
            <dict>
                <key>CFBundleDevelopmentRegion</key>
                    <string>fr_FR</string>
This will change all natives text such as 'Done', 'Cancel', ...

Notice that it could not work on emulator but when your app is on a phone it's work perfectly.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>