Localization system
I began searching for options to implement localization for the game, and tested some Unity plugins; but all of them seemed too complex for the relatively small amount of text I plan to have in the game (at least for now).
So, I decided to roll my own system, which uses a small JSON file containing a list of translation units. Each translation unity is an entry in the file (as seen in the image above) with an ID used in the Unity editor and/or code, and the translation(s) for each language (for now, only Spanish and English).
Some entries have several translations; they are meant for random selection during runtime; for example, when the inhabitants ask for your help, the file lists four possible texts associated with that situation.
It's simple but functional; perhaps when I finish the project I'll make a package to share with other people that could benefit from it.
Get Dis Pontibus 2
Dis Pontibus 2
A puzzle game about helping people connect their islands
Status | In development |
Author | Marcos Donnantuoni |
Genre | Puzzle |
Tags | 3D, Difficult, Procedural Generation, Singleplayer |
More posts
- Preparing for publishingMay 20, 2022
- ModellingNov 26, 2021
- Enemy mode?Nov 12, 2021
- Locking puzzlesOct 30, 2021
- On shapesOct 08, 2021
- MegalithsSep 18, 2021
- Input queuesSep 11, 2021
- Extending player freedomAug 30, 2021
- Procedurally sculpted meshesAug 16, 2021
- Fog and less gated navigationAug 07, 2021
Leave a comment
Log in with itch.io to leave a comment.