Support » Plugin: TinyMCE Advanced » Localization of TinyMCE advanced

  • In order to make TinyMCE advanced admin pages support your language ex Greek, you can make the following changes:

    1. Create a folder /langs into the plugin folder
    2. Using poedit make a langs/tadv-XX.po /mo file, (Where XX the identification code for the language of your wp installation).
    3. Open the tinymce-advanced.php and in line ~37 after the closure of if statement add the following code
      function tadv_loc_init() {
          load_plugin_textdomain( 'tadv', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/' );
      add_action('plugins_loaded', 'tadv_loc_init');

    That it.

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Ozz


    WordPress Dev

    Yep, that works. But it loads the localization file on every WordPress load. A better option would be to load only when needed. Will add that in the new major version.

Viewing 1 replies (of 1 total)
  • The topic ‘Localization of TinyMCE advanced’ is closed to new replies.