bugMyPaint - Bugs: bug #21229, Alternative to...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #21229: Alternative to locale.bindtextdomain for Win32?

Submitted by:  Bakhtiar <tumagonx>
Submitted on:  Sat Oct 26 12:03:55 2013  
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: Planned Release: None
Operating System: Windows

Sat Oct 26 12:03:55 2013, original submission:

it was POSIX only: http://docs.python.org/release/2.7/library/locale.html


if sys.platform == 'win32':
os.environ['LANG'] = locale.getdefaultlocale()[0]

# Internationalization voodoo
# https://bugzilla.gnome.org/show_bug.cgi?id=574520#c26
#locale.setlocale(locale.LC_ALL, '') #needed?
logger.debug("getlocale(): %r", locale.getlocale())
logger.debug("localepath: %r", localepath)
logger.debug("localepath_brushlib: %r", localepath_brushlib)

# Low-level bindtextdomain, required for GtkBuilder stuff.
#locale.bindtextdomain("mypaint", localepath)
#locale.bindtextdomain("libmypaint", localepath_brushlib)

Bakhtiar <tumagonx>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by tumagonx (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup