Makes is possible to surround contents with <span lang> elements. This is an important requirement for accessibility purposes.
Screenshots
License
Licensed under the terms of any of the following licenses at your choice: GPL, LGPL and MPL.
Download
Languages Plugin 1.0:
download link
Installation
1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'languages'; // The languages you want to support (code:name). config.languages = [ 'fr:French', 'es:Spanish', 'it:Italian' ];
Re: Language Semantics
Will try to test it with the Drupal CKeditor module.
Re: Language Semantics
Re: Language Semantics
The button won't appear in the toolbar, even if I added it myself in the configuration-file.
Any ideas?
Re: Language Semantics
This plugin has been created and tested with CKEditor 3.6.2 (latest). The screenshot in fact comes from it.
Be sure to have performed the proper installation steps... and remember to cleanup your browser cache when making changes to config.js.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Language Semantics
This plugin is now available on GitHub:
https://github.com/fredck/CKEditor-Languages-Plugin
Go ahead forking it and contributing!
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
This plugin is not working
This plugin is not working for me. No result after selecting a language on selected text. What can i do??
additional plugins also required?
Hello,
I think the plugin also requires additional plugins that are no longer present in the full version of CKE (e.g. 4.0.2). I gather this from the plugin code line :
I found button on the Addons-page, but had to extract styles from CKE 3.6.2....
[On a side note: I am surprised that this plugin isn't part of the "standard" package, as it should be, since it is a must-have for any accessibility-orientated WYSIWYG-Editor. Being able to mark up the language of parts is crucial for understandable screen reader output! Thus it would be great if someone who has an idea how all the CK-parts go together could update the languages plugin and realy, add it to the respectively newest versions, PLEASE!]
That said, I am planning to use CKE hooked into Drupal via the CKE-module, but am unfortunately also having problems getting extra plugins to function fully:
the CKE-module allows me to enable them, but button icons and functionality are not added in. This happens for this languages addon as well as for htmlbuttons.
Any ideas where the problem could lie, or how I can troubleshoot to find that out, would be welcome, as I have successlessly been combing the issue queues on Drupal as well as the CK-forums for any pointers as to how to proceed.
Thanks!
Workaround to enable Languages plugin in v4.x
I have just discovered that the plugin works fine in v 4.0.2 if one removes the line requiring the other plugins.
I am assuming the same is true of all v4.x versions, which also makes integrating this plugin into the "standard" package of all new versions a breeze!
On a side note:
it has turned out that the problems adding extra plugins in Drupal via the CK-Module's configuration interface aren't plugin-related but rather arise from some issue with the interface's Drag&Drop feature. Disabling the feature and adding the plugin to the toolbar config manually works around the problem for now.