[Libreoffice] [PUSHED][PATCH] Support Komi-Zyrian and Komi-Permyak as text language for spell checking

Eike Rathke erack at redhat.com
Tue Jan 31 15:49:01 PST 2012

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

with some corrections, see

> 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

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.


LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120201/60246a1c/attachment.pgp>

More information about the LibreOffice mailing list