On 18/08/2014 Maria Hartmann wrote:
Thanks a lot for your tips - it looks much better know, because the
name of the extension and the publishers name is shown in the
extension manager.
Hello Maria, thanks for your patience. Does the extension work better now?
No, I didnt know that the language
has to be available as a document language. Where can I check it? I
see "Rätoromanisch" as a possible language during the import of a
document to OpenOffice writer.
It's here:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svtools/source/misc/langtab.src
and indeed you will see that we have an entry for "Rhaeto-Romance".
But the spell checker I wrote is for a
variety of Rätoromanisch. I cant imagine that Sursilvan is supportet.
We can support a variety of languages as "unofficial" languages (where
I'm not sure there is a precise definition, or that it depends on any
reasonable factor other than Microsoft having assigned an ID for it on
Windows). You will see them appear as "user" languages here:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/i18npool/inc/i18npool/lang.h
If you have any more information about Sursilvan (does it have an ISO
639 code? See http://en.wikipedia.org/wiki/List_of_ISO_639-3_codes ) we
can look at it deeper.
Is it a problem? Would my spell checker work even though it isnt a
document language? What does it mean to be a document language?
A spell checker can only work if the language it attaches to is an
allowed document language and if the corresponding text (select, then
Format - Character) is set to be in that language.
So to have a working spell checker for Rhaeto-Romanic you will have to
specify in description.xml that it applies to rm_CH, see
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/i18npool/source/isolang/isolang.cxx#195
Or we'll have to find if Sursilvan has some codes that we can use and
try to add support for them to the next version of OpenOffice. But in
the short term you'd better edit the extension and try to apply it to rm_CH.
A tip: while developing extensions, at times things can go wrong and you
may be left with extensions that can't be uninstalled or updated. The
simplest (even if it's not the most elegant) way to get around it is to
reset your user profile. See
https://forum.openoffice.org/en/forum/viewtopic.php?p=58403
If you make any further steps, please share your oxt package again and
we can look at it.
Regards,
Andrea.
---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org
For additional commands, e-mail: l10n-h...@openoffice.apache.org