This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
Re: lang_term and lang_lib in LC_ADDRESS
- From: Keld Simonsen <keld at rap dot rap dot dk>
- To: Marko Myllynen <myllynen at redhat dot com>
- Cc: libc-locales at sourceware dot org, mtk dot manpages at gmail dot com
- Date: Tue, 29 Apr 2014 17:02:09 +0200
- Subject: Re: lang_term and lang_lib in LC_ADDRESS
- Authentication-results: sourceware.org; auth=none
- References: <535F71F0 dot 4060301 at redhat dot com>
On Tue, Apr 29, 2014 at 12:33:36PM +0300, Marko Myllynen wrote:
> Hi Keld,
>
> do you happen to know/remember the story behind lang_term and lang_lib
> in LC_ADDRESS? Some sources say they both should be three-letter ISO
> 639-2 codes but some of the more dependable glibc locales (e.g. de_DE)
> use "deu" and "ger" for them.
lang_term reflects ISO 639-2/T (terminology) codes, while
lang_lib reflects ISO 639-2/B (bibliographic) codes.
lang_term is preferred over lang_lib codes for locale names.
There are 20 specific ISO 639-2/B codes.
Reference: https://en.wikipedia.org/wiki/ISO_639-2
Best regards
keld