On 8/29/13 12:03 PM, Henri Sivonen wrote:
On Thu, Aug 29, 2013 at 10:12 AM, Henri Sivonen <hsivo...@hsivonen.fi> 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?

On IRC, I was pointed to
https://mxr.mozilla.org/comm-central/source/mozilla/editor/composer/src/nsEditorSpellCheck.cpp#762

Does that mechanism work on B2G and Android?


I'll read up on the other thread, and I still think the approach is wrong here, sorry.

But yes, getting the selected locale for the global package is what I try to keep working at cost, notably on Android, where we're already doing stunts to do that.

Axel
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to