i just tried it myself, and it turns out it shows all of the LOCALES array
set in config.json ["en" and "ro"].
my browser's locale is general.useragent.locale = "en_US"
i also set a breakpoint and looked into the source code:
getAvailableLocales : function()
    {
      var locales = [];

      for (var locale in this.__locales)
      {
        if (locale != this.__defaultLocale) {
          locales.push(locale);
        }
      }

      return locales;
    },
this.__locales is ["C","en","ro"] and this.__defaultLocale = "C".
so "C" is skipped and it gives me the expected ["en","ro"].

cheers,
Gabi
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/getAvailableLocales-not-returning-all-languages-tp5894849p5894986.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to