Localization on iOS

William de Smet williamdesmet at gmail.com
Mon Feb 24 16:35:06 CET 2014


Hi Ender,

Just put a folder in there with no files in it.
This made the MergExt externals show up in my native language (Dutch).
On uploading last time (since 01-02-2014) it gave a notice on my
Dutch.lptoj folder that it is not the way to go (never seen that before on
iOS6).
It still works however.


greetings,

William


2014-02-24 16:28 GMT+01:00 Ender Nafi Elekcioglu <endernafi at keehuna.com>:

> Alan hi,
>
> That may be the solution, but I have no idea how to create a valid .lproj
> folder within a Livecode app.
> I've checked other iOS apps {facebook, evernote, etc.}.
> They have more than hundred of .lproj folders
> and each of those folders contain two files:
> Localizable.strings and InfoPlist.strings.
>
> But both of them seem to binary-encoded such as:
> 6270 6c69 7374 3030 df11 0361 0001 0002
>
> How can we replicate them, what's the actual structure; does anyone know?
>
> And most importantly, is this the way?
>
> I'm not trying to localize the native-to-Livecode objects, rather
> native-to-iOS controls like browser or externals.
> Trying to make Livecode comply the user's System-Wide Language Choice.
>
>
> Thanks,
>
> ~ Ender
>
> From: Alan Stenhouse Alan Stenhouse
> Reply: Alan Stenhouse alanstenhouse at hotmail.com
> Date: February 24, 2014 at 13:55:12
> To: use-livecode at lists.runrev.com use-livecode at lists.runrev.com
> Subject:  Re: Localization on iOS
> 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
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list