Hi all, I run into a problem with translations.

I use HTML format strings like "" from my own mixin to have a central place
to change formats of labels. The code looks like

var tmpString = snt.gui.fields.MSntFields.LBLRICHSTART +
this.tr("Languages") + snt.gui.fields.MSntFields.LBLRICHEND;

var lbl_lang = new qx.ui.basic.Label(tmpString);
lbl_lang.setRich(true);

when I change language in the application above label lbl_lang doesn't get
translated. 
If I strip of the LBLRICHSTART and LBLRICHEND vars everything works fine. It
also does when I include the HTML format codes in the this.tr(... ) String.

Any ideas how I can use vars for the format strings and still get
translation working?

thanks in advance for your help
-- 
View this message in context: 
http://old.nabble.com/translation-fails-for-label-widget-when-rich-set-to-true-tp26894076p26894076.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to