Hi Henri, On Thu, 29 Aug 2013 10:12:05 +0300, Henri Sivonen wrote:
> 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? A c++ version of could work: let chrome = Cc["@mozilla.org/chrome/chrome-registry;1"] .getService(Ci.nsIXULChromeRegistry) .QueryInterface(Ci.nsIToolkitChromeRegistry); let locale = chrome.getSelectedLocale("global") Fabrice _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform