[libvoikko] Mozvoikko needs to be signed and reviewed at addons.mozilla.org

Sjur Moshagen sjurnm at mac.com
Thu Aug 20 09:28:36 EEST 2015

19. aug. 2015 kl. 18:31 skrev Andris Pavenis <andris.pavenis at iki.fi>:
> On 08/19/2015 09:57 AM, Sjur Moshagen wrote:
>> * what is the best way to manage (AMO) support for many languages using the same Mozvoikko codebase?
> One of ways could be add additional language data files in a separate extension which registers them for core Mozvoikko extension to use (similarly like Mozvoikko registers itself as an external spellchecker). Mozvoikko could then look-up entries in some category like mozvoikko-language defined by language data extensions and add these languages to supported ones.
> Language data extension could have something like
> category mozvoikko-language @foo.bar;1 foo
> om chrome.manifest. Language data extension should not need anything executable at all.
> There could problems with this as it's against recommendations
> https://developer.mozilla.org/en-US/Add-ons/Extension_etiquette
> I think however that this case could be exception when  such dependencies could be acceptable. One may need however convince somebody in AMO (hopefully not for any new update)

This sounds like a good idea to me to avoid code duplication, too much administration for AMO extensions and flexibility for the end users, at least as an addition to the possibility to download and install speller dictionaries manually.

With this addition, speller language support initialisation would be something like this:

* check for extensions of category mozvoikko-language, add all languages found
* ask libvoikko for additional languages in the regular locations, skipping languages already provided by an extension

It does require that support for a system like this is added to Mozvoikko. I do not have the competence to do that - do any of the mozvoikko devepers have the time and possibility to look into this?


More information about the Libvoikko mailing list