Windows Creating executable with an option to choose game language

dzian

Member
Hello,

Say a game supports multiple languages, is there any way to create executable with an option to show available languages of game? And make player choose language during installization in windows platform? Thank you.
 
You can create global variables and choose the respective language later:

GML:
if global.language = "EN"
{
    global.lang[0] = "Hi";
    global.lang[1] = "How are you?";
    global.lang[2] = "I'm fine!";
}

if global.language = "ES"
{
    global.lang[0] = "Hola!";
    global.lang[1] = "Como tu estás?";
    global.lang[2] = "No hablo spanõl";
}
 
Top