lkml.org 
[lkml]   [1998]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Internationalizing Linux
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.099 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site