This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, On 2014-04-29 18:02, Keld Simonsen wrote: > On Tue, Apr 29, 2014 at 12:33:36PM +0300, Marko Myllynen wrote: >> >> 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 thanks, Library of Congress hosts ISO 639-2 online [1,2] so I was able to ran a (scripted) check for glibc which revealed few inconsistencies. How does the attach patch look like? 1) http://www.loc.gov/standards/iso639-2/langhome.html 2) http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt Thanks, -- Marko Myllynen
Attachment:
0001-Fix-lang_lib-lang_term-as-per-ISO-639-2.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |