AnsweredAssumed Answered

Twitter Timeline Template - dojo locale issues

Question asked by samlarsen on Jun 1, 2012
Latest reply on Aug 26, 2012 by amayamateos
I have attempted to create the twitter timeline template for use in the UK and we are running into issues in all versions of Internet Explorer (Firefox and Chrome have no problem) which relate to the default dojo locale setting of 'en-gb'

The following image demonstrates the error in the arcgis.com hosted version IE9:
[ATTACH=CONFIG]14853[/ATTACH]

Dojo is looking for an en-gb localisation template.

I have downloaded the application and attempted to fix this issue by:
1) explicitly setting the dojoConfig.locale setting to 'en', 'en-us', 'en-gb' but to no avail
2) by adding 'en' & 'en-gb' folders to the ./nls/ directory that is shipped with the application and copying the main template.js file into both of those directories
[ATTACH=CONFIG]14854[/ATTACH]

Has anyone outside the US used the application in a scenario where the non-default localisation setting is used?
I don't necessarily need the application to be localised - i am happy with US english but Dojo picks up the en-gb setting from browsers in the UK by default.

Attachments

Outcomes