Hello List,

i got an application with translation.

I am doing this...

    gettext.bindtextdomain(APP_NAME, LOCALE_DIR)
    gettext.textdomain(APP_NAME)

But my problem is, that I do different packaging types like source, deb
and rpm. In these different cases, the location of the mo file is not
the same for the different packages.

What is the recommended way to handle this?
Can I provide more than one locale dirs?
Should I change the code, for each packaging type?
Should I set an environment variable that contains the correct locales dir?

Thanks a lot and kind regards
Cornelius



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to