Broken i18n in windows. (ticket #925)

Specific support for Deluge on Microsoft Windows OS
Post Reply
alex3d

Broken i18n in windows. (ticket #925)

Post by alex3d »

I've found solution for ticket #925 in this thread:
http://old.nabble.com/PyGTK-localisatio ... 65426.html

Briefly:
To fix #925 we should add file libi18n.py and in gtkui.py before gettext initialization
add following code:

Code: Select all

if sys.platform == 'win32':
    import libi18n
    libi18n.fix_locale()
    del libi18n
Post Reply