Hi Redlet, On Thu, Oct 27, 2005 at 16:22:17 +0200, Redlet wrote:
> I've read the document at > "http://l10n.openoffice.org/L10N_Framework/ooo20/openoffice_locale_.html". > This document says "OpenOffice requires that you place all the > cultural data for your language/region in a file that has a format > specific to OpenOffice" but it does not say where this file has to be > stored in the OpenOffice tree. Somehow I've the feeling that you mean the _installed_ OpenOffice.org product. You can't place an arbitrary locale data file there. The locale data has to be compiled into a shared library. If this is what you meant, the following holds: > I suppose this xx_XX.xml file must be included if a file which > contains other files. What is its name ? What directory should it be > stored in on the hard disk ? The name xx_YY.xml derives from the ISO codes that describe the locale, for xx use the lower case ISO 639-1 alpha-2 code, if available for your language, else the ISO 639-2 alpha-3 code. For YY use the upper case ISO 3166-1 alpha-2 code. The file must be placed as i18npool/source/localedata/data/xx_YY.xml and conform to i18npool/source/localedata/data/locale.dtd, read the comments there and take i18npool/source/localedata/data/en_US.xml as a template, for example. Also i18npool/source/localedata/localedata.cxx and i18npool/source/localedata/localedata/data/makefile.mk need some corresponding entries. What locale are we talking of here, anyway? For new locales we'll probably have to assign a MS-LCID value and define the corresponding mapping to the ISO codes as well. Eike -- OOo/SO Calc core developer. Number formatter bedevilled i18n transpositionizer. GnuPG key 0x293C05FD: 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
