Hi again,

I'm fresh out of ideas :(
Could you please post a small code snippet so we can reproduce the 
problem? BTW, which version of qooxdoo are you using?

Regards,
Daniel

Qoodary Doo schrieb:
> Hi Stefan,
> 
> thanks for your help.
> 
> Yes, first step was adding the locales in config.json
> "LOCALES"      : [ "en", "fr", "de" ],
> 
> Then I prepared all strings with this.tr <http://this.tr>("myEnglishString")
> The I did generate.py /translate
> After that I edit the de.po file and translate all strings.
> After that I did generate.py /source again.
> 
> I think the translation works, because after translation QX recognize my 
> German browser and shows all in German.
> But for future I want to switch the Language in a menu.
> So I try with;
> 
>  qx.locale.Manager.getInstance().setLocale('en'); 
> 
> to switch to English.
> The strange thing is, that only one menu "Search" changes. Nothing else.
> 
> best regards
> Hansjoerg
> 
> 
> 2010/2/24 Stefan Volbers <[email protected] <mailto:[email protected]>>
> 
>     Hi Hansjoerg,
> 
>     I must confess I haven't really tried the localization, but one thing
>     comes to my mind:
>     Did you add the 'en' locale in your application's config.json before
>     generating? I believe this is mandatory before you can select another
>     locale.
> 
>     HTH,
> 
>     greetings
>     Stefan
> 
>     On 24.02.2010 16:04, Qoodary wrote:
>      >
>      > Hi list,
>      > I have a little menu and just a label for testing.
>      > All strings are made with tr().
>      > After that, I did generate.py /translate.
>      > The po files are created and I have translated the de.po file.
>      > After refresh the page all is in German language now.
>      >
>      > But if I try to change the language to English and add:
>      >
>      > qx.locale.Manager.getInstance().setLocale('en');
>      >
>      > var Welcomelabel = new qx.ui.basic.Label(this.tr
>     <http://this.tr>("Welcome to the first
>      > App"));
>      > doc.add(Welcomelabel);
>      >
>      > nothing happens: All will stay in German.
>      > Except the second menu "Suchen" will change to "Search" but
>     nothing else.
>      >
>      > I am a little bit confused about that.
>      > Can anybody help me?
>      >
>      > thanks a lot
>      > best regards
>      > Hansjoerg
>      >
> 
>     
> ------------------------------------------------------------------------------
>     Download Intel&#174; Parallel Studio Eval
>     Try the new software tools for yourself. Speed compiling, find bugs
>     proactively, and fine-tune applications for parallel performance.
>     See why Intel Parallel Studio got high marks during beta.
>     http://p.sf.net/sfu/intel-sw-dev
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to