Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: fancasopedia on Sat 09/11/2019 09:53:30

Title: How to add second language to game?
Post by: fancasopedia on Sat 09/11/2019 09:53:30
Hello guys. I'm asking this because I don't want to put my game in danger. I'm so confused about this subject. I create a Translation first but it deleted my normal languages data. Of course I tried just for one line. :) I need to create a button. When I clicked that button, game must be English(second language that I am going to add). Whenever I restart my game it must be remember my choice. So I have dialogs,displays,gui_names etc. I think I must be use Translations but how I can control 2 languages. Give me the best practice of this problem. Thank you for your help :)

Title: Re: How to add second language to game?
Post by: eri0o on Sat 09/11/2019 10:35:51
What is normal languages data? Can you give me some screenshots to accompany your description?

Have you read here?
https://adventuregamestudio.github.io/ags-manual/Translations.html

Other relevant function is here:
https://adventuregamestudio.github.io/ags-manual/Game.html#gamechangetranslation

Remembering a choice requires writing and reading to some file so that you can read this before starting the game.
Title: Re: How to add second language to game?
Post by: fancasopedia on Sat 09/11/2019 10:46:08
Quote from: eri0o on Sat 09/11/2019 10:35:51
What is normal languages data? Can you give me some screenshots to accompany your description?

Have you read here?
https://adventuregamestudio.github.io/ags-manual/Translations.html

Other relevant function is here:
https://adventuregamestudio.github.io/ags-manual/Game.html#gamechangetranslation

Remembering a choice requires writing and reading to some file so that you can read this before starting the game.

Thanks for your help. I get it know. :) Only one function can do the trick then.