summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-03-23 23:36:05 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-04-01 10:33:39 -0500
commit74a910b9e9a967ada22b3d2e89d28ee51995a829 (patch)
treece6d47301df2519b44dbdf55f5123e5300769b5b /man
parent5b18b7c821b7df2a964a3faed01348c7afa24a5b (diff)
downloadgroff-git-74a910b9e9a967ada22b3d2e89d28ee51995a829.tar.gz
[docs]: Revise localization discussion.
* doc/groff.texi: Drop staleness-prone material about localization setup and specific languages supported; replace with cross reference to groff_tmac(5). This material also doesn't document the formatter per se, and so is inappropriate for the "GNU troff reference" chapter. * man/groff_tmac.5.man (Localization files): Add introductory sentence summarizing their purpose. Add advice regarding the order of their loading; thanks to Nikita Ivanov for reporting this omission. * man/groff_tmac.5.man (Localization files): * man/groff.7.man (Localization): Improve robustness to future development by reorganizing and dropping version number references. In both documents, refer to "localization files" rather than "localization packages".
Diffstat (limited to 'man')
-rw-r--r--man/groff.7.man34
-rw-r--r--man/groff_tmac.5.man4
2 files changed, 4 insertions, 34 deletions
diff --git a/man/groff.7.man b/man/groff.7.man
index 2326b9c3a..b4497330a 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -6359,38 +6359,10 @@ request is usually invoked by a localization file loaded by the
.I troffrc
file.
.
-By default,
-.I troffrc
-loads the localization file for English.
-.
-(As of
.I groff
-1.23.0,
-localization files for Czech
-.RI ( cs ),
-German
-.RI ( de ),
-English
-.RI ( en ),
-French
-.RI ( fr ),
-Italian
-.RI ( it ),
-Japanese
-.RI ( ja ),
-Swedish
-.RI ( sv ),
-and Chinese
-.RI ( zh )
-exist.)
-.
-For Western languages,
-the localization file sets the hyphenation mode and loads hyphenation
-patterns and exceptions.
-.
-It also (re-)defines translatable strings and macros that packages use
-to handle localization tasks,
-such as formatting the calendar date.
+provides localization files for several languages;
+see
+.MR groff_tmac @MAN5EXT@ .
.
.
.\" ====================================================================
diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index 8126e594f..df9ad639b 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -312,10 +312,8 @@ localized forms have been prepared by a localization macro file.
.
.
.P
-As of
.I groff
-1.23.0,
-the following localization files exist.
+provides the following localization files.
.
.
.TP