Is possible to make a new feature that an event detects user language using browser language or GeoLocation language api?
I'm curious, some HTML5 apps come multi language system, i tried to play a game which is totally in english language, then it turned into spanish language when i started the game.
If i make an event, then if is using spanish, the value is "2", the game starts with a condition is variable "2", every text is in spanish language.
Otherwise the value is "3", every text is in french.
Also i believe the gaming is global.