WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] some strings in Chinese translation .po file don't work (32 posts)

  1. agelonwl
    Member
    Posted 1 year ago #

  2. omegacoder
    Member
    Posted 1 year ago #

    Anyway to get events manager plugin 5.3 translation files to with qTranslate activated, you can try the following:

    Replaced some code in plugins/events-manager/events-manager.php, on line 377:

    replace:

    load_plugin_textdomain('dbem', false, dirname( plugin_basename( __FILE__ ) ).'/includes/langs');

    with:

    if ( function_exists('qtrans_getLanguage') ) { $locale = qtrans_getLanguage(); load_textdomain('dbem', realpath(dirname(__FILE__) . '/../..') . '/plugins/events-manager/includes/langs/dbem-' . $locale . '.mo'); }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.