But that would require that all possible kernel messages are available in
every language. It would probably be better to have a automagically
created message database that could default a given message to English if
it's not available in Timbucktooise.
IE a program that is run at compile time that would create prink_strings.h
like this:
#define FD_DISK_CHANGE_DETECTED "Yo dis be diff'd"
#define FD_DISK_SCREWED "Your disk is screwed" /* noone has translated
that message yet */
> To get more clever, we could do it at run-time. Have a universal "text
> constants heap" somewhere in the kernel/ directory, say a new file
> called "language.c":
>
[snip details]
I don't know how much kernel bloat that'd cause, but I think that
defaulting to English in the absence of a translation for a given string
might be harder to do well.
-- Mike Bristow: mike@shivan.demon.co.uk The best UK M:tG tourney page: http://www.shivan.demon.co.uk/tourney/ My public PGP key: http://www.shivan.demon.co.uk/pgp/pgp.txt