[PATCH 00 of 17] Mass marking of strings for translation

Bastian Doetsch bastian.doetsch at gmx.de
Tue Aug 26 12:31:46 CDT 2008


Am Dienstag, den 26.08.2008, 19:24 +0200 schrieb Martin Geisler:

> Marek Kubica <marek at xivilization.net> writes:
> 
> > Hi,
> >
> > On Tue, 26 Aug 2008 15:51:28 +0000
> > Bastian Doetsch <bastian.doetsch at gmx.de> wrote:
> >
> >> I wonder, if there'll be an option to get a deterministic output
> >> that isn't dependent on the users locale. As we use the mercurial
> >> output for parsing in the MercurialEclipse plug-in, I wonder how
> >> that would work with internationalized output of mercurial. Are
> >> there possibilities for windows, linux and macs to give parameters
> >> to mercurial to always use english?
> >
> > For Linux there is always ``LC_ALL=C your_command`` which is
> > supposed to work in all programs that use gettext.
> 
> Yes, that is indeed the right way to lock down the output. The
> mercurial tests are already run with LANG=C to make the output
> repeatable. Gettext searches the environment variables LANGUAGE,
> LC_ALL, LC_MESSAGES, adn LANG (in that order) for the locale.


As my last message didn't reach the list: This probably doesn't work for
windows, does it? So how do you handle testing on windows? I'd hate to
have separate code for each platform mercurial runs on :-(.

Best regards,
Bastian



> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20080826/e5b34946/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080826/e5b34946/attachment.pgp 


More information about the Mercurial-devel mailing list