[Libreoffice] [PUSHED][PATCH] Support Komi-Zyrian and Komi-Permyak as text language for spell checking
erack at redhat.com
Tue Jan 31 15:49:01 PST 2012
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
> 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.
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
Size: 198 bytes
Desc: not available
More information about the LibreOffice