How do I get the language code for the currently active UI language
pack from within Gecko C++ code in a way that works across desktop,
Android, B2G and Metro?

Searching around the code suggests that there are multiple places in
the code base approximating something like this in different ways and
the most common way they approximated is calling
nsILocaleService::getApplicationLocale() whose documentation
explicitly says that it's not what I want.

-- 
Henri Sivonen
[email protected]
http://hsivonen.iki.fi/
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to