Re: Internationalizing Linux

Patrick Kursawe (kursawe@zaphod.anachem.ruhr-uni-bochum.de)
Fri, 11 Dec 1998 09:31:17 +0100 (MET)


Hi,

On 10 Dec 1998, Matthias Urlichs wrote:

> You're forgetting that this is The Kernel. It needs to be able to run
> without a file system, and definitely without file system access at printk
> time.

No, not totally... the Amiga locale system actually requires a hard-coded
table of strings, for the case that the catalog files can't be found.

> hook a loadable module into printk, hash the English string (or just walk
> down the characters if you're lazy), find the translation in a table.

I'm not familiar to kernel programming ("hey, why is he on this list,
then?") but this is quite what I had in mind. Maybe with a hash table,
maybe with string ID numbers (simple array access instead of hashing,
though harder to maintain, I think).

Bye, Patrick

-- 
Patrick Kursawe       Patrick.Kursawe@ruhr-uni-bochum.de
Hohenzollernstr. 69   http://www.anachem.ruhr-uni-bochum.de/patrick
45128 Essen           saft://zaphod.anachem.ruhr-uni-bochum.de/kursawe
Who needs windows and gates in a world without walls and fences?

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/