nedelja, 06. oktober 2013

Slovenian (or custom) language spellchecker in your Chrome browser on Mac

Do you want to set up language spellchecker in your browser?

Spell checking is part of OS and not part of your browser (e.g. chrome).

How to do it on MAC
On your mac you have to add new language files.  In System Preferences -> Language&Text -> Spelling. Check if your language is already in the list ... If not you need to download dictionary file and put it into your system.

You can get Slovenian (or other) dictionary file from OpenOffice.org. Go to:
http://extensions.services.openoffice.org/en/search?query=slovenian&sort_by=field_project_stats_year&sort_order=DESC

Now download most popular extension file for your language. File type of downloaded file is ".oxt". Simply rename extension to ".zip". Now you can view the contents of the file.

Copy and paste .dic and .aff file to your library/Spelling folder (go to finder->Go, now click alt on your keyboard so "Library" folder will appear.



Now restart your browser (for me, new language didn't show up until doing this). You should also rearrange your spelling languages in System preferences in order to give higher priority to your new language. 

I still had to manually select language in my browser -> automatic detection of language works very poorly (BUG -> star or comment issue - it will be resolved faster). 
Click on any textarea -> Spelling and Grammar -> and change "automatic selection" to your language.