Measurement Tool in Alternate Languages

355
1
02-02-2012 09:09 AM
JonathanBurns
New Contributor
Hello,

I'm working on a project that involves changing the language that the measurement tool displays from English to French, depending on the users selection. I'm not having any great strides in this. Is there any easy way to do this? I've discussed with my colleagues maybe using some type of inheritance or trying to catch the button event.

Any answers are appreciated,

Jon Burns
0 Kudos
1 Reply
JianHuang
Occasional Contributor III
JavaScript API supports internationalization with many different languages. All you need to do is to specify the locale in dojo configure when importing scripts, such as:
djConfig="parseOnLoad:true, locale: 'fr'"
0 Kudos