Support » Plugin: Events Manager » some strings in Chinese translation .po file don't work

  • Resolved omegacoder

    (@omegacoder)



    some of the translation strings don’t work. namely, “Event Tags” and “search for events”

    I’ve looked at the dbem-zh_CN.po file and the translations are there (search for events = 搜索活动) But the chinese version doesn’t show up on chinese site. I’ve updated the .mo file also, tried the update from .pot file too

    The output code is:
    <input type=”text” class=”search_input” value=”<?php _e(‘search for events’, ‘dbem’); ?>”

    Is my mistake obvious to someone. I really appreciate any help. I’ve spend some time on this already!

    http://wordpress.org/extend/plugins/events-manager/

Viewing 31 replies (of 31 total)
  • omegacoder

    (@omegacoder)

    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’); }

Viewing 31 replies (of 31 total)
  • The topic ‘some strings in Chinese translation .po file don't work’ is closed to new replies.