开发者

Qooxdoo - available locales not present

The statement

qx.locale.Manager.ge开发者_StackOverflow社区tInstance().getAvailableLocales()

returns only de if I set LOCALES to "en", "de", or nothing if I set LOCALES in config.json to "en" only. What am I doing wrong?


  1. You have to re-run generate.py if you change the value of LOCALES in config.json. Did you do that?!
  2. Are you using the packages/i18n-with-boot key in the configuration of your app? If it is set to false, locale data will be generated in dedicated parts which have to be loaded explicitly with qx.io.PartLoader. getAvailableLocales will only return those locales that have been loaded.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜