Am 19.08.10 18:11, schrieb Francis Russell: > In anticipation of the new man page stuff making it into the next > monotone release and into Debian, I started trying to get the build > scripts to generate man pages for all the supported languages. > Unfortunately, trying to do this reliably is a little harder than I thought. > > For example, setting LANG to anything other than one of the values > listed in `locale -a` will still produce English output. However, I can > get German output by setting LANGUAGE=de, but only if LANG isn't set to > C or POSIX and depending on the system, there may be no other locales > available. This behaviour is (mostly) explained in the gettext manual. > > In other words, on a system where other locales may not have been > enabled (such as an automated build environment), I can't seem to find a > way of reliably getting monotone to output the manpages for different > languages.
Right, this is unfortunately also what my research brought up. There is a very old debian bug <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=114461> from Zack which documents a related issue, the inability to define the location of message catalogues on runtime, which I tried to get working within the monotone build setup. The problem hasn't been resolved until today :( Thomas. -- GPG-Key 0x160D1092 | [email protected] | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Monotone-debian mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-debian
