setting localization native development solved

Getting into LiveCode for iOS? Ask your questions here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

setting localization native development solved

Post by jmburnod » Sat Feb 10, 2018 7:22 pm

Hi All,
I selected "français" for "Languages" on iTunesConnect but App Store display "english".
I believe understand that is linked with "localization native development" as i can see in "info.plist" file.
I can change this with xCode but i wonder if that is the only and best way.

Thanks to someone who may confirm i'm going to the right way :D
Best regards
Jean-Marc
From Apple FAQ
Where do the available languages displayed for my app on the App Store come from?
This list of available languages shown on the App Store is based on your app bundle's localization (.lproj) folders. Missing, incorrect, or invalid localizations in your app bundle can be caused by misconfigured localizations in your Xcode project. You cannot change the languages shown on the App Store by editing the localizations on iTunes Connect.
Last edited by jmburnod on Wed Mar 28, 2018 10:04 pm, edited 1 time in total.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4462
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: setting localization native development

Post by jacque » Sun Feb 11, 2018 10:21 pm

If you look at the contents of any app bundle in Finder, inside Contents -> Resources you will see many folders named "xx.lproj", each with their own plist file. These determine the languages your app supports. I haven't worked with these, but I assume XCode makes those for you.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Mon Feb 12, 2018 12:04 am

Hi Jacqueline,
I can see "Contents -> Resources" folder in OS X app but not in iOS app

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Mon Feb 12, 2018 12:24 pm

I understand "xx.lproj" files we can see inside Contents -> Resources only concern translations for "about" menu.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4462
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: setting localization native development

Post by jacque » Mon Feb 12, 2018 6:29 pm

I see. I think your only option is to let Xcode do it and see what happens. I haven't worked with these files yet but would like to know what you find out.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Mon Feb 12, 2018 6:39 pm

I haven't worked with these files yet but would like to know what you find out.
I have to submit a new build to verify if this way works well.
Once I did it i'll post some news in this thread

I've got 825 this morning on Klondike :D

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4462
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: setting localization native development

Post by jacque » Mon Feb 12, 2018 6:55 pm

jmburnod wrote:
Mon Feb 12, 2018 6:39 pm
I haven't worked with these files yet but would like to know what you find out.
I have to submit a new build to verify if this way works well.
Once I did it i'll post some news in this thread

Thanks, I never know when I might need something like this.
I've got 825 this morning on Klondike :D
Bravo! Nice to hear that old game is still in use. :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Mon Feb 12, 2018 7:15 pm

I never know when I might need something like this.
I think that is a particular case that regarding switzerland which becomes an island in Europa.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Sun Mar 04, 2018 10:19 am

I live in a small island on the middle Europa. Switzerland is its name. Four langages are spoken in this country and it seems LiveCode use default langage although I put "français" as langage in iTunesConnect.
I search a way to display "Français" instead "Anglais" in App Store.
I see that « Localization native development region » displays English in « Info.plist » file.
I tried to change it in « Info.plist » file to « France » but I get an error message « App installation failed. The application does not have a valid signature »
Is that what is expected ?
Best regards
Jean-Marc

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4462
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: setting localization native development

Post by jacque » Mon Mar 05, 2018 9:58 pm

Any change to the compiled app will invalidate the signing signature. If you edit the plist you have to re-sign the app. AppWrapper can do that.

Another way is to create a custom plist and put it into the Copy Files pane in the standalone settings. I haven't tried it, but the standalone builder is supposed use your custom plist instead of its own default. This is probably an easier way to customize the app.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Tue Mar 06, 2018 11:26 am

Thanks one more Jacqueline,
Another way is to create a custom plist and put it into the Copy Files pane in the standalone settings
Indeed it seems the standalone builder use custom plist
I'm able to copy my app on my iPad and choosed pList is the file i put into the copyfile pane :D
I hope that is the trick to display "Français" on App Store

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2199
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: setting localization native development

Post by jmburnod » Wed Mar 28, 2018 10:03 pm

Hi All,
I hope that is the trick to display "Français" on App Store
I confirm that is the trick. App Store display "Français" :D
Best regards
Jean-Marc

Post Reply

Return to “iOS Deployment”