flammie 05/09/24 13:06:18 Modified: xml/htdocs/doc/en guide-localization.xml Log: Bug #106824: rewrote OpenOffice.Org instructions and updated LINGUAS variable information
Revision Changes Path 1.32 +35 -35 xml/htdocs/doc/en/guide-localization.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.32&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.32&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml.diff?r1=1.31&r2=1.32&cvsroot=gentoo Index: guide-localization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- guide-localization.xml 21 Aug 2005 22:44:26 -0000 1.31 +++ guide-localization.xml 24 Sep 2005 13:06:18 -0000 1.32 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.31 2005/08/21 22:44:26 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.32 2005/09/24 13:06:18 flammie Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/guide-localization.xml"> @@ -29,8 +29,8 @@ the German doc. Includes configuration for use of the euro currency symbol. </abstract> -<version>1.22</version> -<date>2005-08-22</date> +<version>1.23</version> +<date>2005-09-24</date> <chapter> <title>Time zone</title> @@ -110,7 +110,7 @@ </body> </section> -<section> +<section id="variables"> <title>Environment variables for locales</title> <body> @@ -215,6 +215,23 @@ automatically install it when needed. </p> +<p> +There is also additional localisation variable called LINGUAS, which affects +to localisation files that get installed in gettext-based programs, and decides +used localisation for some specific software packages, such as +<c>kde-base/kde-i18n</c> and <c>app-office/openoffice</c>. The variable +takes in <e>space</e>-separated list of language codes, and suggested +place to set it is <path>/etc/make.conf</path>: +</p> + +<pre caption="setting LINGUAS in make.conf"> +# <i>nano -w /etc/make.conf</i> +<comment>(Add in the LINGUAS variable. For instance, +for German, Finnish and English:)</comment> +LINGUAS="de fi en" +</pre> + + </body> </section> <section> @@ -332,19 +349,10 @@ <body> <p> -For KDE you have to install the kde-i18n package with the appropriate -LINGUAS variable set: +For KDE you have to install the <c>kde-base/kde-i18n</c> package. Kde-i18n +respects <uri link="#variables">LINGUAS variable</uri> described earlier. </p> -<pre caption="Install localized KDE"> -# <i>nano -w /etc/make.conf</i> -<comment>(Add in the LINGUAS variable. For instance, for the German language:)</comment> -LINGUAS="de" - -<comment>(Now install kde-i18n)</comment> -# <i>emerge kde-i18n</i> -</pre> - </body> </section> </chapter> @@ -439,31 +447,23 @@ </body> </section> <section> -<title>Language for OpenOffice.org</title> +<title>OpenOffice.Org</title> <body> -<note> -Customized default language is not available for openoffice-bin ebuild. The -default language in the openoffice-bin is ENUS. -</note> - <p> -Please note that this package now uses the LINGUAS variable to -provide localization. The old LANGUAGE=ENUS|PORT system does <e>not</e> work -anymore. The default language for OpenOffice.org is set as "US English". If you -wish to change the default language for OpenOffice.org, check the ebuild for the -default language code. +The current <c>app-office/openoffice</c> (or <c>-ximian</c>) source ebuilds +support <uri link="#variables">LINGUAS variable</uri> for selecting installed +GUI language packs. The current <e>stable</e> +<c>app-office/openoffice-bin</c> binary ebuilds do <e>not</e> yet +support LINGUAS variable, however, so in order to use localised OpenOffice.Org +you must either install the source version, or, with your discretion, the +unstable binary version. To see status of GUI translation, +hyphenation, spell checking and other localisations on your language, please +refer to +<uri link="http://l10n.openoffice.org/languages.html">OpenOffice.Org +localisation web site</uri>. </p> -<pre caption="Example: emerge openoffice for german + english environment"> -# <i>nano -w /etc/make.conf</i> -<comment>(Add in the LINGUAS variable. For instance, for the German and English language:)</comment> -LINGUAS="de en" - -<comment>(Now install openoffice)</comment> -# <i>emerge openoffice</i> -</pre> - </body> </section> </chapter> -- [email protected] mailing list
