Wordpress 2.8.6 Spell Check Languages
The most logical place to look, is in:
wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js
Changes made there however doesn’t reflect in the administration editor. You also need to make changes in:
/wp-admin/includes/post.php
By default, spell checker uses the google gmail engine. This does not support the norwegian language in my case. So I changed over to the pspell engine. This is what I did to make that work for me:
(on the server, a debian box)
// Check first if you already have your language available.
#aspell dicts
-bash: aspell: command not found// I did not, so I had to install it and make PHP support it as well.
#apt-get install aspell-no php5-pspell// Reload the apache web server to reflect PHP update.
#/etc/init.d/apache2 reload// Verify installation
#aspell dicts
nb
nn
no... Looks good.
Next you change the engine in this file:
/wp-includes/js/tinymce/plugins/spellchecker/config.php
from: $config['general.engine'] = ‘GoogleSpell’;
to: $config['general.engine'] = ‘PSpell’;
That’s it.
Leave a Reply
Welcome to Thronic.com
Search this Site
Miscellaneous Links
Recent Articles
- Linux Bash Color
- Resize a div layer with javascript
- Moving a div layer with javascript
- Web Galaxy » A sci-fi browser game
- Windows 7 on Asus Eee 900 PC
- IE and PHP sessions
- Wordpress 2.8.6 Spell Check Languages
- Reset MySQL Root Password
- Linux hosts file
- IdleGuard
- Column count in SQL
- String encryption in PHP
- Alphanumeric Captcha values in PHP
- Your own numeric Captcha in PHP
- DHTML Flyout Menus
