I'm using LinguaPlone 4.1.3 with an instance of Plone 4.3 and upon hitting "Translate into..." and choosing one of the languages, on the following editing screen the TinyMCE editor does not show up.
I'm able to switch to Plone output HTML in the dropdown menu there on the right, and it gives me just the HTML box. However, none of the options display the TinyMCE editor. When editing normal pages (i.e. not translated content), TinyMCE works fine — it's set as the default for the site, and also the default in my personal preferences.
Any ideas to fix this or what to look for would be great! On another site on this same Plone instance, the translation functionality works fine (TinyMCE shows up as it should).
Also, in case it helps, here's the output HTML for the area where the editor would be. Thanks!
<div data-fieldname="text" data-uid="c61b5fcb98874fe3a3cf16538bcf88e3" id="archetypes-fieldname-text" class="field ArchetypesRichWidget ">
<span></span>
<label for="text" class="formQuestion">
Body Text
<span id="text_help" class="formHelp"></span>
</label>
<div class="fieldErrorBox"></div>
<div class="fieldTextFormat">
<label>Text Format</label>
<select name="text_text_format" id="text_text_format" tabindex="-1">
<option value="text/html" selected="selected">HTML</option>
<option value="text/x-web-textile">Textile</option>
<option value="text/x-plone-outputfilters-html">Plone Output Filters HTML</option>
</select>
</div>
<div>
<div>
<textarea data-mce-config="{"link_shortcuts_html": ["\n <img src=\"img/home.png\" />\n <a id=\"home\" href=\"http://169.237.124.123:8082/ChinaApple\">Home</a>\n ", "\n <img src=\"img/folder_current.png\" />\n <a id=\"currentfolder\" href=\"http://169.237.124.123:8082/ChinaApple/improving-information-use/improving-information-use-zh\">Current Folder</a>\n "], "theme": "advanced", "theme_advanced_path_location": "bottom", "entity_encoding": "raw", "plugins": "advhr,definitionlist,directionality,emotions,fullscreen,inlinepopups,insertdatetime,media,nonbreaking,noneditable,pagebreak,paste,plonebrowser,ploneinlinestyles,plonestyle,preview,print,save,searchreplace,tabfocus,table,visualchars,xhtmlxtras,contextmenu", "theme_advanced_path": false, "allow_captioned_images": true, "atd_rpc_id": "Products.TinyMCE-admin", "theme_advanced_source_editor_height": 400, "directionality": "ltr", "table_styles": "Fancy listing=listing;Invisible grid=invisible", "theme_advanced_resizing": true, "theme_advanced_buttons2": "link,unlink,anchor,tablecontrols,code,fullscreen", "theme_advanced_buttons3": "", "theme_advanced_buttons1": "style,bold,italic,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,definitionlist,outdent,indent,image", "theme_advanced_buttons4": "", "buttons": ["style", "bold", "italic", "justifyleft", "justifycenter", "justifyright", "justifyfull", "bullist", "numlist", "definitionlist", "outdent", "indent", "image", "link", "unlink", "anchor", "tablecontrols", "code", "fullscreen"], "document_url": "http://169.237.124.123:8082/ChinaApple/improving-information-use/improving-information-use-zh", "autoresize": false, "valid_inline_styles": "text-align,list-style-type,float,padding-left", "toolbar_width": 440, "language": "zh", "mode": "exact", "theme_advanced_styles": "[{ title: \"Text\", tag: \"\", className: \"-\", type: \"Text\" },{ title: \"Normal paragraph\", tag: \"p\", className: \" \", type: \"Text\" },{ title: \"Call-out\", tag: \"p\", className: \"callout\", type: \"Text\" },{ title: \"Clear floats\", tag: \"div\", className: \"visualClear\", type: \"Text\" },{ title: \"Heading\", tag: \"h2\", className: \" \", type: \"Text\" },{ title: \"Literal\", tag: \"pre\", className: \" \", type: \"Text\" },{ title: \"Pull-quote\", tag: \"blockquote\", className: \"pullquote\", type: \"Text\" },{ title: \"Subheading\", tag: \"h3\", className: \" \", type: \"Text\" },{ title: \"Selection\", tag: \"\", className: \"-\", type: \"Selection\" },{ title: \"(remove style)\", tag: \"\", className: \"\", type: \"Selection\" },{ title: \"Discreet\", tag: \"span\", className: \"discreet\", type: \"Selection\" },{ title: \"Highlight\", tag: \"span\", className: \"visualHighlight\", type: \"Selection\" },{ title: \"Tables\", tag: \"table\", className: \"-\", type: \"Tables\" },{ title: \"Plain cell\", tag: \"td\", className: \" \", type: \"Tables\" },{ title: \"Fancy listing\", tag: \"table\", className: \"listing\", type: \"Tables\" },{ title: \"Invisible grid\", tag: \"table\", className: \"invisible\", type: \"Tables\" },{ title: \"Even row\", tag: \"tr\", className: \"even\", type: \"Tables\" },{ title: \"Heading cell\", tag: \"th\", className: \" \", type: \"Tables\" },{ title: \"Odd row\", tag: \"tr\", className: \"odd\", type: \"Tables\" },{ title: \"Lists\", tag: \"ul\", className: \"-\", type: \"Lists\" },{ title: \"Lists\", tag: \"ol\", className: \"-\", type: \"Lists\" },{ title: \"Lists\", tag: \"dl\", className: \"-\", type: \"Lists\" },{ title: \"Lists\", tag: \"dl\", className: \" \", type: \"Lists\" },{ title: \"Circle\", tag: \"ul\", className: \"listTypeCircle\", type: \"Lists\" },{ title: \"Definition description\", tag: \"dd\", className: \" \", type: \"Lists\" },{ title: \"Definition term\", tag: \"dt\", className: \" \", type: \"Lists\" },{ title: \"Disc\", tag: \"ul\", className: \"listTypeDisc\", type: \"Lists\" },{ title: \"Lower Alpha\", tag: \"ol\", className: \"listTypeLowerAlpha\", type: \"Lists\" },{ title: \"Lower Roman\", tag: \"ol\", className: \"listTypeLowerRoman\", type: \"Lists\" },{ title: \"Numbers\", tag: \"ol\", className: \"listTypeDecimal\", type: \"Lists\" },{ title: \"Square\", tag: \"ul\", className: \"listTypeSquare\", type: \"Lists\" },{ title: \"Upper Alpha\", tag: \"ol\", className: \"listTypeUpperAlpha\", type: \"Lists\" },{ title: \"Upper Roman\", tag: \"ol\", className: \"listTypeUpperRoman\", type: \"Lists\" },{ title: \"Print\", tag: \"\", className: \"-\", type: \"Print\" },{ title: \"Page break (print only)\", tag: \"div\", className: \"pageBreak\", type: \"Print\" }]", "theme_advanced_toolbar_align": "left", "media_strict": false, "body_id": "content", "labels": {"label_style_ldots": "Style...", "label_addnewimage": "Add new Image", "label_browseimage": "Image Browser", "label_paragraph": "Normal paragraph", "label_print": "Print", "label_search_results": "Search results:", "label_internal_path": "you_are_here", "label_no_items": "No items in this folder", "label_browser": "Browser", "label_shortcuts": "Shortcuts", "label_addnewfile": "Add new File", "label_styles": "(remove style)", "label_tables": "Tables", "label_selection": "Selection", "label_browselink": "Link Browser", "label_text": "Text", "label_lists": "Lists", "label_no_anchors": "No anchors in this page", "label_plain_cell": "Plain cell"}, "rooted": false, "navigation_root_url": "http://169.237.124.123:8082/ChinaApple", "theme_advanced_source_editor_width": 600, "document_base_url": "http://169.237.124.123:8082/ChinaApple/improving-information-use/", "theme_advanced_resizing_use_cookie": true, "fix_list_elements": false, "inlinepopups_skin": "plonepopup", "portal_url": "http://169.237.124.123:8082/ChinaApple", "valid_elements": "i[class|dir|id|style|title],article[class|dir|id|style|title],a[accesskey|charset|class|coords|dir|href|hreflang|id|name|rel|rev|shape|style|tabindex|target|title|type],object[align|archive|class|classid|codebase|codetype|data|declare|dir|height|hspace|id|name|standby|style|tabindex|title|type|usemap|vspace|width],q[cite|class|dir|id|style|title],u[class|dir|id|style|title],bdo[class|dir|id|style|title],hgroup[class|dir|id|style|title],acronym[class|dir|id|style|title],ul[class|compact|dir|id|style|title|type],var[class|dir|id|style|title],sup[class|dir|id|style|title],colgroup[align|char|charoff|class|dir|id|span|style|title|width],embed[*],col[align|char|charoff|class|dir|id|span|style|title|width],sub[class|dir|id|style|title],nav[class|dir|id|style|title],strong[class|dir|id|style|title],map[class|dir|id|name|title],datalist[class|dir|id|style|title],address[class|dir|id|style|title],tfoot[align|char|charoff|class|dir|id|style|title],dd[class|dir|id|style|title],ruby[class|dir|id|style|title],dl[class|compact|dir|id|style|title],video[class|dir|id|style|title],#p[align|class|dir|id|style|title],dt[class|dir|id|style|title],footer[class|dir|id|style|title],body[alink|background|class|dir|id|link|style|text|title|vlink],meter[class|dir|id|style|title],area[accesskey|alt|class|coords|dir|href|id|nohref|shape|style|tabindex|target|title],dialog[class|dir|id|style|title],html[dir|id|xmlns],small[class|dir|id|style|title],cite[class|dir|id|style|title],details[class|dir|id|style|title],header[class|dir|id|style|title],aside[class|dir|id|style|title],del[cite|class|datetime|dir|id|style|title],keygen[class|dir|id|style|title],figure[class|dir|id|style|title],audio[class|dir|id|style|title],abbr[class|dir|id|style|title],canvas[class|dir|id|style|title],mark[class|dir|id|style|title],br[class|clear|id|style|title],div[align|class|dir|id|style|title],table[align|class|dir|id|style|summary|title],command[class|dir|id|style|title],caption[align|class|dir|id|style|title],source[class|dir|id|style|title],samp[class|dir|id|style|title],rt[class|dir|id|style|title],tt[class|dir|id|style|title],thead[align|char|charoff|class|dir|id|style|title],tr[align|char|charoff|class|dir|id|style|title],meta[content|dir|http-equiv|id|name|scheme],tbody[align|char|charoff|class|dir|id|style|title],td[abbr|align|axis|char|charoff|class|colspan|dir|headers|id|nowrap|rowspan|scope|style|title],output[class|dir|id|style|title],ol[class|compact|dir|id|style|title|type],th[abbr|align|axis|char|charoff|class|colspan|dir|headers|id|nowrap|rowspan|scope|style|title],blockquote[cite|class|dir|id|style|title],b[class|dir|id|style|title],span[class|dir|id|style|title],title[dir|id],time[class|dir|id|style|title],iframe[align|class|dir|frameborder|height|id|longdesc|marginheight|marginwidth|name|scrolling|src|style|title|width],dfn[class|dir|id|style|title],img[align|alt|class|dir|height|hspace|id|ismap<ismap|longdesc|name|src|style|title|usemap|vspace|width],ins[cite|class|datetime|dir|id|style|title],hr[align|class|dir|id|noshade|size|style|title|width],progress[class|dir|id|style|title],h6[align|class|dir|id|style|title],em[class|dir|id|style|title],base[href|id|target],script[charset|defer|id|language|src|type],pre[class|dir|id|style|title|width],kbd[class|dir|id|style|title],section[class|dir|id|style|title],rp[class|dir|id|style|title],li[class|dir|id|style|title|type],head[dir|id|profile],code[class|dir|id|style|title],h3[align|class|dir|id|style|title],h2[align|class|dir|id|style|title],h1[align|class|dir|id|style|title],param[id|name|type|value|valuetype],h5[align|class|dir|id|style|title],h4[align|class|dir|id|style|title],big[class|dir|id|style|title]", "content_css": "http://169.237.124.123:8082/ChinaApple/portal_tinymce/##tinymce-getstyle", "theme_advanced_resize_horizontal": false, "link_using_uids": true, "atd_ignore_strings": "Zope,Plone,TinyMCE", "contextmenu": true, "livesearch": true, "body_class": "documentContent", "thumbnail_size": ["tile", 64, 64], "skin": "plone", "anchor_selector": "h2,h3", "atd_show_types": "Bias Language,Cliches,Complex Expression,Diacritical Marks,Double Negatives,Hidden Verbs,Jargon Language,Passive voice,Phrases to Avoid,Redundant Expression", "atd_rpc_url": "http://169.237.124.123:8082/ChinaApple/##", "script_url": "http://169.237.124.123:8082/ChinaApple/tiny_mce_gzip.js", "customplugins": ["plonebrowser"], "num_of_thumb_columns": 4, "table_firstline_th": true, "image_shortcuts_html": ["\n <img src=\"img/home.png\" />\n <a id=\"home\" href=\"http://169.237.124.123:8082/ChinaApple\">Home</a>\n ", "\n <img src=\"img/folder_current.png\" />\n <a id=\"currentfolder\" href=\"http://169.237.124.123:8082/ChinaApple/improving-information-use/improving-information-use-zh\">Current Folder</a>\n "], "theme_advanced_toolbar_location": "top", "gecko_spellcheck": true}" data-pattern="plone-tinymce" class="mce_editable" id="text" name="text" rows="25" cols="40" style="visibility: hidden;"></textarea>
<div style="margin-top: -1em; display: none;" class="discreet suppressVisualEditor">
<a href="http://169.237.124.123:8082/ChinaApple/improving-information-use/improving-information-use-zh/translate_item?tinymce.suppress=text&">
Edit without visual editor
</a>
</div>
</div>
</div>
<div class="fieldUploadFile">
<span class="discreet">or upload a file (existing content will be replaced)</span>
<input type="file" name="text_file" id="text_file" size="30" originalvalue="">
</div>
</div>
The JS debug console says:
Failed to load: http://169.237.124.123:8082/ChinaApple/langs/zh.js
#eleddy solved it!! Here's her response:
Yo yo yoes! For those who don't know, Chinese (China) is a combined language so you have to go into the portal_language tool in the ZMI and check the box that says "Allow combined languages", then the other Chinese will show up. Two bottles of celebration beer later and you are Chinesing all over the place.
Simplified Chinese(zh_CN) is usually called for short Chinese(zh)
In view ##language-controlpanel
Available languages (The languages in which the site should be translatable.)
Selected 'Chinese (China)' rather than 'Chinese'.