[ 4 posts ]

Khenemura

  • Username: Khenemura
  • Joined: Thu Jul 19, 2012 3:59 am
  • Posts: 2
  • Offline
  • Profile

loader doesnt load language files Yui 3.4.1 >

Post Posted: Thu Jul 19, 2012 4:30 am
+0-
Hello
I'm using my own yui3 modules, and per module i set the language settings, like

YUI.add("testmodule", function (Y) {

Y.extend(MyModule, Y.Panel, {
...blabla
});

Y.TESTproject.MyModule= MyModule;
}, "3.4.1", { requires: ["classnamemanager", "panel", ...], skinnable: true, lang : ["nl","en"] });

The loader finds my language files. It works fine in 3.4.1

But when i use yui3.5.1 or later, the language files arent loaded automatically.
I have to set per custom module my language settings in the YUI_CONFIG.
It looks like the "lang" settings are overwritten or something when the loader loads my custom modules. The "skinnable" setting works fine

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: loader doesnt load language files Yui 3.4.1 >

Post Posted: Thu Jul 19, 2012 5:56 am
+0-
Try using 3.6.0pr4, that should have been fixed in the 3.6.0 sprints.

Khenemura

  • Username: Khenemura
  • Joined: Thu Jul 19, 2012 3:59 am
  • Posts: 2
  • Offline
  • Profile

Re: loader doesnt load language files Yui 3.4.1 >

Post Posted: Thu Jul 19, 2012 6:18 am
+0-
Thx for the quick reply!

But I already tried that.
I still have to set per module my language settings

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: loader doesnt load language files Yui 3.4.1 >

Post Posted: Thu Jul 19, 2012 6:25 am
+0-
I have dozens of tests in 3.6.0 for this and the all pass, can you please file a ticket with a repro case so that I can look into it and add a test in case I missed something?
  [ 4 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum