-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Jan 15, 2007 at 06:54:24PM +0100, Andrea Bolognani wrote: > On Mon, 15 Jan 2007 18:38:29 +0100 > Wouter Verhelst <[EMAIL PROTECTED]> wrote: > > > At the very least, if we're going to translate log messages, then there > > should be an easy switch to disable such translation for log messages > > alone (while not for the rest of the system). > > If we want to provide our non-English-speaking users with localized log > messages, wouldn't it be possible to create a program which translates the > logs on the fly, based on the message catalog we should write anyway?
data flow: A->B->-C->D A=program that logs (cpu temp monitor for FAN #1, FAN #2,...) B=data that is logged (current temp data set like [30,40,..]) C=formating "FAN #%d is %d" D=current log file "FAN #1 is 30c\nFAN #2 is 40c\n..." To translate D is very hard but that seems what most programs output. So D needs to exists for backwards compatibility. If B is also created as a 'data' log file, then a program can be created to use localization base upon C to produce localized logs. I suppose that a program can use a 'tee' to produce 2 logs, one standard and the other localized. A->B-C->D (the standard english one) | +->E (the localized one) But then there is an issue about how to solve problems based upon log messages. A localized message can help the user to understand the problem, but then if used to search say google, should they use the standard english one or the localized one? 100% of google results will find the english one currently. If more than one languages is used, the ability to find results is signfigantly reduced. - -K [disregard if not useful, flames not appreciated] - -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | 'under construction' | | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keysever: subkeys.pgp.net | my NPO: cfsg.org | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFrFDyv8UcC1qRZVMRAl3qAJ91I1tgeb/uDb3KM53of9quiLPX2wCfbPre whgAiqFMuScNWdRCZ/qBjXQ= =6Kyy -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]