|
@@ -118,6 +118,23 @@ LC_ALL=<locale name> locale int_prefix</userinput></screen>
|
|
|
<literal>LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable></literal>
|
|
|
EOF</userinput></screen>
|
|
|
|
|
|
+ <para>Note that you can modify <filename>/etc/locale.conf</filename> with
|
|
|
+ Systemd <command>localectl</command> utility. To use <command>localectl</command>
|
|
|
+ for the example above, run:</para>
|
|
|
+
|
|
|
+<screen><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers>"</replaceable></userinput></screen>
|
|
|
+
|
|
|
+ <para>You can also specify other language specific environment variables such
|
|
|
+ as <envar>LANG</envar>, <envar>LC_CTYPE</envar>, <envar>LC_NUMERIC</envar> or
|
|
|
+ any other environment variable from <command>locale</command> output. Just
|
|
|
+ seperate them with a space. An example where <envar>LANG</envar> is set as
|
|
|
+ en_US.UTF-8 but <envar>LC_CTYPE</envar> is set as just en_US is:</para>
|
|
|
+
|
|
|
+<screen><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen>
|
|
|
+
|
|
|
+ <note><para>Please note that <command>localectl</command> command can
|
|
|
+ be used only on a system booted with Systemd.</para></note>
|
|
|
+
|
|
|
<para>The <quote>C</quote> (default) and <quote>en_US</quote> (the recommended
|
|
|
one for United States English users) locales are different. <quote>C</quote>
|
|
|
uses the US-ASCII 7-bit character set, and treats bytes with the high bit set
|