Hello all, I was wondering... How would I go about making a language translator? I checked the tutorial section and I didn't see anything there. Could someone please help me figure out the basics of how it would work? Thanks.
What do you mean by language translator?
Translating anything like translate.google.com or just having an option to set the different texts in your game to different languages?
Develop games in your browser. Powerful, performant & highly capable.
Great question. I would like to be able to translate anything like translate.google.com.
If that's too difficult, then how would I create an option to set the different texts in your game to different languages instead? Thanks.
Bump.
Well, you can have a global variable that specifies the language you want. Presumably you'd have an options screen in your game where the user can change it. Then in events you just check what language was chosen when you set text.
global number language = "english" +--------------------+ | language="english" | set text to "The good blue cat." +--------------------+ +--------------------+ | language="spanish" | set text to "El gato azul diablo." +--------------------+[/code:2y30xisx]
JLoc
Thanks.