I have tried and have not been able to figure out, other than hard-coding region information, how to get the loader to pick up the correct regional settings when the full region or autoDetectLocale are set.
For example, if we set the regional to de-DE, then not all of the settings are picked up. Basically, we found that the only way to get both the grid and editors to use the same settings was to examine the region code and, if it is one where a specific region file exists, we can set loader.regional and loader.locale to the full region. Otherwise, if the file doesn't exist, we have to just set locale to the first two characters of the region code and set regional to null.
For example:
switch (sCurrentRegion) { case 'en-AU': case 'en-CA': case 'en-IE': case 'en-NZ': case 'en-GB': // Handle missing regions loader.regional = 'en-GB'; loader.locale = 'en-GB'; break; case "fr-CH": case "pt-BR": case "sr-SR": case "zh-CN": case "zh-HK": case "zh-TW": loader.regional = sCurrentRegion; loader.locale = sCurrentRegion; break; default: // No region file, so drop the locale down to the first two chars and clear the region that we use. loader.locale = sCurrentRegion.substr(0, 2); locale.regional = null; break;}
Hello Karl,
Thank you for posting in our forums.
Regarding the editors' regional settings issue, please make sure that the "infragistics.ui.regional-i18n.js" is referenced on the page
http://help.infragistics.com/Help/NetAdvantage/jQuery/2013.1/CLR4.0/html/Using_Infragistics_Loader.html#_Ref322448594
About the locale, currently jQuery controls are shipped in the 7 languages listed in the help link below.
http://help.infragistics.com/Help/NetAdvantage/jQuery/2013.1/CLR4.0/html/Customizing_the_localization_of_NetAdvantage_for_jQuery_controls.html#_Ref320785597
Infragistics loader cannot be used to load custom localization files.
Please let me knows if I have understood correct your query and if you need further assistance.
Hope hearing from you