Hi Harri, On Saturday, 2012-01-28 14:01:52 +0200, Harri Pitkänen wrote:
Attached patch (against master) adds two new languages (Komi-Zyrian and Komi-Permyak) to the list of possible text languages. Please check if the language codes I added to i18npool/inc/i18npool/lang.h are correct.
Thanks, pushed to master http://cgit.freedesktop.org/libreoffice/core/commit/?id=38b94d743eceb7bcc69acbed0207a51f780dbd4c with some corrections, see http://cgit.freedesktop.org/libreoffice/core/commit/?id=4bee7187cd8df7b6e8f71b4c45ef6af7af837f2c
I could not find these languages in any Microsoft language lists. These languages are very closely related and Komi-Zyrian is the more widely used so I used the same pattern for language codes as is used with LANGUAGE_USER_TETUN and LANGUAGE_USER_TETUN_TIMOR_LESTE.
The difference between the Tetun cases and the Komi cases is that the two Tetun are the same language (ISO code 'tet') in different countries (ISO codes 'ID' and 'TL') so share the same MS primary language ID but have different MS sublanguage ID, whereas the two Komi are distinct languages (ISO codes 'koi' and 'kpv') so get already different MS primary language IDs (in the proper range, see my patch). Also added country 'RU' to the mapping table for both languages.
With this patch I was able to select these languages as text languages and I even got a prototype spell checker (based on http://giellatekno.uit.no/doc/lang/kom/index.html) working with them.
Great! The spell checker is associated using the language ISO codes, so that had to work regardless how the MS-LCID was constructed as long as the primaries were distinguishable. Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
Attachment:
pgpP3DYByvZcu.pgp
Description: PGP signature