app language at apple store

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

app language at apple store

Post by fre » Mon Aug 22, 2011 8:01 am

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.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: app language at apple store

Post by Mark » Thu Aug 25, 2011 9:27 am

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?
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: app language at apple store

Post by ludo » Mon Jul 09, 2012 9:37 am

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.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: app language at apple store

Post by Mark » Mon Jul 09, 2012 11:06 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: app language at apple store

Post by ludo » Mon Jul 09, 2012 2:50 pm

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.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: app language at apple store

Post by Mark » Mon Jul 09, 2012 3:22 pm

Hi,

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

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: app language at apple store

Post by ludo » Tue Jul 10, 2012 6:57 am

No need,

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: app language at apple store

Post by Mark » Tue Jul 10, 2012 9:12 am

Thanks, Ludo. It is interesting to know that this is possible.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: app language at apple store

Post by ludo » Wed Jul 18, 2012 10:52 am

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.

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 146
Joined: Mon Jul 31, 2006 1:39 am
Contact:

Re: app language at apple store

Post by strongbow » Mon Jul 30, 2012 1:27 pm

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

Post Reply