Apache OpenOffice (AOO) Bugzilla – Issue 90021
Allow Sámi languages as default document language
Last modified: 2017-05-20 11:13:48 UTC
The issues 82927 and 83565 requested that the Sámi languages were included in the language list box of OOo 2.4 and 3.x respectively. They are now added - thanks a lot! By logical/natural extension, it was assumed that they would also be made available as default document languages. That was not the case, and I am now filing a follow-up bug report to request this addition. The locales which should be available as default document languages are: #define LANGUAGE_SAMI_INARI 0x243B { LANGUAGE_SAMI_INARI, "smn", "FI" }, #define LANGUAGE_SAMI_LULE_NORWAY 0x103B { LANGUAGE_SAMI_LULE_NORWAY, "smj", "NO" }, #define LANGUAGE_SAMI_LULE_SWEDEN 0x143B { LANGUAGE_SAMI_LULE_SWEDEN, "smj", "SE" }, #define LANGUAGE_SAMI_NORTHERN_FINLAND 0x0C3B { LANGUAGE_SAMI_NORTHERN_FINLAND, "se", "FI" }, #define LANGUAGE_SAMI_NORTHERN_SWEDEN 0x083B { LANGUAGE_SAMI_NORTHERN_SWEDEN, "se", "SE" }, #define LANGUAGE_SAMI_NORTHERN_NORWAY 0x043B { LANGUAGE_SAMI_NORTHERN_NORWAY, "se", "NO" }, #define LANGUAGE_SAMI_SKOLT 0x203B { LANGUAGE_SAMI_SKOLT, "sms", "FI" }, #define LANGUAGE_SAMI_SOUTHERN_NORWAY 0x183B { LANGUAGE_SAMI_SOUTHERN_NORWAY, "sma", "NO" }, #define LANGUAGE_SAMI_SOUTHERN_SWEDEN 0x1C3B { LANGUAGE_SAMI_SOUTHERN_SWEDEN, "sma", "SE" }, #define LANGUAGE_USER_SAMI_KILDIN_RUSSIA 0x803B { LANGUAGE_USER_SAMI_KILDIN_RUSSIA, "sjd", "RU" },
If possible, it would be very welcome if this could be completed for 2.4.1 (for all but the sjd_RU locale, which should be targeted at 3.x). I have set the target milestone accordingly. Please change if it is not possible.
Adding a language to the language listbox makes it available for character attribution and spell-checking. To be able to fully support it as a locale, including number formats and calendar data, and having it selectable as default document language we would need a locale data file. You can easily generate a locale data file with the generator available at http://www.it46.se/localegen/ For technical details and semantics of elements please see the generator's documentation and the comments in the locale data DTD file http://l10n.openoffice.org/source/browse/l10n/i18npool/source/localedata/data/locale.dtd?view=markup and as a sample locale data file for example the en_US locale http://l10n.openoffice.org/source/browse/l10n/i18npool/source/localedata/data/en_US.xml?view=markup 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. Please note that to integrate code or data contributed we need a signed Contributor Agreement form (SCA) filled-out, see http://contributing.openoffice.org/programming.html#sca I'm setting keyword 'needhelp' and retargeting this issue to 'not determined' until the locale data will be available. The earliest possible inclusion of new locale data will be OOo3.1 Thanks Eike
Reset assigne to the default "issues@openoffice.apache.org".