App Localization -- How to do with GameSalad?

nathan_suitternathan_suitter Member Posts: 1
edited April 2012 in Working with GS (Mac)
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

Answers

  • PhoticsPhotics Member Posts: 4,172
    edited April 2012
    Hi Nathan,

    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"

  • andrewbukandrewbuk Member Posts: 1
    If you use .strings files instead of .png it will be a lot easier, you can use an online localization tool such as https://poeditor.com/ to translate your app.
Sign In or Register to comment.