I am wondering how to get all localizations of a string.
For example, lets say my extension has an xyz.properties file localized
for en-US, de-DE and fr-FR. Then from Javascript, I'd like to get the
english, german and french translations of a string in xyz.properties,
regardless of the current locale.
One guess I had at how to do this was to have multiple stringbundle
elements - each with a "src" attribute corresponding to a locale, eg:
"chrome://myapp/locale/de-DE/xyz.properties"
But that url causes nsiStringBundle.GetStringFromName to throw an
NS_ERROR_UNEXPECTED exception.
I'm out of ideas - any pointers appreciated.
Leni.