Please, support using multiple dictionaries depending on the page content.
Some wiki provide some contents in multiple language (thanks the configuration entry language_default = 'en' and/or the statements #language de).
Currently, moin looks for a single dictionary file, named dict in the config or in the data directory. It would be nice if moin could use the sensible dictionary, based on the value of #language de.
I have looked at get_browser_language in MoinMoin/i18n/__init__.py, and it should be easy to pick the appropriate dictionary:
Implementation idea:
action/SpellCheck.py imports MoinMoin/i18n/__init__.py
write a function like get_browser_language, testing if a file named ./dict.$language exists.
- Use the selected dictionary for spell checking
Maybe rather use a clientside spellchecker.
Discussion
What should be done with pages in multiple languages? For example, in russian with english quotations and command logs? Now we can set only one language for page, and can't set language for transclusions/block inclusions (until i'll (or anyone else write and) merge appropriate patch, at least). -- EugeneSyromyatnikov 2010-04-20 07:52:33