bug-groff
[Top][All Lists]
Advanced

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

[bug #59814] [PATCH] improve internationalization at startup


From: G. Branden Robinson
Subject: [bug #59814] [PATCH] improve internationalization at startup
Date: Sat, 30 Jan 2021 00:44:29 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #7, bug #59814 (project groff):

I think this is as done as I can get it without .soquiet and .msoquiet.

Feedback still desired.



commit 0dd4a43feff2cf8160020e19947c56f3f68498e8 (HEAD -> language-en)
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Jan 15 03:38:11 2021 +1100

    [docs]: Update hyphenation and localization stuff.
    
    * doc/groff.texi (Manipulating Hyphenation):
    * man/groff.7.man (Hyphenation):
    * man/groff_diff.7.man (Implementation differences):
      - Refer to "U.S. English" hyphenation patterns as simply "English";
        they will be mostly correct for Commonwealth English as well, and no
        alternative English hyphenation patterns for other territories are
        available.
    
    * doc/groff.texi (Manipulating Hyphenation):
    * man/groff_diff.7.man (New requests):
      - Note that default hyphenation mode depends on the language used on
        the system.
      - Add concept index entry for localization.
      - Add file index entries for the locale macro files (cs.tmac, etc.).
      - Add environment variable index entries for LANG and LC_ALL.
      - Describe how groff's idea of the locale is determined.
      - Update to reflect rename of English hyphenation patterns and
        .hla identifier from "us" to "en".

commit 46ba7b2140eec076daee73f8daef20f16e9c2536
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Jan 15 03:27:15 2021 +1100

    tmac/en.tmac: Set hyphenation mode to 4.

commit 252f7f8a0aa1f2435b0bc88371faf17f913be533
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jan 4 17:53:05 2021 +1100

    tmac/troffrc: Derive groff locale from system.
    
    Determine the groff locale (default input language) using the system
    locale.  Use the environment if possible.  Try LC_ALL first, then LANG.
    "C" means English (en).  Otherwise, only the first two characters of the
    locale name are used.
    
    Unrecognized locales (those without a supporting xx.tmac file) are
    ignored, and groff falls back to English.
    
    Those who want groff's default locale to differ from LC_ALL/LANG should
    edit this troffrc to source the appropriate groff locale macro file
    (cs.tmac, de.tmac, den.tmac, fr.tmac, ja.tmac, sv.tmac, zh.tmac).

commit 0d4bb5ac2344e09e43e24ac9aed9afac8c5df539
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jan 4 17:44:57 2021 +1100

    tmac/en.tmac: Add English localization file.

commit e148fb564d70214e6e5ab9f9efca0d85c161b55e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jan 4 17:10:20 2021 +1100

    [troffrc]: Change hyphenation language us to en.
    
    The first-order determinant of hyphenation points is language, not
    territory.  Use ISO 639 2-letter language codes for hyphenation and
    exception patterns instead of ISO 3166 2-letter territory codes.

commit 81c38680f2bcb0debbfe6a4a135c5e1fb8b1d39f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jan 4 16:59:03 2021 +1100

    tmac: Rename *.us to *.en.
    
    The first-order determinant of hyphenation points is language, not
    territory.  Use ISO 639 2-letter language codes for hyphenation and
    exception patterns instead of ISO 3166 2-letter territory codes.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59814>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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