i18n parametrization
Matt Mackall
mpm at selenic.com
Mon Apr 6 16:34:56 UTC 2009
On Mon, 2009-04-06 at 10:04 -0400, Greg Ward wrote:
> On Mon, Apr 6, 2009 at 9:36 AM, Diego Oliveira <lokimad at gmail.com> wrote:
> > Hello,
> >
> > I'm working on a i18n pt_BR translation and I realize that, by default, all
> > my system is in English, and not only mine, it is a common sense in my
> > company to make such a environment. I dont know if is there any option that
> > one cam put in the hgrc to use a specific i18n translation. If don't, cam
> > one see any problems doing so?
>
> Does
>
> LANG=pt_BR hg ...
>
> work? If so, you could just write a one-line wrapper script:
>
> #!/bin/sh
> LANG=pt_BR exec /usr/bin/hg "$@"
>
> and never mind modifying .hgrc.
He actually wants English. The easy way is LANG= hg (ie clearing out the
language). It would be nice if we added an environment variable to
disable languages in hg as there's a performance hit.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list