Messages in this thread |  | | Date | Sat, 18 Jan 1997 13:34:30 +0000 (GMT) | From | Philip Blundell <> | Subject | Re: Jive -> Kernel (International Linux) |
| |
On Sat, 18 Jan 1997, Bryn Paul Arnold Jones wrote:
> Why not just make it simple, and have a config option that appends a > '-D<lang>' to the cflags, and then have the printk's like this: > > printk(KERN_DEBUG, > #ifdef LANG1 > "Message that %s said %d in lang 1\n" > #else /* not in LANG1 */ > #ifdef LANG2 > "Message that %s said %d in lang 2\n" > else /* not in LANG2 */ > "Message that %s said %d in english\n" > #endif /* LANG2 */ > #endif /* LANG1 */ > , device->name, status); > > That way if the printk hasn't been translated to the perticular > language yet, the english is used, it dosn't use memory for each > additional language, and you also don't have all that messing > with loading, and searching through, lists of translations.
That would be the worst thing, because it clutters up the source code something chronic. We do _not_ want that to happen. Internationalisation belongs somewhere else.
P.
|  |