WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
bug with multi language site (1 post)

  1. masteryo
    Member
    Posted 1 year ago #

    I'm using multilingual (Arabic & English) and I did translate some of words to Arabic but I only see your plugin in English language.
    Every time I upgrade your plugin I fix this problem again and again

    so please change this code :

    load_plugin_textdomain( 'wordpress-seo', false, dirname( plugin_basename(__FILE__ ) ) . '/languages' );

    To :

    function wordpress_seo_load_lang() {
      load_plugin_textdomain( 'wordpress-seo', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }
    add_action('plugins_loaded', 'wordpress_seo_load_lang');

    This will fix the problem

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.