tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [OT]Who's in charge of Localization (L10N) in NetBSD?



hi,

> Who's in charge of Localization (L10N) in NetBSD?

maybe it's me.

> I would help to add the eu_ES-ISO8859-1 (basque) locale in NetBSD
system.

thank you, i think daemon can learn basque:)

first, we don't have basque message catalog for strerror(3).
the translation of C.msg to basque will be great help for us.
    http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/nls/C.msg

and sysinst (8) too.
    http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/utils/sysinst/msg.mbr.en
    http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/utils/sysinst/msg.mi.en
    
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/utils/sysinst/arch/i386/msg.md.en
    (and other architecture...)


second, eu_ES-ISO8859-1/LC_CTYPE is already supported in NetBSD-current.
    http://cvsweb.netbsd.org/bsdweb.cgi/src/share/locale/ctype/Makefile#rev1.22

if you want use it NetBSD-4, try following steps:

    $ cvs co -d foo src/share/locale/ctype/en_US.ISO_8859-1.src
    $ cd foo
    $ mklocale en_US.ISO8859-1 > eu_ES.ISO8859-1.out
    $ sudo install -o root -g wheel -m 755 -d /usr/share/locale/eu_ES.ISO8859-1
    $ sudo install -o root -g wheel -m 755 eu_ES.ISO8859-1.out \
    > /usr/share/locale/eu_ES.ISO8859-1/LC_CTYPE

or simply add following 2-lines to your /usr/share/locale/locale.alias.

eu_ES.ISO8859-1/LC_CTYPE  en_US.ISO8859-1
eu_ES.ISO8859-1/LC_MESSAGES /FORCE


third, other LC_{COLLATE,NUMERIC,MONETARY,TIME,MESSAGES
and ISO/IEC TR14652 extensions} stuffs and localedef(1) tool
are not implemented yet.
so that any language translations are not needed at this point.

but if it done, i'll convert FreeBSD's locale databases
to POSIX charmap/localedef files.
so that, to maintain FreeBSD's locale databases may be great help for me.
    http://www.freebsd.org/cgi/cvsweb.cgi/src/share/colldef/es_ES.ISO8859-1.src
    http://www.freebsd.org/cgi/cvsweb.cgi/src/share/monetdef/es_ES.ISO8859-1.src
    http://www.freebsd.org/cgi/cvsweb.cgi/src/share/msgdef/eu_ES.ISO8859-1.src
    
http://www.freebsd.org/cgi/cvsweb.cgi/src/share/numericdef/eu_ES.ISO8859-1.src
    http://www.freebsd.org/cgi/cvsweb.cgi/src/share/timedef/eu_ES.ISO8859-1.src


more infomation, please read POSIX locale specifications
and ISO/IEC TR14652.
    http://www.opengroup.org/onlinepubs/009695399/utilities/localedef.html
    
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap06.html#tag_06_04
    
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_03
    http://www.dkuug.dk/JTC1/SC22/WG20/docs/n972-14652ft.pdf


very truly yours.
-- 
Takehiko NOZAKI <tnozaki%NetBSD.org@localhost>


Home | Main Index | Thread Index | Old Index