• Guido

    (@guido07111975)


    Hi,

    I have several plugins that are translation ready. All translations are stored in my plugin folder /languages. The translation is loaded via this function:

    function vscf_init() {
    	load_plugin_textdomain( 'verysimple', false, dirname( plugin_basename( __FILE__ ) ) . '/translation' );
    }
    add_action('plugins_loaded', 'vscf_init');

    Several users of most recent WP version are saying the translation does not work.

    I notice in most recent version you can set language in WP dashboard in stead of defining it in wp-config file:

    define('WPLANG', 'nl_NL');

    Question, should I load my translation files differently?

    Guido

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Load plugin translation in new WP version’ is closed to new replies.