i18n parametrization

Greg Ward greg-hg at gerg.ca
Mon Apr 6 09:04:57 CDT 2009


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.

Greg


More information about the Mercurial-devel mailing list