Game
5 Minutes to Survive The Zombies
6 years ago

5 Minutes to Survive The Zombies | Behind the Development #1 - Translation system and how it works.


5d0913bb7c68e.png

Hello!

You are probably all wondering how our translation system works in 5 Minutes to Survive The Zombies, so I will make a small presentation with a tutorial. Certainly, special thanks are due to Lean Localization, which has basically laid the whole foundation. I recommend it highly. So… let’s start the explanation.

Everything begins in the game code:

5d0913bd7f8d6.png

So, as you can see in the screenshot above, there is a simple loop that checks if translation file name has brackets with a language in it (for ex. “(English)”, “(Polish)”, so it should always look like (Language_Here)). Also, it checks the actual Unity scene, so you better prepare files for every scene, and every file needs to have a “.txt” extension. The best solution is presented down below.

Data0 - Game Files:

5d0913be84c05.png

The scheme is: “(LANGUAGE) SCENE NAME”.txt. I have already created an example file called “(Pirate) Main Menu.txt” for the purpose of this tutorial. Unfortunately, our game can only allow for one translation at a time in the options menu. In game, just click on Other to change it and type anything in brackets (it doesn’t matter for now). There is another way of course, you can for ex. change an existing language file (though modifying the game’s files is not recommended).

Main Menu - Change Language to Other

5d0913bf8bac7.png

Note: if you change language before changing the text files, English will be loaded.
Let’s do it now. Let’s change the text in (Pirate) MainMenu.txt, but first we need to copy everything from “(English) MainMenu.txt” file

5d0913c06c34e.png
5d0913c103e00.png

As you can see, I changed “TitleButton1” and “DescriptionButton1” from “NEW GAME” and “SURVIVE, AGAIN” to “START THE SHIPO”, “ARGGH!” (that’s normal, isn’t it?). After that, all you need to do is change your language in the Options menu and voilà!

English language version:

5d0913c1937c7.png

Pirate language version (text is a little cut off):

5d0913c343783.png

And here is one of the default languages, Polish - which looks like this:

5d0913c4bdfc7.png

~@TheMatiaz0



0 comments

Loading...

Next up

Wishlist Telegraphist 1920: Beats of War now on Steam a rhythm historical game set in 1920, with a morse code as protagonist (and telegraphist of course!):

https://store.steampowered.com/app/2584510/Telegraphist_1920_Bea…

It's a complete remake of hackathon (24 hours) version!

Segregating trash is your last chance. Survive in the tower and race against fog of pollution as lemur armed with vacuum cleaner...? huh?

This is... Trasher. Available now on Game Jolt!

https://gamejolt.com/games/trasher/929065

Release Date: 08.06.2019! More info in the future devlog. Join our social media: - Game Discord: https://discord.gg/nAJzKKq - Our Twitter: https://twitter.com/cyberevolver - Our Facebook: https://www.facebook.com/CyberevolverStudios

5 Minutes to Survive The Zombies | Devlog #2 - Code cleanups and some redesigns!

4A 30 69 6E 20 55 35 21 0A 0A 43 30 6D 69 6E 67 20 53 30 30 6E 2E

New game thumbnail - many thanks to @w4ty and @Alias0 !

Have you ever wondered - what's going on inside your cat's head? this co-op horror physics-based game has the answer!

Play now: https://gamejolt.com/games/cathead/873124

Created during 48 hours for Global Game Jam '24.

I made an update with @Cyberevolver_Studios to our old game from 1920 Jam (Polish game-jam) by adding English and other small improvements. Along with that, we decided to upload the game on the Game Jolt platform:

https://gamejolt.com/games/red_plague/597153

Immerse yourself into the world of... CHECKERS. The real question is... are you ready to check this game out?

https://gamejolt.com/games/Light_Checkers/579087

Thanks to Light2D asset, we brought... SHADOWS and improved lighting system to the game. More info in the upcoming devlog #5. Also - a playable version of 5MtSTZ is coming soon, so remember to follow our project on Game Jolt or the Itchio website.