Advanced Gamemaker
Use different languages (localization) [Game Maker Studio 2 | Advanced]
The idea is quite simple. You want to use different languages for your game to reach a bigger audience. But this isn’t as easy it as it seems.
So what can you do? You can locally create data structures like an array or ds grids/lists to hotswap to the currently used language. The downsize is that you have to send the whole project for spellchecking/correcting by others.
What you can do is have an exel and convert it into a .csv, but this works only for the latin alphabet because the format doesn’t include cyrillic or other characters. So, the easiest and most used idea is to use .ini files (basically a .txt format) to load the correct languages with the correct strings to your game. This you can do in one single .ini or several language .inis which have the same structure but different translation on these data points.
To achieve the thing you see on the screen you need Scribble:
https://youtu.be/-tnq6zo958M
And for dialog Ui you can utalize the new 9-silce feature:
https://youtu.be/ivtutJDAIdI
If you are unsure how a .ini works, I got you covered:
https://youtu.be/r6N_mAmpT7s
Flags used: CC3by CharlesGabriel
https://opengameart.org/content/world-flag-icons
▶ Gamemaker Studio: https://www.yoyogames.com/get
▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
♥ My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
♥ My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
♥ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
Instangram: https://www.instagram.com/1upindie
Twitter: https://twitter.com/1upIndie
Discord: https://discord.gg/gvr98nb
Add comment