Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Environment: Mac OS X 10.7.2, Chrome 15.

This is how chrome://settings/languages looks like:

languages

When I right click on a text box and go to Spell-checker Options, I get a lot of languages there, but not Croatian.

options

If at chrome://settings/languages I click Use this language for spell checking for Croatian, then it appears at Spell-checker Options.

croatian

But if I switch back to English at Spell-checker Options, Croatian disappears.

options

I would like to be able to switch between English and Croatian, but I do not know how to set it up.

share|improve this question
add comment

1 Answer

As can be seen in the implementation of SpellCheckHost::GetSpellCheckLanguages(...), which is called when the menu is initialized, Chrome/Chromium first adds the currently selected spell-checking language to the list of spell-checking languages, and then iterates over the languages available for spell-checking in Mac OS X (implementation here).

Croatian is not one of the latter, as can be seen e.g. in the spell-checking options in Pages:

enter image description here


Which languages are enabled for spell-checking on the UI is provided is determined by line 402 here, which is ultimately provided with data from here.

So the issue here is that the two parts of the UI (spell-check context menu and languages selection in preferences) are using two different sets of spell-checkers to determine which languages are supported.


Using that menu to change the language removes it from the list. Unless you're willing to compile your own browser, or file a bug against Chrome on OS X, there's nothing you can do.

share|improve this answer
    
Thanks. I was hoping compiling the browser would not be necessary. :) –  Željko Filipin Dec 13 '11 at 20:57
    
@ŽeljkoFilipin Well, you can always file a bug with the developers. I might have provided you enough information to write a useful report, at least. –  Daniel Beck Dec 13 '11 at 21:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.