App Localization -- How to do with GameSalad?
nathan_suitter
Member Posts: 1
Hi,
I want to localize my iPhone app into Spanish (Spain) and would like my localized version to appear when I change the language setting on the the iPhone. All of the text that needs to be translated is in .png files and I have the accompanying .psd source files so translating won't be much of an issue. But I was wondering how to achieve this effect.
How do I need to change the folder structure etc.?
Thank you in advance!
Nathan
I want to localize my iPhone app into Spanish (Spain) and would like my localized version to appear when I change the language setting on the the iPhone. All of the text that needs to be translated is in .png files and I have the accompanying .psd source files so translating won't be much of an issue. But I was wondering how to achieve this effect.
How do I need to change the folder structure etc.?
Thank you in advance!
Nathan
Answers
Unfortunately, GameSalad is a bit lacking in this area. Unless something dramatic has changed since I last published a GameSalad game... any localization has to be done manually and the info.plist isn't customizable.
I was able to get some foreign language support in a game called Commove... http://photics.com/commove ...and it wasn't managed with folders. Instead, it was done with attributes and multiple image files.
There has been an significant improvement recently though... You could also use tables for managing multi-language text.
Basically... I had three buttons... Polish Flag, German Flag and a United States Flag. If one of the flags was touched, the language attribute was changed.
If game.language = Polish
Then display polish.png
If game.language = German
Then display german.png
If game.language = English
Then display english.png
You could also get fancy by naming your images with numbers or some kind of series...
Like... hero-text-1.png
In doing so, you could use the change attribute behavior to load...
"hero.text-"..game.language..".png"