Re: Getting the current UI locale from C++

2013-08-29 Thread Henri Sivonen
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

Re: Getting the current UI locale from C++

2013-08-29 Thread Axel Hecht
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

Re: Getting the current UI locale from C++

2013-08-29 Thread Anne van Kesteren
On Thu, Aug 29, 2013 at 1:48 PM, Axel Hecht l...@mozilla.com wrote: I'll read up on the other thread, and I still think the approach is wrong here, sorry. You'll have to explain that more fully I think. This is the current approach. However the current approach leads to all kinds of bugs

Re: Getting the current UI locale from C++

2013-08-29 Thread Axel Hecht
On 8/29/13 3:17 PM, Anne van Kesteren wrote: On Thu, Aug 29, 2013 at 1:48 PM, Axel Hecht l...@mozilla.com wrote: I'll read up on the other thread, and I still think the approach is wrong here, sorry. You'll have to explain that more fully I think. This is the current approach. However the