[PyKDE] eric3 and translations for qt4 programs

Andreas Pakulat apaku at gmx.de
Wed Jun 28 22:13:45 BST 2006


On 28.06.06 19:28:44, Detlev Offenbach wrote:
> On Wednesday 28 June 2006 12:55, Andreas Pakulat wrote:
> > 2. I think the translation-page should have an option to add existing
> > translation files. I'd like to have my translation files under
> > <project-root>/ts and not under <project-root>/<mainpackage>.
> 
> Open the Project Properties dialog and enter in the field Translation Prefix 
> whatever prefix you like. E,g. ts/lang would result in a file ts/lang_de.ts 
> if you add de to the list of translations. If there is already such a file, 
> it is accessible and part of the project after the add.

Just tried that and I wonder wether it makes sense to remove the "_"
when the <Name> element doesn't have a content. I'd like to have

ts/de.ts

instead of 

ts/xpathevaluator_de.ts

And the last thing: I'd also like to be able to change the output
directory for the .qm file. I've setup my application to be completely
contained in a python egg, which means I have to put the .qm-files into
the application package. But I don't want the translations to be under
the application package...

If neither of the two will make it into 3.9.x, maybe you can do
something like that for eric4.

Andreas

-- 
Look afar and see the end from the beginning.




More information about the PyQt mailing list