summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2021-12-03 13:46:55 +0000
committerReuben Thomas <rrt@sc3d.org>2021-12-03 13:52:10 +0000
commit85220e5498a63e4632f4d2402e93a7450ea5eca5 (patch)
tree9374ac826d3f1d324e6fd173e85a20dc682f5503
parent8a2a4b4c75774e5532554e269be52cafd7da9d7a (diff)
downloadenchant-85220e5498a63e4632f4d2402e93a7450ea5eca5.tar.gz
enchant.1: document format of language tags (see issue #295)
-rw-r--r--src/enchant.1.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/enchant.1.in b/src/enchant.1.in
index 5916a1f..3b85fc5 100644
--- a/src/enchant.1.in
+++ b/src/enchant.1.in
@@ -36,8 +36,9 @@ Enchant uses global and per-user ordering files named \fIenchant.ordering\fR
to decide which spelling provider to use for particular languages.
The per-user file takes precedence.
.PP
-The ordering file takes the form language_tag:<comma-separated list of spelling
-providers>. To see what providers are available, run \fIenchant-lsmod-@ENCHANT_MAJOR_VERSION@\fR. '*' is
+The ordering file takes the form \fIlanguage_tag:<comma-separated list of spelling
+providers>\fR. The language tag is an IETF BCP 47 language tag, typically of the form \fICOUNTRY_LANGUAGE\fR.
+To see what dictionaries are available, run \fIenchant-lsmod-@ENCHANT_MAJOR_VERSION@\fR. '*' is
used to mean "use this ordering for all languages, unless instructed otherwise." For example:
.PP
*:aspell,hunspell,nuspell