[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: |
Thu, 15 Apr 2021 06:42:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #59814 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #15:
commit 11195e2e4a23bbd8f461892a655a0fa7ab754985 (HEAD -> master,
origin/master, origin/HEAD)
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Apr 15 19:46:36 2021 +1000
{ChangeLog, NEWS}: Report localization change.
Fixes <https://savannah.gnu.org/bugs/?59814>.
commit a22e2a44333e1456700d531a67b378c721b961c8
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Apr 13 18:26:27 2021 +1000
[tmac]: Adjust editor file encoding hints.
* tmac/cs.tmac: Tell Vim the file is "iso-8859-2" (ISO Latin-2).
* tmac/en.tmac: Stop telling Emacs the file is "latin-1"; it's ASCII.
* tmac/fr.tmac: Tell Vim the file is "iso-8859-15" (ISO Latin-9).
Vim users may need to use ":e ++enc=iso-8859-2", for instance, to see
correct glyphs.
commit b3ed81fe4b8446604e081d47a67125d6abf07379
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Apr 13 18:25:55 2021 +1000
tmac/LOCALIZATION: Rewrite.
commit 2a047db626b1cf683d440fefe048341a1fef62e5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Apr 13 15:35:51 2021 +1000
Test localization refactor.
* src/roff/groff/tests/localization_works.sh: Add 10 test cases.
* src/roff/groff/groff.am (groff_TESTS): Run test.
commit 8cbe35b5b6562eb332ee025a9a96ff78fb30f266
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 a60784b82a5c53caff5443fc036b8d13f4084a32
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 12434c13bec939a68e543e6aae758bc7e92c3fb0
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 a86d9251ed05cec18f6279a9e613449ae7aa7315
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 1d5a04b6ec08ecfe9e772026a8ce2742e4b0f29f
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.
commit 4c5a4b92bee4f704175423eca13d3dbfceab90a4
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/