Has anybody implemented localization in their games?

Post » Fri Sep 29, 2017 9:45 am

Hi,

How do you tackle localization of your games?
Up to recently I had the strategy of just compiling mutliple language versions of an app and uploading them as separate apps to Appstore/Google Play. This is however super cumbersome.

So I'd like to do it the proper way, which means loading strings from a file. This is actually pretty easy using arrays but how do I reliably detect the user's language? Also, are there any C3 plugins that would make this easier (e.g. allowing for use of wildcards in the translated strings etc.)?

Has anybody had experience with successful implementation of this kind of localization in C2/C3?
Last edited by pirx on Fri Sep 29, 2017 6:51 pm, edited 1 time in total.
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Post » Fri Sep 29, 2017 2:50 pm

You definitely should check this.
https://www.scirra.com/store/construct2 ... lugin-3679

I use it in a project and it's well worth the price.
B
32
S
6
G
1
Posts: 353
Reputation: 2,821

Post » Fri Sep 29, 2017 4:13 pm

Ok, so firstly. I use this plugin. It's easy as all the translations can be in ONE file. Simple! (Only tried in C2)
https://www.scirra.com/tutorials/5349/t ... ate-plugin

Secondly ... a HUGE time saver if you want A LOT of languages. I created a Google doc that creates ALL translations in a second (you can edit them if necessary after). See the image below, and the function that I've used. I would then export this as a CSV and convert to a JSON for the plugin, then DONE! Tonnes of languages added / updated.

Of course you need to add an option to select the language in your game (or auto load a language .. see plugin tutorial above).

Image
B
10
S
1
Posts: 20
Reputation: 564

Post » Fri Sep 29, 2017 6:51 pm

Thank you both. This is just what I was looking for.
B
16
S
7
G
1
Posts: 161
Reputation: 3,131


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest