White space fix only. Translators can ignore.

Sponsored by: iXsystems
This commit is contained in:
Dru Lavigne 2014-02-11 22:36:06 +00:00
parent 1e3ff4de0c
commit 4410ecd1b7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43880

View file

@ -835,8 +835,7 @@ Comment out for now. If needed, can be added as note in new Printing chapter.
<title>Locale Configuration for Specific Languages</title>
<para>This section provides configuration examples for localizing
a &os; system for the
Russian language. It then provides some
a &os; system for the Russian language. It then provides some
additional resources for localizing other languages.</para>
<sect2 xml:id="ru-localize">
@ -854,8 +853,9 @@ Comment out for now. If needed, can be added as note in new Printing chapter.
<secondary>Russian</secondary>
</indexterm>
<para>To set this locale for the login shell, add the following lines into each
user's <filename>~/.login_conf</filename>:</para>
<para>To set this locale for the login shell, add the following
lines into each user's
<filename>~/.login_conf</filename>:</para>
<programlisting>me:My Account:\
:charset=KOI8-R:\
@ -877,10 +877,12 @@ mousechar_start=3</programlisting>
<indexterm><primary>printers</primary></indexterm>
<para>To configure printing, a special output filter is needed
to convert from KOI8-R to CP866 since most printers with Russian characters come with
hardware code page CP866. &os; includes a default
filter for this purpose, <filename>/usr/libexec/lpr/ru/koi2alt</filename>.
To use this filter, add this entry to <filename>/etc/printcap</filename>:</para>
to convert from KOI8-R to CP866 since most printers with
Russian characters come with hardware code page CP866. &os;
includes a default filter for this purpose,
<filename>/usr/libexec/lpr/ru/koi2alt</filename>. To use this
filter, add this entry to
<filename>/etc/printcap</filename>:</para>
<programlisting>lp|Russian local line printer:\
:sh:of=/usr/libexec/lpr/ru/koi2alt:\
@ -889,32 +891,30 @@ mousechar_start=3</programlisting>
<para>Refer to &man.printcap.5; for a more detailed
explanation.</para>
<para>To configure
support for Russian filenames in mounted &ms-dos;
file systems, include <option>-L</option> and the locale name when adding an entry to
<para>To configure support for Russian filenames in mounted
&ms-dos; file systems, include <option>-L</option> and the
locale name when adding an entry to
<filename>/etc/fstab</filename>:</para>
<programlisting>/dev/ad0s2 /dos/c msdos rw,-Lru_RU.KOI8-R 0 0</programlisting>
<para>Refer to
&man.mount.msdosfs.8; for more details.</para>
<para>Refer to &man.mount.msdosfs.8; for more details.</para>
<para>To configure Russian fonts for <application>&xorg;</application>,
install the
<package>x11-fonts/xorg-fonts-cyrillic</package>
package. Then, check the <literal>"Files"</literal> section in
<filename>/etc/X11/xorg.conf</filename>. The
following line must be added <emphasis>before</emphasis>
any other <literal>FontPath</literal> entries:</para>
<para>To configure Russian fonts for
<application>&xorg;</application>, install the
<package>x11-fonts/xorg-fonts-cyrillic</package> package.
Then, check the <literal>"Files"</literal> section in
<filename>/etc/X11/xorg.conf</filename>. The following line
must be added <emphasis>before</emphasis> any other
<literal>FontPath</literal> entries:</para>
<programlisting>FontPath "/usr/local/lib/X11/fonts/cyrillic"</programlisting>
<para>Additional Cyrillic
fonts are available in the Ports Collection.</para>
<para>Additional Cyrillic fonts are available in the Ports
Collection.</para>
<para>To activate a Russian keyboard, add the following
to the <literal>"Keyboard"</literal> section of
<para>To activate a Russian keyboard, add the following to the
<literal>"Keyboard"</literal> section of
<filename>/etc/xorg.conf</filename>:</para>
<programlisting>Option "XkbLayout" "us,ru"
@ -929,17 +929,16 @@ Option "XkbOptions" "grp:toggle"</programlisting>
action="simul"><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>.
For <literal>grp:caps_toggle</literal> use
<keycap>CapsLock</keycap>. The old
<keycap>CapsLock</keycap> function is still available
in LAT mode only using <keycombo
<keycap>CapsLock</keycap> function is still available in LAT
mode only using <keycombo
action="simul"><keycap>Shift</keycap><keycap>CapsLock</keycap></keycombo>.
<literal>grp:caps_toggle</literal>
does not work in <application>&xorg;</application> for
some unknown reason.</para>
<literal>grp:caps_toggle</literal> does not work in
<application>&xorg;</application> for some unknown
reason.</para>
<para>If the keyboard has <quote>&windows;</quote> keys,
and some non-alphabetical keys are mapped incorrectly,
add the following line to
<filename>/etc/xorg.conf</filename>:</para>
<para>If the keyboard has <quote>&windows;</quote> keys, and
some non-alphabetical keys are mapped incorrectly, add the
following line to <filename>/etc/xorg.conf</filename>:</para>
<programlisting>Option "XkbVariant" ",winkeys"</programlisting>
@ -954,9 +953,8 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<para>See <link xlink:href="http://koi8.pp.ru/xwin.html">
KOI8-R for X Window</link> for more instructions on
localizing <application>Xorg</application>
applications. For more general
information about KOI8-R encoding, refer to
localizing <application>Xorg</application> applications. For
more general information about KOI8-R encoding, refer to
<link xlink:href="http://koi8.pp.ru/">KOI8-R -
Russian Net Character Set</link>.</para>
</sect2>
@ -992,11 +990,12 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<term>Traditional Chinese for Taiwan</term>
<listitem>
<para>The &os;-Taiwan Project has a Chinese HOWTO for
&os; at <uri
<para>The &os;-Taiwan Project has a Chinese HOWTO for &os;
at <uri
xlink:href="http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/">http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/</uri>
using many Chinese ports. The current editor for the
<literal>&os; Chinese HOWTO</literal> is Shen Chuan-Hsing
<literal>&os; Chinese HOWTO</literal> is Shen
Chuan-Hsing
<email>statue@freebsd.sinica.edu.tw</email>.</para>
</listitem>
</varlistentry>
@ -1006,9 +1005,9 @@ Option "XkbOptions" "grp:toggle"</programlisting>
Languages</term>
<listitem>
<para>Slaven Rezic <email>eserte@cs.tu-berlin.de</email> wrote a
tutorial on using umlauts on &os;. The tutorial
is written in German and is available at <uri
<para>Slaven <email>eserte@cs.tu-berlin.de</email> wrote a
tutorial on using umlauts on &os;. The tutorial is
written in German and is available at <uri
xlink:href="http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html">http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html</uri>.</para>
</listitem>
</varlistentry>
@ -1017,9 +1016,9 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<term>Greek Language Localization</term>
<listitem>
<para>Nikos Kokkalis <email>nickkokkalis@gmail.com</email> has
written a complete article on Greek support in &os;. It is
available <link
<para>Nikos Kokkalis <email>nickkokkalis@gmail.com</email>
has written a complete article on Greek support in &os;.
It is available <link
xlink:href="&url.doc.base;/el_GR.ISO8859-7/articles/greek-language-support/index.html">here</link>,
in Greek only, as part of the official &os; Greek
documentation.</para>
@ -1042,10 +1041,10 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<listitem>
<para>Some &os; contributors have translated parts of the
&os; documentation to other languages. They are available
through links on the <link
xlink:href="&url.base;/index.html">main site</link> or in
<filename>/usr/share/doc</filename>.</para>
&os; documentation to other languages. They are
available through links on the <link
link:href="&url.base;/index.html">main site</link> or
in <filename>/usr/share/doc</filename>.</para>
</listitem>
</varlistentry>
</variablelist>