yes, we can edit the files but have to repeat the same code of calling
function call tr() in all my files. Anyways, i got the point.

Now, that my internationalization feature has been added, I get an error
when I try to change the language. This error appears only the 1st time.
After I have changed the lang, I don't get the error (only the 1st time I
switch the language). Its in Label.js file saying that content is null. I
traced back the code and its :

//Label.js

_onChangeLocale : qx.core.Variant.select("qx.dynamicLocaleSwitch",
{
 "on" : function(e)
 {
 var content = this.getContent();
 if (content.translate) {                     //Error line
 this.setContent(content.translate());
 }
 },

I have not used any label with a null content. So, not sure why this error.

regards
Amit


Sami Khaled wrote:
> 
> Hi to all
> 
> thron7-2 saying the right
> 
> but you can edit your .po translation files manually
> with ant text editor and add new entries you want
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Internationalization-not-working-tp1657776p1663788.html
Sent from the qooxdoo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to