Best way to handle languages right now?

Get help using Construct 2

Post » Mon Feb 25, 2013 6:28 pm

Hello. I was wondering, as of today, which method should be more appropriate for handling different game languages that also works on exporters like CocoonJs?

I was going to go with the Load Json plugin, but since that plugin is 1 year old, I thought maybe Construct 2 has some new feature like that now. Thanks.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Wed Feb 27, 2013 4:29 pm

A little bump.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Wed Feb 27, 2013 6:01 pm

What about using dictionary?

Can export/import that as a json format if you need too, or just have several dictionaries in your project.

Could also do this with an XY array. X is the variations of language and Y the options. So you can do something like Get X(langEng) and Y(Option4).labithiotis2013-02-27 18:01:44
B
24
S
11
G
5
Posts: 140
Reputation: 5,004

Post » Wed Feb 27, 2013 11:30 pm

I'll go with dictionary for now as it seems to work fine even in CocoonJs, although I imagine that using a method with a file like xml would be more convenient, but I don't have a lot of text anyway.
Thanks.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342


Return to How do I....?

Who is online

Users browsing this forum: MarkThomas and 0 guests