Is it possible for MV to detect system language(in whatever system it runs, be it Mac, windows or linux) and set a standard variable(those inside the game) according to it?
Example:
If system language is portuguese. Variable = 2. Else(for every other language) its = 1
I will not port my game to browser, so probably it could be a javascript that works on chrome only(since our games run in a chromium, no matter the system)
Also, how to i check that in console? Couldn't find it >_<
Ok, so it shows here "pt-br", so it must be working.
Now, when i tried to set it using $gameVariables.setValue(9,1); for english and $gameVariables.setValue(9,2); for portuguese it didn't worked(i changed ??? to en-us )
Also, could you tell me how to do this only once? Like, only when the player open the game FOR THE VERY FIRST TIME it sets the language. Every other time he opens, the plugin doesn't do anything.
Perfect! Thank you so much!