Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Digital Mosaic Games on Wed 24/05/2017 13:56:23

Title: Changing Language during Game
Post by: Digital Mosaic Games on Wed 24/05/2017 13:56:23
Hello,

Is it possible to change the language during the game in the option menu?
And if not is it possible to change the language in the installation setup of the game?
I want my game as an english and a german version.
Title: Re: Changing Language during Game
Post by: CrashPL on Wed 24/05/2017 14:35:51
Yes, you can use the static function ChangeTranslation

static bool Game.ChangeTranslation(string newTranslationName)

if (Game.ChangeTranslation("Polish") == true) {
    Display("Now using Polish translation!");
} else {
    Display("Unable to change the translation!");
}


There are also other helpful functions, like IsTranslationAvailable and TranslationFilename, if you want to change translations while the game is running. It's all in the manual. ;)
Title: Re: Changing Language during Game
Post by: Digital Mosaic Games on Wed 24/05/2017 15:29:39
Thank you very much and warm regards CrashPL!