[Idea] Navigation Language

Discussion and feedback on Construct 2

Post » Fri Jul 13, 2012 4:06 am

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.

Joannesalfa2012-07-13 04:06:48
B
96
S
33
G
29
Posts: 3,137
Reputation: 28,132

Post » Fri Jul 13, 2012 4:31 pm

You can already use the browser.langage expression. (check the manual entry).

From there you can use a condition like "Compare two values" on start of layout, or something like that.

That's what I had done in one of my first games "Space Jinx", you can find a link to the capx in the how do I FAQ.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
271
S
99
G
70
Posts: 7,267
Reputation: 75,769

Post » Fri Jul 13, 2012 9:13 pm

[QUOTE=Kyatric] You can already use the browser.langage expression. (check the manual entry).

From there you can use a condition like "Compare two values" on start of layout, or something like that.

That's what I had done in one of my first games "Space Jinx", you can find a link to the capx in the how do I FAQ.[/QUOTE]

Oops, i didn't notice about browser expression, anyways thank you!
B
96
S
33
G
29
Posts: 3,137
Reputation: 28,132


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests