Re: How generate certain locales
Tim Robbins <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.internationalization |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 22, 2004 at 11:36:36AM +0100, Daniel Ortiz wrote: > Hi, > I've looking on handbook and google for a howto for generate certain > locales like ca_ES and ca_ES@euro but I don't know how to do it, in > linux I only make this: > 'gzip -d /usr/share/i18n/charmaps/ISO-8859-15.gz' > 'localedef -i ca_ES -f ISO-8859-15 /etc/locale/ca_ES' > > Wich are the steps? FreeBSD uses two utilities to generate locale data files: mklocale generates LC_CTYPE files, and colldef generates LC_COLLATE files. The rest are text files, which are written by hand. FreeBSD 5.1 and later already come with two ca_ES locales: ca_ES.ISO8859-1 and ca_ES.ISO8859-15. The easiest way to get these locales on an earlier release would probably be to copy /usr/share/locale/ca_ES* from a 5.1/5.2 system. The alternative is to check out the relevant files from CVS and run mklocale/colldef manually. Tim _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-i18n To unsubscribe, send any mail to "[email protected]"