Select to view content in your preferred language

Application using ArcGIS Javascript API 3.33 crashes when "lang" attribute is added on <html> tag

812
2
Jump to solution
09-14-2020 06:34 AM
RajeevRoy
Emerging Contributor

Application using ArcGIS Javascript API 3.33 crashes when "lang" attribute is added on <html> tag. It throws error in console as "dojo/parser::parse() error Error: string.substitute could not find key "loadingState" in template".  We find its no solution. We also find the link stating the same issue. We want to keep "lang" attribute on <html> tag as it is recommended in AODA requirements.

Please suggest if any solution to this problem is possible.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Adding

<html lang="en-US">

Works fine. You need to make sure you are using the proper property value.

View solution in original post

2 Replies
KoryKramer
Esri Community Moderator

This would be a better post for the ArcGIS API for JavaScript‌ space.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adding

<html lang="en-US">

Works fine. You need to make sure you are using the proper property value.