Mommy's Best Games, Inc. is an independent game developer founded in 2007. Our seventh game, currently in development, is Pig Eat Ball on which we started working in 2013. This is behind the scenes thoughts about game development and marketing.

Nathan

Wednesday, May 30, 2018

Word for Word

We're initially translating the game to French, Italian, German, and Spanish.
As such, I'm knee-deep in localization preperation.

That means I'm taking any and all English text in Pig Eat Ball and changing it out for a list-look up.
Basically there's a big spreadsheet of all the text in the game. Each text entry has a name. The list redirects to the language the game is set to be played in.

Here's a pic of the spreadsheet:


The column on the left is the look-up code word. The column on the right is the text to be used in-game.


Below is the C# code in the editor.
The red text in quotes is the special look-up word.
It then checks the spreadsheet to find the actual, translated text.




That's the C# code.

Below is what it looks like in the helper system in Unity.