Attention: Currently there is a bug in IE and therefor the plugin is not working correctly in IE.
I am working on it to get it running in IE as soon as possible ...
Adds language change buttons in the WordPress WYSIWYG editor.
A very light weight plug-in with two button for adding language change. The buttons will
be added in the first row of the editor.
First you can add language changeon the basis of an span element. Just highlight the word
or phrase you want to add language change, klick on the "lang" button an add the appropriate
language (e.g. "fr" for a french word or phrase).
Second you can add language change to existing html elements as paragraphs, headlines and links.
Just klick in the context of a block element, klick on the button "lang attr" and add the appropriate language
(e.g. "fr" for a french word or phrase).
The plugin ist localized for englisch and german; please let me know if you would like additional
localizations added.
Hoping to add more features in a future update.
- Upload
mce-accessible-language-change
folder to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- To show your language change in a visual way in the editor - not on your website:
You have to do nothing for it - the file in css > changelang.css will do everything for you.
If you can not see any visual change, you probably have a file named editor-styles.css in your WordPress theme.
If you have already an file named editor-style.css in your theme, you have to copy the styles below into your editor-styles.css to get your language changes visible in the editor.
CSS styles to add:
span[lang], .lang { background: #f8f8f8; border: 1px solid #d2d0ce; padding: 2px; }