Ready to get started?Download WordPress


TinyMCE Advanced
Localization of TinyMCE advanced (2 posts)

  1. lenasterg
    Posted 1 year ago #

    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.


  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic