Ingo, Joerg,
I am trying to finish localization information for OOo 2.0.
Could you please review if the below information is correct. If tries to include all the patches that should be done to make sure that a language is in the installer.
Thanks,
Javier
------------------------------------------
*Installation set:*
Modifications are needed in the following files:
desktop/win32/source/setup/setup.ulf <http://installation.openoffice.org/source/browse/framework/desktop/win32/source/setup/setup.ulf> (framework project, is this related to installation???)
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:
[%LANGUAGE_KM%] en-US = "Khmer (Cambodia)" de = "Khmer (Kambodscha)"
-------------------
instsetoo_native/inc_openoffice/windows/msi_languages/Langpack.ulf <http://installation.openoffice.org/source/browse/installation/instsetoo_native/inc_openoffice/windows/msi_languages/Langpack.ulf>
You need to add a block of the style:
[OOO_LANGPACK_NAME_1107]
en-US = "Khmer"
de = "Khmer" [OOO_LANGPACK_DESC_1107]
en-US = "Installs Khmer support in %PRODUCTNAME %PRODUCTVERSION"
de = "Khmer"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: http://www.microsoft.com/globaldev/reference/lcid-all.mspx
-------------------
setup_native/source/win32/msi-encodinglist.txt <http://installation.openoffice.org/source/browse/installation/setup_native/source/win32/msi-encodinglist.txt>
You need a line of the type
km 0 1107 # Khmer
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.
---------------
You also need to make sure that your language iso language code is present in:
officecfg/registry/data/org/openoffice/Office/Common.xcu <http://util.openoffice.org/source/browse/util/officecfg/registry/data/org/openoffice/Office/Common.xcu>
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 (HELP)
---------------------
In file scp2/source/ooo/file_ooo.scp <http://installation.openoffice.org/source/browse/installation/scp2/source/ooo/file_ooo.scp> file you need to make sure that - *if your language is a CTL language* - the file Common-ctl.xcu is installed, and *if it* is *a CJK language*, 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:
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";
* Name (km) = "/registry/spool/org/openoffice/Office/Common-ctl.xcu";*
End
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
