How to submit new Locale Data

From Apache OpenOffice Wiki
Revision as of 00:50, 23 December 2008 by ErAck (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To be able to fully support a new language or locale or an already existing but not yet fully supported language/country combination as a locale, including number formats and calendar data, and having it selectable as default document language, OOo needs a locale data file.

Locale data files can quite easily be generated with the generator available at

For technical details and semantics of elements please see the generator's documentation and the comments in the locale data DTD file and as a sample locale data file for example the en_US locale

Note that several locale data elements may be inherited from another locale's data by means of the ref="..." attribute if they share identical data, which may come handy if locales are to be created for the same language but different countries that differ only in a few elements such as currency symbols. This would have to be done manually though. Doing so also reduces the memory footprint needed during runtime when the data libraries are loaded.

If you want to create and contribute a locale data file for your locale, you can either

  • Create the locale data file using the generator, login to the OOo website and then submit a new issue using this URL, where you say that it is available. We would then contact Alberto, whom you granted the right to contribute your data, see
  • Or create the locale data file, login to the OOo website and then submit a new issue using this URL, and attach the generated file to that issue.

    Please note that to integrate code or data contributed we need a signed Sun Contributor Agreement form (SCA) filled-out.

    This would be the preferred way if you plan to do other contributions that would need a signed SCA as well.

Personal tools