You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2011/12/19 22:10:57 UTC
svn commit: r800537 [3/22] - in
/websites/staging/ooo-site/trunk/content/l10n: ./ L10N_Framework/
L10N_Framework/Examples.inv/ L10N_Framework/ooo20/
L10N_Framework/ooo20/oo_images/ download/ i18n_framework/
i18n_framework/cldr/ localization/ localizati...
Added: websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/index.html (added)
+++ websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/index.html Mon Dec 19 21:10:54 2011
@@ -0,0 +1,197 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<title>Localization Documentation for OpenOffice 2.0</title>
+<style>
+<!--
+p
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+div.Section1
+ {page:Section1;}
+ p.MsoNormal
+ {mso-style-parent:"";
+ margin-bottom:.0001pt;
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ margin-left:0in; margin-right:0in; margin-top:0in}
+h3
+ {margin-top:12.0pt;
+ margin-right:0in;
+ margin-bottom:3.0pt;
+ margin-left:0in;
+ page-break-after:avoid;
+ font-size:13.0pt;
+ font-family:Arial;
+ font-weight:bold}
+ li.MsoNormal
+ {mso-style-parent:"";
+ margin-bottom:.0001pt;
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ margin-left:0in; margin-right:0in; margin-top:0in}
+p.tablehead-western
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+p.textintable-western
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+div.Section2
+ {page:Section2;}
+ table.MsoNormalTable
+ {mso-style-parent:"";
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ }
+span.moz-txt-citetags
+ {}
+-->
+</style>
+
+
+</head>
+
+<body>
+ <div id="bannera">
+ <div id="bannerleft">
+ <img id="ooo-logo" alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></div>
+ <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+ <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+ <div id="bannercenter"><br/>(incubating) | The Free and Open Productivity Suite</div>
+ </div>
+ <div id="clear"></div>
+ <div id="topbara">
+ <div id="breadcrumbsa"><a href="/">home</a> » <a href="/l10n/">l10n</a> » <a href="/l10n/L10N_Framework/">L10N_Framework</a> » <a href="/l10n/L10N_Framework/ooo20/">ooo20</a></div>
+ <div id="topnava">
+ <ul>
+<li><a href="/download/index.html" title="Download OpenOffice.org">Download</a></li>
+<li><a href="/support/index.html" title="Find Support for OpenOffice.org">Support</a></li>
+<li><a href="/extensions/index.html" title="Find Extensions and Templates">Extend</a></li>
+<li><a href="http://incubator.apache.org/openofficeorg/get-involved.html" title="Get involved in Apache OpenOffice (incubating)">Develop</a></li>
+<li><a href="/projects/native-lang.html" title="OpenOffice.org in your Native Language">Native Language</a></li>
+</ul>
+ </div>
+ </div>
+ <div id="clear"></div>
+
+ <div id="content">
+
+
+
+
+<div align="center">
+
+<table border="0" cellpadding="0" cellspacing="0" width="90%">
+ <!-- MSTableType="layout" -->
+ <tr>
+ <td valign="top">
+ <!-- MSCellType="ContentBody" -->
+ <div class="Section1">
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ <span style="font-size: 16pt"><b>Localization documents for</b></span><b><span style="font-size: 16.0pt">
+ OpenOffice 2.0</span></b></p>
+ <p class="MsoNormal"><span style="font-size: 12.0pt"> </span></p>
+ <p class="MsoNormal"><font size="3">This page contains links to some
+ documents on the localization of OpenOffice 2.0</font></p>
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal"><font size="3">Some of them are still
+ incomplete, but still, they can be helpful for those who are
+ interested on the localization of OOo 2.0. All comments, corrections
+ and improvements on them are welcome. If you wish to, you can also
+ copy them, use them somewhere else, or anything that would be
+ permitted by a Creative Commons Attribution License (meaning that
+ credit is welcome).</font></p>
+ <p class="MsoNormal"> </p>
+ <ul>
+ <li>
+ <p class="MsoNormal"><font size="3">
+ <a href="localization_of_openoffice_2.0.html">OpenOffice.org 2.0
+ Localization</a> is the general localization document. It points
+ at the page that describes the
+ <a href="oo2.0_program_translation.html">translation process</a>,
+ which uses the <a href="http://translate.sourceforge.net">
+ Translate Toolkit</a>.</font></li>
+ <li>
+ <p class="MsoNormal"><font size="3">
+ <a href="openoffice_locale_.html">OpenOffice.org 2.0 locale files</a></font></li>
+ <li>
+ <p class="MsoNormal"><font size="3">
+ <a href="Collation_in_ooo_2.0.html">OpenOffice.org 2.0 collation</a></font></li>
+ <li>
+ <p class="MsoNormal"><font size="3">
+ <a href="http://www.khmeros.info/tools/localization_tips.html">OpenOffice.org 2.0 Localization
+ tips (important)</a></font></li>
+ <li>
+ <p class="MsoNormal"><font size="3"><a href="how_to_patch.html">
+ How to patch.</a></font></li>
+ </ul>
+ <p class="MsoNormal"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal" align="center"><b>
+ <span style="font-size: 16pt">Translate Toolkit</span></b></p>
+ <ul>
+ <li>
+ <p class="MsoNormal"><font size="3"><a href="http://www.khmeros.info/tools/translate.html">
+ Reference Documentation for the Translate Toolkit</a>.</font></li>
+ <li>
+ <p class="MsoNormal"><font size="3">
+ <a href="http://translate.sourceforge.net">Homepage of the
+ Translate Toolkit.</a></font></li>
+ </ul>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <span style="font-size: 11pt">Javier SOLA -
+ <a href="http://www.khmeros.info">www.khmeros.info</a> - Last edited
+ <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%m/%d/%Y" startspan -->05/02/2005<!--webbot bot="Timestamp" i-checksum="12528" endspan --></span></p>
+ </div>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ </td>
+ </tr>
+</table>
+
+</div>
+
+
+
+ </div>
+
+ <div id="footera">
+ <div id="poweredbya">
+ <p><img src="/images/feather-small.gif"/></p>
+ </div>
+ <div id="copyrighta">
+ <p>
+ Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+ decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+ not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+ yet to be fully endorsed by the ASF.</p>
+ <p>
+ <a href="/license.html">Copyright & License</a>
+ <br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+ OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+ Other names appearing on the site may be trademarks of their respective owners.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>
Added: websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/localization_checklist_2.0.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/localization_checklist_2.0.html (added)
+++ websites/staging/ooo-site/trunk/content/l10n/L10N_Framework/ooo20/localization_checklist_2.0.html Mon Dec 19 21:10:54 2011
@@ -0,0 +1,829 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<title>Localization of OpenOffice 2.0 - Work in Progress</title>
+<style>
+<!--
+p
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+div.Section1
+ {page:Section1;}
+ p.MsoNormal
+ {mso-style-parent:"";
+ margin-bottom:.0001pt;
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ margin-left:0in; margin-right:0in; margin-top:0in}
+h3
+ {margin-top:12.0pt;
+ margin-right:0in;
+ margin-bottom:3.0pt;
+ margin-left:0in;
+ page-break-after:avoid;
+ font-size:13.0pt;
+ font-family:Arial;
+ font-weight:bold}
+ li.MsoNormal
+ {mso-style-parent:"";
+ margin-bottom:.0001pt;
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ margin-left:0in; margin-right:0in; margin-top:0in}
+p.tablehead-western
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+p.textintable-western
+ {margin-right:0in;
+ margin-left:0in;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ }
+div.Section2
+ {page:Section2;}
+ table.MsoNormalTable
+ {mso-style-parent:"";
+ font-size:10.0pt;
+ font-family:"Times New Roman";
+ }
+span.moz-txt-citetags
+ {}
+-->
+</style>
+
+
+</head>
+
+<body>
+ <div id="bannera">
+ <div id="bannerleft">
+ <img id="ooo-logo" alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></div>
+ <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+ <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+ <div id="bannercenter"><br/>(incubating) | The Free and Open Productivity Suite</div>
+ </div>
+ <div id="clear"></div>
+ <div id="topbara">
+ <div id="breadcrumbsa"><a href="/">home</a> » <a href="/l10n/">l10n</a> » <a href="/l10n/L10N_Framework/">L10N_Framework</a> » <a href="/l10n/L10N_Framework/ooo20/">ooo20</a></div>
+ <div id="topnava">
+ <ul>
+<li><a href="/download/index.html" title="Download OpenOffice.org">Download</a></li>
+<li><a href="/support/index.html" title="Find Support for OpenOffice.org">Support</a></li>
+<li><a href="/extensions/index.html" title="Find Extensions and Templates">Extend</a></li>
+<li><a href="http://incubator.apache.org/openofficeorg/get-involved.html" title="Get involved in Apache OpenOffice (incubating)">Develop</a></li>
+<li><a href="/projects/native-lang.html" title="OpenOffice.org in your Native Language">Native Language</a></li>
+</ul>
+ </div>
+ </div>
+ <div id="clear"></div>
+
+ <div id="content">
+
+
+
+
+<div align="center">
+
+<table border="0" cellpadding="0" cellspacing="0" width="879" height="7130">
+ <!-- MSTableType="layout" -->
+ <tr>
+ <td valign="top" height="7130" width="879">
+ <!-- MSCellType="ContentBody" -->
+ <div class="Section1">
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal" align="center" style="text-align: center"><b>
+ <span style="font-size: 16.0pt">Localization Checklist for OpenOffice 2.0</span></b></p>
+ <p class="MsoNormal" align="center" style="text-align: center"> </p>
+ <p class="MsoNormal" align="center" style="text-align: center"><b>
+ <font size="3">This file contains work in progress. </font></b></p>
+ <p class="MsoNormal" align="center" style="text-align: center"><b>
+ <font size="3">It is only published for public review leading to its
+ improvement, change... or utter destruction, if necessary. </font></b></p>
+ <p class="MsoNormal" align="center" style="text-align: center"><b>
+ <font size="3">At this time the localization process for OpenOffice
+ 2.0 has not yet been fully defined, and this work is therefore
+ incomplete. </font></b></p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ <font size="3"><b>This document</b></font><b><font size="3"> has not yet been checked nor approved by OpenOffice.org
+ localization specialists, so it might also contain errors.</font></b></p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ <font size="3"><b>Any advice is welcome, be it on form, language, structure or
+ contents.</b></font></p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ <font size="3"><b>The contents of this pages might (and probably
+ will) change often without warning.</b></font></p>
+ <p class="MsoNormal" align="center" style="text-align: center"> </p>
+ <p class="MsoNormal" align="center" style="text-align: center"> </p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ <span style="font-size: 11pt">Javier SOLA -
+ <a href="http://www.khmeros.info">www.khmeros.info</a> - Last edited
+ <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%m/%d/%Y" startspan -->04/27/2005<!--webbot bot="Timestamp" i-checksum="12622" endspan --></span></p>
+ <p class="MsoNormal" align="center" style="text-align: center">
+ </p>
+ <ul>
+ <li>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: 6.0pt">
+ <span style="font-size: 11pt"><a href="how_to_patch.html">Preparing
+ patches</a> for the following files. Before preparing the
+ patches, you should make sure that you language is NOT in those
+ files (for the version that you want to localize, look into
+ <a href="how_to_patch.html">How to prepare a patch </a>for more
+ information). Some of these patches might not be
+ necessary in Ooo2.0. Details on the patches will be added when
+ the localization process is finished. (***REVIEW, Should this
+ document point at preparing patches, instead of writing to the
+ list?)</span></p></li>
+ </ul>
+ <blockquote>
+ <blockquote>
+ <blockquote>
+ <ul>
+ <li>
+ <p style="margin-top: 0; margin-bottom: 0">tools/inc/lang.hxx</p>
+ </li>
+ </ul>
+ <blockquote>
+ <p style="margin-top: 0; margin-bottom: 0">
+ <span style="font-size: 11pt">
+ <a href="http://util.openoffice.org/source/browse/util/tools/inc/lang.hxx">http://util.openoffice.org/source/browse/util/tools/inc/lang.hxx
+ </a></span></p>
+ </blockquote>
+ <ul>
+ <li>
+ <p style="margin-top: 0; margin-bottom: 0">tools/source/intntl/isolang.cxx</p>
+ </li>
+ </ul>
+ <blockquote>
+ <p style="margin-top: 0; margin-bottom: 0">
+ <span style="font-size: 11pt">
+ <a href="http://util.openoffice.org/source/browse/util/tools/source/intntl/isolang.cxx">http://util.openoffice.org/source/browse/util/tools/source/intntl/isolang.cxx</a>
+ </span></p>
+ </blockquote>
+ <ul>
+ <li>
+ <p style="margin-top: 0; margin-bottom: 0">svx/source/dialog/langtab.src</p>
+ </li>
+ </ul>
+ <blockquote>
+ <p style="margin-top: 0; margin-bottom: 0">
+ <a href="http://graphics.openoffice.org/source/browse/graphics/svx/source/dialog/langtab.src">http://graphics.openoffice.org/source/browse/graphics/svx/source/dialog/langtab.src</a>
+ </p>
+ </blockquote>
+ </blockquote>
+ </blockquote>
+ </blockquote><hr color="#0000FF" size="5">
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal"><b><span style="font-size: 11.0pt">
+ <a name="VCL"></a>11) Include the
+ automatic font substitution table for the language (locale)</span></b></p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <span style="font-size: 12.0pt"> </span></p>
+ <p style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt" class="MsoNormal">
+ <span style="font-size: 11.0pt; font-family: Times New Roman">The
+ font substitution system of OpenOffice defines automatic
+ substitution fonts for each language. When somebody types a
+ character (in the word processor, for example), and the character is
+ not included in the currently selected font, OpenOffice looks for
+ another font that has this character. You can define what fonts (and
+ in which order) OpenOffice will attempt to use when looking for a
+ font that is fit for your language.</span></p>
+ <p style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt" class="MsoNormal">
+ <span style="font-size: 11.0pt; font-family: Times New Roman"> </span></p>
+ <p style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt" class="MsoNormal">
+ <span style="font-size: 11.0pt; font-family: Times New Roman">Definition of the font substitution table for your language requires
+ the modification of the file <b>VCL.xcu</b>. If you have
+ OpenOffice installed in your computer, this file is in:</span></p>
+ <pre style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt; font-family: Times New Roman"> </span></pre>
+ <pre style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt; font-family: Times New Roman"><OOoDir>/share/registry/data/org/openoffice</span></pre>
+ <pre style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt; font-family: Times New Roman"> </span></pre>
+ <p class="MsoNormal" style="text-align: justify; margin-left: 1.5in">
+ <span style="font-size: 11.0pt">(where <OOoDir> is the directory in
+ which OpenOffice is installed) </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11pt">You can find the latest versions of
+ this file in </span></p>
+ <blockquote>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11pt">
+ <a href="http://util.openoffice.org/source/browse/util/officecfg/registry/data/org/openoffice/VCL.xcu">http://util.openoffice.org/source/browse/util/officecfg/registry/data/org/openoffice/VCL.xcu</a>
+ </span></p>
+ </blockquote>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">The file is divided into blocks
+ (called <b>nodes</b>), one for each language. The first line of the
+ node for a language includes the standard ISO code for the language.
+ </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">There are two different cases you
+ have to consider here.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; text-indent: -.25in; margin-left: .75in">
+ <span style="font-size: 11.0pt">1)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">
+ </span></span><b><span style="font-size: 11.0pt">If your language
+ uses Latin characters (ISO-8859-1</span></b><span style="font-size: 11.0pt">)
+ <b>and you are happy with the default fonts for English</b>.
+ You need to have two lines added to this file:</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt">+ <node oor:name="YourLanguageCode" oor:op="replace"></span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt">+ </node></span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt"> </span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt; font-family: Times New Roman">For Swahili, for example, these lines will be:</span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt"> </span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt">+ <node oor:name="sw" oor:op="replace"></span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt">+ </node></span></pre>
+ <pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-size: 11.0pt"> </span></pre>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; text-indent: -.25in; margin-left: .75in">
+ <span style="font-size: 11.0pt">2)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">
+ </span></span><b><span style="font-size: 11.0pt">You language uses a
+ different script.</span></b><span style="font-size: 11.0pt"> Find in
+ the file a language that is somehow similar to yours (at least in
+ the same group, either Latin, or Asian (Chinese, Japanese, Korean)
+ or CTL (Complex text layout, including Indian and some Southeast
+ Asian languages). For example, for Khmer we have taken Thai as the
+ model.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt">Copy the <b>node</b> for that
+ language (that is, the block of lines that refers to that language,
+ from <node to </node>), change the language code of the new node to
+ the code of your own language. Then, in each one of the sections,
+ change the font list to a set of fonts that support your language
+ (fonts to which OpenOffice will change if it finds a character from
+ your languages).</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt">A node looks like this:</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 12.0pt"> </span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"><node oor:name="km" oor:op="replace"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="UI_SANS" oor:op="replace"
+ oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="CTL_DISPLAY"
+ oor:op="replace" oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="CTL_HEADING"
+ oor:op="replace" oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="CTL_PRESENTATION"
+ oor:op="replace" oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="CTL_SPREADSHEET"
+ oor:op="replace" oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <prop oor:name="CTL_TEXT" oor:op="replace"
+ oor:type="xs:string"></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> <value>Khmer OS System;Khmer
+ OS;UniKhm</value></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"> </prop></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 11.0pt"></node></span></p>
+ <p class="MsoNormal" style="margin-left: .75in">
+ <span style="font-size: 12.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt">You can see that fonts are separated
+ by the ; character. You have to use the internal name of the font,
+ the one that appears on your font menu when you select fonts in
+ OpenOffice or any other program (not the name of the file that
+ contains the font). This names might have spaces, this is not a
+ problem, include them. Spaces are significant, so do not put spaces
+ before or after the ; signs, nor at the beginning or the end of
+ the font list.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt">You might select different
+ substitution fonts for different application, each one of prop
+ statements refers to different tools or situations.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .75in">
+ <span style="font-size: 11.0pt">Dont forget that this file will be
+ used in several platforms and by people who might have different
+ fonts installed. Include in your list fonts for these platforms; if
+ you know them (Macintosh typically has different fonts). Try to
+ assure that any user will at least have one of the fonts that you
+ have included in the list.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">When you have finished with this
+ file, and made sure that this is what you really want, you have to
+ create an issue for the Localization (L10n) project, and
+ <a href="how_to_patch.html">submit a patch</a>
+ for file officecfg/registry/data/org/openoffice/VCL.xcu. To submit
+ an issue you first need to login into the OpenOffice website, then
+ hit <b>File Issue</b> on the left hand
+ menu
go to <b>proceed</b> in the next page
click in the component<b>
+ l10n</b> in the next one
are you are ready to file it. Select
+ version <b>current</b>, subcomponent <b>code</b>, type <b>PATCH</b>,
+ Summary <b>Patch for VCL.xcu for language
., </b>and hit<b> Submit.
+ </b>The system will ask you if you want to attach a file and what
+ type<b>. </b>Attach the patch that you have been working on and<b>
submit it.
+ </b>You are done.</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <span style="font-size: 12.0pt"> </span></p>
+ </div>
+ <p class="MsoNormal"><span style="font-size: 11pt"><b>
+ <a name="Locale"></a>12)
+ Prepare an OpenOffice Locale</b></span></p>
+ <p class="MsoNormal"> </p>
+ <blockquote>
+ <p class="MsoNormal"><span style="font-size: 11pt"><b>Please look in<a href="openoffice_locale_.htm">
+ How to prepare an OpenOffice Locale</a></b></span></p>
+ <p class="MsoNormal"> </p>
+ </blockquote><hr color="#0000FF" size="5">
+ <blockquote>
+ <p class="MsoNormal"> </p>
+ </blockquote>
+ <p class="MsoNormal"><b><span style="font-size: 11.0pt">
+ <a name="LocalePatch"></a>13) Prepare the
+ patches that will be needed when including the locale file</span></b></p>
+ <p class="MsoNormal"><span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">When including the locale file in
+ OpenOffice, it is also necessary to include information about this
+ locale in a couple of files. You should prepare the necessary patches
+ for files (***REVIEW***, this information will be completed when it is clear if these
+ or other files will be included in OOo 2.0):</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <pre style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt">i18npool/source/localedata/localedata.cxx</pre>
+ <pre style="text-align: justify; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; margin-left: .5in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt">i18npool/source/localedata/data/makefile.mk</pre>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11pt">One of the following:</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11pt">If the language is some form of English
+ (en_XX), then include it in:</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span>i18npool/source/localedata/data/localedata_en.map</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ If it is some form of Spanish (es_XX), then modify:</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span>i18npool/source/localedata/data/localedata_es.map</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ If not being English or Spanish, it is a county in the Euro zone, then
+ modify:</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span>i18npool/source/localedata/data/localedata_euro.map</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ Otherwise, modify:</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span>i18npool/source/localedata/data/localedata_others.map</p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">which you can find in the web in:</span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt">
+ <a style="color: blue; text-decoration: underline; text-underline: single" href="http://l10n.openoffice.org/source/browse/l10n/i18npool/source/localedata/">
+ http://l10n.openoffice.org/source/browse/l10n/i18npool/source/localedata/</a></span></p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ <span style="font-size: 11.0pt"> </span></p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal" style="text-align: justify; margin-left: .5in">
+ </p>
+ <p class="MsoNormal"><b><span style="font-size: 11.0pt"><a name="CTL">
+ </a>14) Assure that your
+ script is correctly classified </span></b></p>
+ <p class="MsoNormal"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">It is not
+ clear if this will be necessary for 2.0 (***REVIEW***), but, just in case, it is
+ mentioned. If a language is CTL or CJK, it needs to be marked in this
+ file.</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3"><br>
+ </font>
+ <a style="color: blue; text-decoration: underline; text-underline: single" href="http://util.openoffice.org/source/browse/util/svtools/source/config/languageoptions.cxx?only_with_tag=SRX645_m50">
+ <font size="3">
+ http://util.openoffice.org/source/browse/util/svtools/source/config/languageoptions.cxx</font></a></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><u><font color="#0000FF">
+ Build environment </font></u></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><u><font color="#0000FF">
+ <a href="http://tools.openoffice.org/source/browse/tools/solenv/inc/postset.mk">
+ solenv/inc/postset.mk</a></font></u></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><u><font color="#0000FF">
+ <a href="http://tools.openoffice.org/source/browse/tools/solenv/inc/postset.mk">
+ http://tools.openoffice.org/source/browse/tools/solenv/inc/postset.mk</a></font></u></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><u><font color="#0000FF">
+ <a href="http://util.openoffice.org/source/browse/util/tools/source/rc/resmgr.cxx">
+ http://util.openoffice.org/source/browse/util/tools/source/rc/resmgr.cxx</a></font></u></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <span style="font-size: 10.0pt; font-family: Courier New">
+ tools/source/rc/resmgr.cxx - Not necessary.</span></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font face="Courier New">
+ <a href="http://installation.openoffice.org/source/browse/installation/readlicense/prj/d.lst">
+ http://installation.openoffice.org/source/browse/installation/readlicense/prj/d.lst</a>
+ </font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <span style="font-size: 10.0pt; font-family: Courier New">
+ readlicense_oo/prj/d.lst - not necessary</span></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <pre wrap>Probably. Did you try manual font replacement as described in
+<span class="moz-txt-citetags">> </span><a class="moz-txt-link-freetext" href="http://www.openoffice.org/FAQs/fontguide.html#9">http://www.openoffice.org/FAQs/fontguide.html#9</a>
+<span class="moz-txt-citetags">> </span>"Changing the user interface font"?</pre>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><b><font size="3">
+ Installation set:</font></b></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">
+ Modifications are needed in the following files:</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3"><br>
+ <a href="http://installation.openoffice.org/source/browse/framework/desktop/win32/source/setup/setup.ulf">
+ desktop/win32/source/setup/setup.ulf</a> (framework project, is
+ this related to installation???)</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">You need
+ to add three lines to this file. You need to include the ISO code, the
+ name of the language and the name of the country in both English and
+ German. For Khmer (km), this would be:</font></p>
+ <blockquote>
+ <pre>[%LANGUAGE_KM%]
+en-US = "Khmer (Cambodia)"
+de = "Khmer (Kambodscha)"</pre>
+ </blockquote>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">
+ -------------------</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3"><br>
+ <a href="http://installation.openoffice.org/source/browse/installation/instsetoo_native/inc_openoffice/windows/msi_languages/Langpack.ulf">instsetoo_native/inc_openoffice/windows/msi_languages/Langpack.ulf
+ </a></font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">You need
+ to add a block of the style:</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <pre> [OOO_LANGPACK_NAME_1107]
+ en-US = "Khmer"
+ de = "Khmer"</pre>
+ <pre> [OOO_LANGPACK_DESC_1107]
+ en-US = "Installs Khmer support in %PRODUCTNAME %PRODUCTVERSION"
+ de = "Khmer"</pre>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">Please
+ note that in this case 1107 is the Microsoft locale ID for Khmer in
+ decimal format, you should include the one for your language, which you
+ should have obtained already at this point, but just in case, you can
+ find it in:</font> <font size="3"> </font><span style="font-size: 11.0pt"><a style="color: blue; text-decoration: underline; text-underline: single" href="http://www.microsoft.com/globaldev/reference/lcid-all.mspx">http://www.microsoft.com/globaldev/reference/lcid-all.mspx</a>
+ </span></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">
+ -------------------</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3"><br>
+ <a href="http://installation.openoffice.org/source/browse/installation/setup_native/source/win32/msi-encodinglist.txt">setup_native/source/win32/msi-encodinglist.txt</a></font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">You need a
+ line of the type</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <pre> km 0 1107 # Khmer</pre>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">that
+ includes your ISO language code, the ANSI code-page number for the
+ script (0 if only in Unicode), the Microsoft locale ID number (same as
+ in the prior file)... and, if you want, a comment to say which language
+ it is.</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">
+ ---------------</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">You also
+ need to make sure that your language iso language code is present in:</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <a href="http://util.openoffice.org/source/browse/util/officecfg/registry/data/org/openoffice/Office/Common.xcu">
+ <font size="3">officecfg/registry/data/org/openoffice/Office/Common.xcu</font></a></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">in the two
+ different lists. There is a number associated to the second list (10 or
+ 13) but I do not know what it means.</font></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in"><font size="3">
+ ---------------------</font></p>
+ <blockquote>
+ <p wrap>In file
+ <a href="http://installation.openoffice.org/source/browse/installation/scp2/source/ooo/file_ooo.scp">
+ scp2/source/ooo/file_ooo.scp</a> file you need to make sure that -
+ <b>if your language is a CTL language</b> - the file Common-ctl.xcu
+ is installed, and <b>if it</b> is <b>a CJK language</b>,
+ Common-cjk.xcu and Writer-cjk.xcu get installed. Look for these file
+ names within file_ooo.scp and a a new line for your language. As an
+ example, for Khmer (km) - a CTL language - you should add the line
+ in bold below:</p>
+ <pre style="margin-top: 0; margin-bottom: 0">File gid_File_Registry_Spool_Oo_Common_Ctl_Xcu
+ TXT_FILE_BODY;
+ Styles = (PACKED,MAKE_LANG_SPECIFIC);
+ Dir = gid_Dir_Share_Registry_Modules_Oo_Office_Common;
+ Name (th) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";
+ Name (hi-IN) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";
+ Name (ar) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";
+ Name (he) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";</pre>
+ <pre style="margin-top: 0; margin-bottom: 0"><b> Name (km) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";</b></pre>
+ <pre style="margin-top: 0; margin-bottom: 0">End</pre>
+ </blockquote>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <hr color="#0000FF" size="5">
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p style="margin-left: .5in"><b>Should wizards be included in the
+ localization procedure? If so, this should be modified:</b></p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p class="MsoNormal" style="margin-left: .5in">
+ <a href="http://installation.openoffice.org/source/browse/installation/wizards/source/formwizard/dbwizres.src">wizards/source/formwizard/dbwizres.src</a>
+ </p>
+ <p class="MsoNormal" style="margin-left: .5in"> </p>
+ <p style="margin-left: .5in">It contains 11 entries of the type (if it
+ has more, please modify accordingly):</p>
+ <pre> String RID_LETTERWIZARDLANGUAGE_START + 11
+ {
+ Text [ de ] = "Chinesisch (Traditionell)";
+ Text [ en-US] = "Chinese (Traditional)";
+ };</pre>
+ <pre> with the number going from +1 to +11 (when this doc was written)</pre>
+ <blockquote>
+ <p>Adding a new language requires adding a new entry with a number
+ higher than the last one (higher than 11 in our case)</p>
+ <pre>-------------------</pre>
+ <pre>We also need to modify file</pre>
+ <pre wrap><a href="http://installation.openoffice.org/source/browse/installation/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java">/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java</a></pre>
+ <p>In which we have to add the language to the following
+ procedure, remembering the increase the size of the Norms array</p>
+ </blockquote>
+ <pre> public void initializeNorms() {
+ //To add new Languages please modify this method and LetterWizardDialogResources.java
+ Norms = new String[11];
+
+ Norms[0] = "en-US";
+ Norms[1] = "de";
+ Norms[2] = "fr";
+ Norms[3] = "es";
+ Norms[4] = "it";
+ Norms[5] = "pt-BR";
+ Norms[6] = "sv";
+ Norms[7] = "ja";
+ Norms[8] = "ko";
+ Norms[9] = "zh-CN";
+ Norms[10] = "zh-TW";
+
+ setControlProperty("lstLetterNorm", "StringItemList", resources.LanguageLabels);
+
+ }</pre>
+ <blockquote>
+ <pre wrap> -------------------</pre>
+ <pre wrap>Finally, in file </pre>
+ <pre wrap><a href="http://installation.openoffice.org/source/browse/installation/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java">/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java</a></pre>
+ <p>At the end of the file has the statement:</p>
+ </blockquote>
+ <pre> private void loadLanguageResources() {
+ for (int i = 1; i < 12; i++) {
+ LanguageLabels[i-1] = getResText(RID_LETTERWIZARDLANGUAGE_START + i);
+ }
+
+ }</pre>
+ <blockquote>
+ <blockquote>
+ <p wrap>In which the for loop goes to i<12, in relation to the
+ 11 elements of the list in dbwizres. If new elements are added
+ to that file, this number needs to be increased.</p>
+ </blockquote>
+ </blockquote>
+ <hr color="#0000FF" size="5">
+ <p wrap><b>Configuration Options</b></p>
+ <p wrap>If you want to have some UI language or locale configuration options in your
+ own build,
+ you need to create a file called Linguistic.xcu that needs to be placed
+ in the directory:</p>
+ <p wrap>
+ <a href="http://util.openoffice.org/source/browse/util/officecfg/registry/data/org/openoffice/Office">
+ officecfg/registry/data/org/openoffice/Office</a></p>
+ <p wrap>Note that this file cannot be committed to the common source, as
+ it is the same name for all languages, and should not contain contradictory
+ statements.</p>
+ <blockquote>
+ <p wrap><b>Note: </b>This is not entirely true. You actually can
+ accomodate contradictory settings in this file, which then are
+ distributed to multiple files during the build. But you have to make
+ sure only one of these files is installed. Thus, if the scp part is
+ conditionalized appropriately, this could be included into the
+ common source. But in a normal build, without special-purpose
+ configure options this should not be included. </p>
+ </blockquote>
+ <p wrap>Working on options can be complicated; you really need to
+ know what you are doing. If you are not sure, you should probably
+ subscribe to the <a href="mailto:dev@installation.openoffice.org">
+ dev@util.openoffice.org</a> mailing list and ask there. </p>
+ <p wrap>As an example if you were planning to create an English (en_US)
+ and Khmer (km) bi-lingual build, the installer would work in English,
+ and the default language for OOo when it started the first time would be
+ Khmer... but
+ if what you want is that
+ -once installed- the system starts automatically in Khmer (UI in Khmer
+ by default), using Khmer
+ locale by default and selecting Khmer as the CTL language by default,
+ then you need to change the configuration.</p>
+ <p wrap>In this case, your Linguistic.xcu file would have to include:</p>
+ <p wrap><?xml version="1.0" encoding="UTF-8"?> <br>
+ <oor:component-data xmlns:oor=<a class="moz-txt-link-rfc2396E" href="http://openoffice.org/2001/registry">"http://openoffice.org/2001/registry"</a>
+ <br>
+ xmlns:xs=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
+ <br>
+ oor:name="Linguistic" <br>
+ oor:package="org.openoffice.Office"> <br>
+ <node oor:name="General"> <br>
+ <prop oor:name="UILocale" oor:type="xs:string"> <br>
+ <value>km</value> <br>
+ </prop> <br>
+ <prop oor:name="DefaultLocale_CTL" oor:type="xs:string"> <br>
+ <value>km</value> <br>
+ </prop> <br>
+ </node> <br>
+ </oor:component-data> <br>
+ </p>
+ <blockquote>
+ <blockquote>
+ <p wrap><b>Note: </b>To allow multiple contradicting values to
+ coexist, you would have to change both occurances of
+ <value>km</value> to <br>
+ <value install:module="km">km</value> <br>
+ <br>
+ (you can use <value install:module="XX">some value</value>, with
+ different XX to add different values) <br>
+ <br>
+ You also have to add the attribute xmlns:install=<a class="moz-txt-link-rfc2396E" href="http://openoffice.org/2004/installation">"http://openoffice.org/2004/installation"</a>
+ to the oor:component-data element in this case. </p>
+ </blockquote>
+ </blockquote>
+ <p wrap>Once you create the file, you need to include infomation about
+ it in </p>
+ <p wrap>officecfg/registry/data/org/openoffice/Office/makefile.mk</p>
+ <p wrap>under XCUFILES.</p>
+ <blockquote>
+ <blockquote>
+ <p wrap><b>Note:</b> If you have added the install:module
+ attribute, you (additionally) need to add "Linguistic-km.xcu" to
+ MODULEFILES. More generally you need to add "Linguistic-XX.xcu"
+ for all XX you used in the install:module attribute to
+ MODULEFILES. </p>
+ </blockquote>
+ </blockquote>
+ <p wrap> </p>
+ <p wrap>--------------------</p>
+ <p wrap>Add an entry for the file in file
+ /scp2/source/ooo/file_ooo.scp so that it gets packed by the
+ installer. You need to include an entry of the type: </p>
+ <pre>File gid_File_Oo_Office_Linguistics_Xcu_Khmer
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = gid_Dir_Share_Registry_Data_Org_Openoffice_Office;
+ Name = "/registry/data/org/openoffice/Office/Linguistics.xcu";
+End</pre>
+ <blockquote>
+ <blockquote>
+ <p><b>Note:</b> If you went with the install:modules version,
+ you need to use <br>
+ <br>
+ File gid_File_Oo_Office_Linguistics_LanguagePreselect_Xcu <br>
+ TXT_FILE_BODY; <br>
+ Styles = (PACKED); <br>
+ Dir = gid_Dir_Share_Registry_Modules_Oo_Office_Linguistic
+ <br>
+ Name =
+ "/registry/spool/org/openoffice/Office/Linguistics-km.xcu"; <br>
+ End <br>
+ <br>
+ Use Name=
+ "/registry/spool/org/openoffice/Office/Linguistics-XX.xcu"
+ conditionally for other preselections. </p>
+ </blockquote>
+ </blockquote>
+ <p wrap>Be sure that the
+ entry has a unique gid_... identifier (search the file to make sure that
+ gid_File_Oo_Office_Linguistics_Xcu does not exist anywhere else). <b>
+ In a normal case this modification is for your own build, it should NOT be submitted for
+ inclusion in the common repository. </b>If you use install:module and
+ appropriate conditionals in scp2, you could add it. But for private use
+ your simpler version is sufficient. </p>
+ <p wrap><br>
+ <br>
+ </p></td>
+ </tr>
+</table>
+
+</div>
+
+
+
+ </div>
+
+ <div id="footera">
+ <div id="poweredbya">
+ <p><img src="/images/feather-small.gif"/></p>
+ </div>
+ <div id="copyrighta">
+ <p>
+ Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+ decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+ not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+ yet to be fully endorsed by the ASF.</p>
+ <p>
+ <a href="/license.html">Copyright & License</a>
+ <br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+ OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+ Other names appearing on the site may be trademarks of their respective owners.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>