> > Hello Gabi > > I have set in my config.json the variable LOCALES to ["en", "de"]. > If I set the string general.useragent.locale to "en" getAvailableLocales > returns "en", if I set general.useragent.locale to "de" it returns "de". > The same happens also within the feedreader from the current 1.3-sdk > download.
The Feedreader is special, in that it uses a specific feature that makes locale data available through *parts*. The corresponding config.json entry is packages/i18n-with-boot : false This results in the configured locales (number of 8 in the case of Feedreader) to be generated as individual qooxdoo parts, which are *not loaded* by default. Only the current browser locale is directly loaded when the application starts. The other locale parts are only loaded on request, namely when the user switches to the corresponding language in the "Preferences" dialog. getAvailableLocales will only return those locales that have been already loaded. If your application uses the same config option, it will show the same behavior. In that case you have to explicitly load the desired locale part with qx.io.PartLoader, and then you can see it with getAvailableLocales. T. ------------------------------------------------------------------------------ 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
