translate / virtaal

Easy-to-use and powerful offline translation tool
https://virtaal.translatehouse.org
GNU General Public License v2.0
300 stars 58 forks source link

Make spell checking a plugin #1125

Closed friedelwolff closed 14 years ago

friedelwolff commented 15 years ago

Version: 0.4.0

Khaled requested for the ability to disable spell checking. His case is easy to understand (very slow spell checker), but in general I would prefer the spell checker to just work. It might also be useful for languages where the spell checker isn't all that useful.

If we make it configurable, I guess it could be a plug-in which should simply not show up in the list on platforms where we don't have gtkspell and pyenchant. If we do this, it will cause extra strings for translation, so we should check with the release schedule.

friedelwolff commented 15 years ago

This just became a bit more interesting. We managed to get the spell checking working on Windows, but we probably want to provide some configuration.

Users should be able to "open"/"install" an OOo .oxt extension, a Mozilla .xpi extension, or the old OOo ZIP files with the Hunspell files in them. We should then install it in the appropriate location for Enchant to pick up. More detail here: http://palaso.org/archives/45

As soon as this is working well, we probably also want to look into making the plugin hack the editing context menu to remove the submenu with the languages for the spell checker. It just clutters the menu, and we provide a different mechanism for it in the language selector.

friedelwolff commented 14 years ago

Watch this space.

friedelwolff commented 14 years ago

This is implemented in SVN trunk with revision 14789.