Deep in the dungeons of Mount nsChromeRegistryChrome[0], lies an ancient line 
of code that in the Days Of Old allowed knowledgeable spellcasters to select 
the locale of the user interface straight from the command line - "uiLocale"[1].

Since then, many things have changed, and folks forgot about this ancient 
magic, while at the same time added more and more ways to get the UI locale 
that did not take this command line parameter into account.

Today, we have 13+ consecutive, and slightly incompatible, ways of selecting 
the user requested locale[2]. 12 of them ignore uiLocale, which makes me 
believe that if someone would try to use it they'd end up with an unusable 
patchwork of locales.

Yours truly intends to craft one method to rule them all and in the 
mozilla::intl::LocaleService bind them, but he'd also like to avoid migrating 
that ancient command line spell and let it sail to Valinor.

Is there anyone still using it? Is there any reason to keep it?

Thanks,
zb.


[0] 
http://searchfox.org/mozilla-central/source/chrome/nsChromeRegistryChrome.cpp#42
[1] 
http://searchfox.org/mozilla-central/source/chrome/nsChromeRegistryChrome.cpp#339
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1344445#c4
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to