{"id":11075,"date":"2010-11-02T18:21:24","date_gmt":"2010-11-02T18:21:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mce-accessible-language-change\/"},"modified":"2016-09-24T15:56:01","modified_gmt":"2016-09-24T15:56:01","slug":"mce-accessible-language-change","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mce-accessible-language-change\/","author":7306415,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1","stable_tag":"trunk","tested":"4.8.28","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"MCE Accessible Language Change","header_author":"Sylvia Egger (developer@sprungmarker.de)","header_description":"","assets_banners_color":"b9b9b9","last_updated":"2016-09-24 15:56:01","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/sprungmarker.de","header_plugin_uri":"http:\/\/sprungmarker.de","header_author_uri":"http:\/\/sprungmarker.de","rating":0,"author_block_rating":0,"active_installs":50,"downloads":7763,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.1":"<p>If your are using IE, you should upgrade.<\/p>","2.0":"<p>Plugin is rewritten and completely adapted to TinyMCE 4 - Upgrade for WP 3.9 and above.<\/p>","1.2":"<p>Plugin was not working in TinyMCE 4 anymore - Upgrade immediately.<\/p>","1.1":"<p>This was a path fix - you should upgrade.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"975833","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"975902","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"975902","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"975902","resolution":"3","location":"assets"}},"screenshots":{"1":"The editor with the new button for language change.","2":"The editor popup showing language change options.","3":"The editor with selected text and lang attribute marked with CSS (visual \/ text mode)."}},"plugin_section":[],"plugin_tags":[1953,1985,172,1332,1385],"plugin_category":[34,46,48],"plugin_contributors":[86830],"plugin_business_model":[],"class_list":["post-11075","plugin","type-plugin","status-closed","hentry","plugin_tags-accessibility","plugin_tags-accessible","plugin_tags-buttons","plugin_tags-editor","plugin_tags-language","plugin_category-accessibility","plugin_category-editor-and-writing","plugin_category-language-tools","plugin_contributors-sprungmarker","plugin_committers-sprungmarker"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mce-accessible-language-change_b9b9b9.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/mce-accessible-language-change\/assets\/screenshot-1.png?rev=975902","caption":"The editor with the new button for language change."},{"src":"https:\/\/ps.w.org\/mce-accessible-language-change\/assets\/screenshot-2.png?rev=975902","caption":"The editor popup showing language change options."},{"src":"https:\/\/ps.w.org\/mce-accessible-language-change\/assets\/screenshot-3.png?rev=975902","caption":"The editor with selected text and lang attribute marked with CSS (visual \/ text mode)."}],"raw_content":"<!--section=description-->\n<p>Adds language change button in the WordPress WYSIWYG editor. (WCAG, BITV)<\/p>\n\n<p>A very light weight plug-in for inserting language change. The button will\nbe added in the first row of the editor.<\/p>\n\n<p>Just highlight the word or phrase or insert the cursor in the text, then click on the language button.\nFill out the form:<\/p>\n\n<ul>\n<li>Add the appropriate language code for the phrase or text (e.g. 'fr' for a french word or phrase)<\/li>\n<li>Only for links: Add the appropriate language code for the link target (e.g. 'fr' for a french word or phrase)<\/li>\n<li>If you want to delete lang attributes, activate the checkbox. But you can just empty the language code field.<\/li>\n<\/ul>\n\n<p>Click \"OK\" and you get the the following:<\/p>\n\n<ul>\n<li>If you just inserted the cursor in the text, you get a lang attribute for the parent element.<\/li>\n<li>If you highlight a word or phrase, you get a span element with lang attribute surrounding the selected text.<\/li>\n<li>For links you get a lang attribute and in case a href lang attribute.<\/li>\n<\/ul>\n\n<p>The plugin is localized for:<\/p>\n\n<ul>\n<li>english<\/li>\n<li>german<\/li>\n<li>spanish<\/li>\n<li>french<\/li>\n<li>italian<\/li>\n<\/ul>\n\n<p>Please let me know if you would like additional localizations added. And of course if you want to improve included translations (developer @ sprungmarker.de)<\/p>\n\n<p><strong>Note<\/strong><\/p>\n\n<p>If your WP Version is <strong>under 3.9<\/strong> you have to download plugin version <strong>1.2.<\/strong> in <a href=\"http:\/\/wordpress.org\/plugins\/mce-accessible-language-change\/download\/\">downloads<\/a>.\nVersion 1.2. does not work properly in IE.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>mce-accessible-language-change<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the \\'Plugins\\' menu in WordPress<\/li>\n<li><p>To show your language change in a visual way in the editor - not on your website:<\/p>\n\n<p>You have to do nothing - the file in css &gt; changelang.css will do everything for you.<\/p>\n\n<p>If you can not see any visual change, you probably have a file named editor-styles.css in your WordPress theme.\nIf 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.<\/p><\/li>\n<\/ol>\n\n<p>CSS styles to add:<\/p>\n\n<pre><code>[lang] {\n     background: #f8f8f8;\n     border: 1px solid #d2d0ce;\n     padding: 2px;\n }\n\n a[hreflang] {\n     background: #f8f8f8;\n     border: 1px solid #d2d0ce;\n     border-right: 5px solid #BF8EC8;\n     padding: 2px;\n     color: #9C2E16;\n }\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>mce-accessible-language-change<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the \\'Plugins\\' menu in WordPress<\/li>\n<li><p>To show your language change in a visual way in the editor - not on your website:<\/p>\n\n<p>You have to do nothing - the file in css &gt; changelang.css will do everything for you.<\/p>\n\n<p>If you can not see any visual change, you probably have a file named editor-styles.css in your WordPress theme.\nIf 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.<\/p><\/li>\n<\/ol>\n\n<p>CSS styles to add:<\/p>\n\n<pre><code>[lang] {\n     background: #f8f8f8;\n     border: 1px solid #d2d0ce;\n     padding: 2px;\n }\n\n a[hreflang] {\n     background: #f8f8f8;\n     border: 1px solid #d2d0ce;\n     border-right: 5px solid #BF8EC8;\n     padding: 2px;\n     color: #9C2E16;\n }\n<\/code><\/pre><\/dd>\n<dt>No questions right now<\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>=2.1=<\/p>\n\n<ul>\n<li>IE fix editor CSS<\/li>\n<\/ul>\n\n<p>=2.0=<\/p>\n\n<ul>\n<li>Completely rewritten for TinyMCE 4.<\/li>\n<\/ul>\n\n<p>=1.2=<\/p>\n\n<ul>\n<li>Small fix for new version of TinyMCE.<\/li>\n<\/ul>\n\n<p>=1.1=<\/p>\n\n<ul>\n<li>Path corrections for TinyMCE.<\/li>\n<\/ul>\n\n<p>=1.0=<\/p>\n\n<ul>\n<li>First release<\/li>\n<li>Minor changes renaming files according to the name of zip file.<\/li>\n<\/ul>","raw_excerpt":"Adds language change button in the WordPress WYSIWYG editor. (WCAG, BITV)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11075"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sprungmarker"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11075"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11075"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11075"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11075"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11075"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}