Locale files - some strings still show in English
Hi,
I've translated the Locale files (Mapping.en-US.json.js and Mapping.Infrastructure.en-US.json.js) to Norwegian, and have gotten my translated strings (ending in nb-NO) to show up in our HTML5 (2.3) viewer. However, a few strings still persist in English. I have double checked Mapping and Mapping.Infrastructure to make sure I have actually translated the strings, and I have. I get the same results in IE 11 and Firefox.
The strings that are still shown in English are shown on the bottom left after a search, for instance "Displaying", "Total", "Page", "of", "Switch to table" and the hover over texts for the arrow buttons. As far as I can see, these strings all come from the Mapping.Infrastructure file, more specifically the strings starting with "language-results..." and "language-page..."
Is this region special in any way? Is it loaded before the locale files, perhaps? Is there anywhere besides the Mapping and Mapping.Infrastructure files this text could come from?
Any help appreciated!
-
As far as I know there is only one file that those string are obtained from, so if you're sure you've saved the file it should show up.
Have you tried debugging with Fiddler to see whether you are getting an older cached version of the file that still has those english strings in it?
If you try to download the locale file directly, do you get all the correct (translated) strings? Have you deleted your browser cache? Restarted the web server?0 -
Check your configuration files. At the top of Desktop.json.js / Tablet.json.js and Handheld.json.js there is a "libraries" section. Each library entry contains URLs to its locale files, which you are probably already aware of. Does your entry for Mapping.Infrastructure have the correct locale entry?
Using Fiddler, you should be able to detect that your nb-NO files are being loaded or not, and if they're missing from configuration you simply need to add the reference.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare