Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Scayt spellchecker currently uses the interface language for the spelling dictionary. If you are using a single interface language to edit nodes of multiple languages this is not efficient. The scayt language should be set to the node language, if it's supported by Scayt.
Attached is a patch which adds this functionality. The patch adds the node language to the body form element and that is used to add the scayt_sLang setting. Scayt seems to require a language_locale code so a rudimentary conversion function is added for this purpose. There is probably a better method but it works.
Comment | File | Size | Author |
---|---|---|---|
ckeditor.module.diff | 1.75 KB | tangent | |
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commented@tangent, really thx for patch, we will check it asap...
Greetings
Comment #2
tangent CreditAttribution: tangent commentedI would really like to get this committed because the functionality is needed for my site. Please review or commit it to -dev.
Comment #3
dczepierga CreditAttribution: dczepierga commentedOk i check that, make some changes in your patch and commit it to GIT.
Thx for patch and good work.
Pls try the last DEV version and write does it works for u or not.
Greetings
Comment #4
dczepierga CreditAttribution: dczepierga commentedComment #5
mkesicki CreditAttribution: mkesicki commented