@@ -2789,7 +2789,7 @@ names and so @env{LANGUAGE} may need to be set.  (One example is
27892789language to Spanish.)
27902790
27912791Environment variable @env {LANGUAGE } can be used to specify more than one
2792- language (and optionally territory) separated by colons .
2792+ language (and optionally territory): see below .
27932793
27942794It is usually possible to change the language once @R {} is running
27952795@emph {via } (not Windows) @code {Sys.setlocale("LC_MESSAGES" ,
@@ -2800,7 +2800,7 @@ English.} the language you are changing to can be output in the current
28002800character set.  But this is OS-specific, and has been known to stop
28012801working on an OS upgrade.  Note that translated messages may be cached,
28022802so attempting to change the language of an error that has already been
2803- output in another language may not work.
2803+ output in another language may not work.  See also  @code { Sys.setlanguage() }. 
28042804
28052805Messages are divided into @emph {domains }, and translations may be
28062806available for some or all messages in a domain.  @R {} makes use of the
@@ -2851,12 +2851,12 @@ locales specifying Portugal.
28512851
28522852Translations in the right language but the wrong charset are made use of
28532853@enindex  LANGUAGE
2854- by on-the-fly re-encoding.  The @env {LANGUAGE } variable (only)  can be a
2855- colon-separated list, for example @samp {se:de }, giving a set of 
2856- languages in decreasing order of preference.  One special value is 
2857- @samp {en @@ quot }, which can be used in a UTF-8 locale to have American 
2858- error messages with pairs of single quotes translated to Unicode directional 
2859- quotes.
2854+ by on-the-fly re-encoding.  The @env {LANGUAGE } variable can be a
2855+ colon-separated list, for example @samp {se:de } or  @samp { es_MX:es }, 
2856+ giving a set of  languages/territories  in decreasing order of preference.
2857+ One special value is  @samp {en @@ quot }, which can be used in a UTF-8
2858+ locale to have American  error messages with pairs of single quotes
2859+ translated to Unicode directional  quotes.
28602860
28612861If no suitable translation catalogue is found or a particular message is
28622862not translated in any suitable catalogue, `English'@footnote {with 
@@ -2867,8 +2867,8 @@ library used to manage message translations, includong in @code{libc}
28672867on GNU and Alpine Linux, and as part of GNU @code {gettext } usually used
28682868on macOS and Windows.
28692869@c  https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html#tag_08_02
2870- The description here follows the POSIX standard, but implementations may
2871- not.
2870+ The description here follows the POSIX 2024  standard, but implementations may
2871+ not (and apparently  @code { musl }'s does not support  @env { LANGUAGE }) .
28722872
28732873
28742874See @uref {https://developer.r-project.org/Translations30.html } for how to
0 commit comments