I have to deploy an application under PC/linux, PC/Windows, PC/Mac and 
Nokia/maemo.

1) Under PC/linux and Nokia/maemo, qt translations files are in the dir 
pointed by:

    QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.TranslationsPath)

which is:

    /usr/share/qt4/translations

But under Windows, this call points to:

   C:\\Qt\4.4.1\translations

As I only installed PyQt, I don't have this dir. But I found they are 
located in:

    C:\Python25\Lib\site-packages\PyQt4\translations

So, what is the way to deploy them under Windows?

2) What method do you use for your own translation files? Do you let them 
as .qm files? Where do you put them, and how do you retreive them from 
your code? Or do you compile them as resources, in a python module? I 
tried this, but PyQt fails to load them...

Any advice welcome.

-- 
    Frédéric

    http://www.gbiloba.org

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to