bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext locale environment variable documentation


From: Karl Berry
Subject: Re: gettext locale environment variable documentation
Date: Sun, 17 Jun 2007 19:07:47 -0500

Bruno,

Back on the new user chapter in the gettext documentation.  The new text
says:

    A locale name usually has the form @address@hidden@var{CC}}.  Here
    @address@hidden is an @w{ISO 3166} two-letter country code.

What about languages which don't have two-letter codes?  Does gettext
support those?  I see that `locales_with_principal_territory' in
msginit.c has entries for various three-letter codes (starting with
ace_ID), so I imagine they are ok.  In which case I suggest the doc do
something other than flat-out state that it is a two-letter code, e.g.,
  ... an @w{ISO 639} language code, which is usually two letters but
  may be three ...

OTOH, if three-letter codes are really unsupported, then that would be
worth stating.

By the way, where did that principal_territory table come from?  Some
external entity, or did you/contributors construct it?

Thanks,
Karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]