Page 1 of 1

app language at apple store

Posted: Mon Aug 22, 2011 8:01 am
by fre
hi all,

we created successfully a german app with livecode and the app is allready in apples app store.
the problem is now, apple has signed it as an english app:

Language: English

how can we change that ?
help would be very appreciated !

thank you,
fred.

Re: app language at apple store

Posted: Thu Aug 25, 2011 9:27 am
by Mark
Hi Fred,

You need to find a way to not include the irrelevant .lproj folders in the standalone. The problem is that you might break code signing by removing those folders. Perhaps you could remove those folders from the original runtime engine, which is somewhere inside LiveCode's application package. If LiveCode can't find the .lproj folders, it might not include them and sign the app without those folders (hopefully).

Kind regards,

Mark

P.S. Es gibt ein neues Deutsches Forum. Hast du dich schon registriert?

Re: app language at apple store

Posted: Mon Jul 09, 2012 9:37 am
by ludo
Hello,

I've the same issue.

I've found that in the runtime folder of Livecode there is a folder "device 5.0" (and Device 5.1") with an "settings.plist".
Into it there is this key :

Code: Select all

<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
If i correct it in "Français" it could be work ?

Thanks.

Re: app language at apple store

Posted: Mon Jul 09, 2012 11:06 am
by Mark
Ludo,

I don't think that will work, because the plist is created dynamically. Of course, you can try and tell us if it works.

You might try to find out how to sign your iOS app manually. if you figure that out, you can alter the plist and remove the superfluous .lproj folders from the application bundle and sign it again.

Kind regards,

Mark

Re: app language at apple store

Posted: Mon Jul 09, 2012 2:50 pm
by ludo
Hello,

SO, i've edited this settings.plist and put "Français" in place of "English" in the <key>CFBundleDevelopmentRegion</key>
I also renamed the english.lproj folder in the Resources folder of "LiveCode.app"

I've created the standalone and submitted to Apple. In the binary details at the "Localizations" line, i see "Fran\U00e7ais" and not "english" like in the original version. So i think it's work but i need to wait the approval from Apple.

Re: app language at apple store

Posted: Mon Jul 09, 2012 3:22 pm
by Mark
Hi,

That looks promising. Didn't you need to sign the app again, after changing the standalone?

Kind regards,

Mark

Re: app language at apple store

Posted: Tue Jul 10, 2012 6:57 am
by ludo
No need,

I've modified th settings file and the english.lproj folder in liveCode.app before created the standalone.

Re: app language at apple store

Posted: Tue Jul 10, 2012 9:12 am
by Mark
Thanks, Ludo. It is interesting to know that this is possible.

Mark

Re: app language at apple store

Posted: Wed Jul 18, 2012 10:52 am
by ludo
The update is on the store.
My app is now in "Français" !

I hope Runrev team add this possibility in the standalone builder.
Because after each update of the live code app, i need to think to change the settings manually.

Re: app language at apple store

Posted: Mon Jul 30, 2012 1:27 pm
by strongbow
What about apps that are available in multiple languages and that adapt themselves to whichever is the current language on the device? Do we always have a "default" language specified for our built apps?

Would definitely be nice to have a good (easy) way to select which languages are available in the app.

cheers

Alan