Localization on iOS

Ender Nafi Elekcioglu endernafi at keehuna.com
Sun Feb 23 18:59:36 EST 2014


Hi folks,

It seems that no matter the user’s localization settings {choice of interface or keyboard language} are,
Livecode apps’ native-to-iOS controls use English.

Example:
User’s iPhone is set to Turkish but the mobile browser instance within my Livecode app which loads a local pdf shows “2 of 163” as page numbers.
So was the mergPop external of Monte, the options are: Save Image, Assign to Contact, Add to Reading List, etc.

I was editing the Settings.plist files to overcome this problem:
<key>CFBundleDevelopmentRegion</key> <string>English</string>
to
<key>CFBundleDevelopmentRegion</key> <string>Turkish</string>

That changes the pdf page numbers to “2 / 163”
and mergPop’s options to: Görüntüyü Kaydet, Kişiye Ata, Okuma Listesine Ekle, ...

So far so good, because nearly all my clients’ target audience are Turkish.
But in fact, this is an awful workaround because now it’s only in Turkish no matter in what language the device is used.
Mine is all in English, for example; yet, if I open Safari, I see an English menu but if I open one of my apps, I see Turkish entries.

And worse of all, there is no way that I can develop a multilanguage, truly localized app.
Changing native-to-Livecode fields, buttons, etc. is easy; but how can I update the native-to-iOS entries like mobile browser’s or externals’ ?

What I need is, my Livecode app reads the system language and reflects it to the native-to-iOS options/entries/menus, etc.

Is there a way to accomplish this, maybe an entry as follows:
<key>CFBundleDevelopmentRegion</key> <string>${SYSTEM_BUNDLE_REGION}</string>

That string is totally pseudo, btw :)


Thanks for any insights…


Best,

~ Ender


More information about the use-livecode mailing list