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: Mon, 4 Jan 2021 02:08:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: [PATCH] improve internationalization at startup
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Mon 04 Jan 2021 07:08:57 AM UTC
                Category: Core
                Severity: 1 - Wish
              Item Group: New feature
                  Status: Need Info
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Savannah #53413 reminded me that I had been wanting to do this.

I'll start a topic on the mailing list to solicit feedback.


commit 4eb1e209c8ebac3c1c62b7a51ce031ed7a6baffb (HEAD -> language-en)
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.  Determine the groff locale from the environment if possible.
    Try LC_ALL first, then LANG.  "C" means English (en).
    
    Unrecognized locales 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).
    
    Also wrap a long line.

commit 306296344b2910f20579baa6db6eef1a8a4a3e0f
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 e24e939d3518b069b034d9fcd1c25ea97ddc771f
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 fde7035d02490c1c055c01718a6645f8b225ed5e
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.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 04 Jan 2021 07:08:57 AM UTC  Name: groff-i18n.diff  Size: 6KiB   By:
gbranden

<http://savannah.gnu.org/bugs/download.php?file_id=50640>

    _______________________________________________________

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]