Subject: Re: language support
To: Martin Ammermueller <email@example.com>
From: Tim Rightnour <firstname.lastname@example.org>
Date: 03/12/2001 11:13:59
On 11-Mar-01 Martin Ammermueller wrote:
> Where can i get the messages? Copying it from the screen
> down to paper by hand is _not_ really an option. ;)
The sysinst messages are pretty easy to deal with. If you check out the source
tree via CVS (or grab a tarball, or whatever) you will find the following:
You will also see entries in that directory for french. Bascially you just need
to translate the things inside double quotes.. more or less.
>> man gencat(1)
> Is there a good tutorial for gencat? The manpage is ..err..
> a "little bit" short...
Take a look at src/usr.sbin/sushi You will see that there is a file there
called C.msg. (the same is true for libc and others). These are the files
being placed into /usr/share/nls. When you edit these files, and run gencat on
them (which is usually handled by the makefiles) they will generate the proper
C.cat files. To translate.. simply create a new de.msg file, and translate all
the lines in the C.msg file. The numbers before each line tell the software
which message is for which error or printed string, the set numbers divide
things up into categories usually, for convenience.
Tim Rightnour <email@example.com>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
NetBSD supported hardware database: http://mail-index.netbsd.org/cgi-bin/hw.cgi