Localization on iOS

Alan Stenhouse alanstenhouse at hotmail.com
Mon Feb 24 06:55:03 EST 2014


Hi Ender

Have you tried creating folders for each of the languages that you want to support and add them to the project using the copy folder tab in standalone settings?

The folder names are of the form:

tr.lproj     (for turkish - I think!)
de.lproj   (for german)
en.lproj  (for english)

etc

HTH.

cheers

Alan
--
Alan Stenhouse
alanstenhouse at hotmail.com

Check out our apps on the App Store:

BeatSpeak - the multilingual talking metronome
EV-Point - Find your nearest Electric Vehicle Recharge Station.

On 24/02/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote:

> From: Ender Nafi Elekcioglu <endernafi at keehuna.com>
> To: LiveCode Forums <use-livecode at lists.runrev.com>
> Subject: Localization on iOS
> Message-ID: <etPan.530a8b68.25e45d32.123 at fdbqRetina.local>
> Content-Type: text/plain; charset="utf-8"
> 
> 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