groff-commit
[Top][All Lists]
Advanced

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

[groff] 09/09: man/groff.7.man (Localization): Add section.


From: G. Branden Robinson
Subject: [groff] 09/09: man/groff.7.man (Localization): Add section.
Date: Mon, 9 Aug 2021 12:20:15 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 992c17ab49fb067b13f30366e9aa1a05382f1a03
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Aug 10 01:46:51 2021 +1000

    man/groff.7.man (Localization): Add section.
---
 ChangeLog       |  4 ++++
 man/groff.7.man | 49 +++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7ce8334..51c6a14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-08-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * man/groff.7.man (Localization): Add section.
+
+2021-08-09  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * tmac/cs.tmac:
        * tmac/de.tmac:
        * tmac/fr.tmac:
diff --git a/man/groff.7.man b/man/groff.7.man
index 5b5047e..7c27eef 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5205,11 +5205,52 @@ or the line can instead be adjusted with up to a 
certain amount of
 additional inter-word space
 .RB ( .hys ).
 .
-See
-.IR groff_diff (@MAN7EXT@)
-or the
+.
+.\" ====================================================================
+.SH Localization
+.\" ====================================================================
+.
+The set of hyphenation patterns is associated with the hyphenation
+language set by the
+.B .hla
+request.
+.
+The
+.B .hpf
+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
-Texinfo manual for further details.
+1.23.0,
+localization files for Czech
+.RI ( cs ),
+German
+.RI ( de ),
+English
+.RI ( en ),
+French
+.RI ( fr ),
+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.
 .
 .
 .\" ====================================================================



reply via email to

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