in a previous version, we had automatic translation of label -- qxt
automatically wrapped label-like properties in this.tr(...).
Unfortunately, as far as I recall, the rewritten engine has not
re-implemented this behavior, although that is on the agenda. Siarhei,
can you confirm?
Cheers,
Christian
2009/11/2 Cajus Pollmeier <ca...@naasa.net>:
> Hi,
>
> I'm currently playing around with qxtransformer and found it really useful
> for future projects. Since I'm doing internationalized applications, I was
> looking for a possibility of translating labels, etc. but couldn't find docs
> about it.
>
> Is it possible to add translation requests to the xml files?
>
> Thanks,
> Cajus
>
in jsqt, i have widget attributes that emit "String"s or
"TranslatableString"s. the decision is hard-coded. it's not really a
problem, because if you don't provide any translation, the string inside
this.tr() is returned intact anyway.
oh, to get the this.tr function, you need the translation mixin included.
see qooxdoo's i18n page.
best,
burak