Yoast SEO
[Plugin: WordPress SEO by Yoast] bug with multi language site (1 post)

  1. masteryo
    Posted 4 years 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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.