Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You have to download your <a href="http://www.tinymce.com/i18n/index.php?ctrl=lang&amp;act=download" rel="nofollow">language pack</a> and unzip it.<br> Then you have to put every single js file in the corresponding folder of your tinymce folder.<br> You have to specify the <a href="http://www.tinymce.com/wiki.php/Configuration%3alanguage" rel="nofollow">language</a> as well.<br> If you're using <a href="http://www.tinymce.com/wiki.php/jQuery_Plugin" rel="nofollow">TinyMCE - jQuery Plugin</a> you have to do something like this:</p> <pre><code>// Initializes all textareas with the tinymce class $(document).ready(function() { $('textarea.tinymce').tinymce({ script_url : '../js/tinymce/jscripts/tiny_mce/tiny_mce.js', theme : "advanced", language: "hi", ... }); }); </code></pre> <p>If you want to remove tinyMCE (and I guess you have to do it if you want to reset the language) from your text-area you can use this code:</p> <pre><code>tinyMCE.execCommand('mceRemoveControl', false, 'mycontrol_id'); </code></pre> <p>as specified <a href="http://www.tinymce.com/wiki.php/Command_identifiers" rel="nofollow">here</a>.</p> <p>and you can recreate it using the same code. You can wrap everything in a function and pass the language parameter:</p> <pre><code>function setup(language) { tinyMCE.init({ mode : "textareas", theme : "advanced", language: language, plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template", theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true }); } </code></pre> <p>If you want to remove <a href="http://www.tinymce.com/wiki.php/Configuration%3atheme_advanced_buttons_1_n" rel="nofollow">buttons</a> from the toolbar you have to work on these lines:</p> <pre><code>theme_advanced_buttons1 theme_advanced_buttons2 ... </code></pre> <p>removing those you don't need.<br> There's a list of all buttons and plugins <a href="http://www.tinymce.com/wiki.php/Buttons/controls" rel="nofollow">here</a>.<br> If you want to add your own buttons you can find a sample <a href="http://www.tinymce.com/tryit/custom_toolbar_button.php" rel="nofollow">here</a>.</p> <p><strong>UPDATE</strong>:</p> <p>Since you've used your own plugin, I guess you have defined it in the plugin section:</p> <pre><code>tinyMCE.init({ mode : "textareas", theme : "advanced", language: 'hi', plugins : "myPlugin, pagebreak ... ", theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "myPlugin", ... }); </code></pre> <p>If you don't want to show it, just remove it from the <strong>theme_advanced_buttons2</strong>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload