[Bug 3806] New: Disable translations during runtime

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Feb 4 21:25:08 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3806

          Priority: normal
            Bug ID: 3806
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Disable translations during runtime
          Severity: feature
    Classification: Unclassified
                OS: Linux
          Reporter: thomas at intevation.de
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5
         Component: Mercurial
           Product: Mercurial

Related to issue #3536 (Disabling localizations when building):

There should be a way to disable gettext when running Mercurial, e.g. by
setting an environment variable (HGDISABLENLS? HGNOGETTEXT?), so one could
disable translations when running Mercurial from a distribution package or when
only some users on the system want to disable translations.

HGPLAIN disables too much.

Using LANG here is not good either, because e.g. the GUI commit editor or merge
tool should run translated.

Patch would be trivial (two lines code, some lines documentation), but
- is this wanted in core?
- what should the name of the variable be?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list