Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hello List, after testing a lot I can say; now it works fine But I cannot say what was the problem :-) thanks a lot regards Hansjoerg 2010/2/24 Qoodary Doo > sorry I forgot to tell that I am using Qooxdoo 1.0-beta1 > > regards > Hansjoerg > > 2010/2/24 Qoodary Doo > > Hi Daniel, >> >> This i

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
sorry I forgot to tell that I am using Qooxdoo 1.0-beta1 regards Hansjoerg 2010/2/24 Qoodary Doo > Hi Daniel, > > This is the some code of my application.js > > In the moment there is only a menu (which is nearly same as from > demobrowser) and the Welcome Label > > Strange thing is that only t

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hi Daniel, This is the some code of my application.js In the moment there is only a menu (which is nearly same as from demobrowser) and the Welcome Label Strange thing is that only the menu "Search" is translated from German to English. All other stuff remains in German. ==>var searchMenu = new

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Daniel Wagner
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 >

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
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("myEnglishString") The I did generate.py /translate After that I edit the de.po file and translate all strings. After that I did

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Stefan Volbers
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,

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hi Daniel, thanks a lot for your help. Yes I did this several times. By the way: If I look into Nable I cannot see your reply and post. Also If I refresh the browser. But I can see it in may email. best regards Hansjoerg 2010/2/24 Daniel Wagner > Hi Hansjoerg, > > did you run generate.py sour

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Daniel Wagner
Hi Hansjoerg, did you run generate.py source again after adding the translation for "Welcome to the first App" to the .po file? Regards, Daniel Qoodary schrieb: > 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 /tra

[qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary
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