You are going to use the newLocalizedVar somewhere, right? It's better to
use the this.tr() when you are going to display them. No need to translate
them before that.

On Thu, Nov 25, 2010 at 1:13 PM, Andy Fuchs <[email protected]> wrote:

>
> Is there a built-in way to localize string-variables?
> Reason:
> - I aquire some strings from a HTTP-request (could be anything)
> - Now I loop through the found items
>
> for (var idx = 0, len = founditems.length; idx < len; idx++)
>    ...
>    newLocalizedVar = this.tr(founditems[idx])
>    ...
>
>
> is this possible, or do I need to do this by myself?
>
> thx
>
> andy
>
>
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to