is there a i18n version hg ?

Matt Mackall mpm at
Mon Mar 3 17:51:39 CST 2008

On Mon, Mar 03, 2008 at 10:25:38PM -0200, Martin Marques wrote:
> Matt Mackall escribi?:
> >On Mon, Mar 03, 2008 at 06:19:28PM -0200, Martin Marques wrote:
> >>Thomas Arendsen Hein escribi?:
> >>>* ibn at <ibn at> [20080227 17:33]:
> >>>>so in odd command line one can display messages in  other languages 
> >>>>other than English.
> >>>Sorry, no. Mercurial is prepared to be translated, but there has
> >>>only been a dummy transkation to pig latin.
> >>>
> >>>But the wiki contains tutorials in many languages.
> >>Tutorials are great, but even better is to have the output of *hg help* 
> >>in your local language. Same for returned messages.
> >>
> >>Is there any plan on adding i18n in Milestone 2.0, or maybe before, say 
> >>1.1?
> >
> >Yes, the plan is to wait for translations to appear.
> >
> >Help messages are slightly tricky as they're docstrings and as such
> >are not easy to mark as translatable for the standard tools.
> I would be willing to start the spanish translation it there is a 
> startard procedure for it.
> Any docs?

Google for "python l10n" for a start. We've simply marked all the
translatable strings with _ so gettext does its thing. Feel free to
start a wiki page explaining how to do it if you make any progress.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial mailing list