Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author myCred

    (@designbymerovingi)

    Hey.

    Have you tried to disable myCRED then re-enabling it?

    Thread Starter taigt

    (@taigt)

    Yes, I have tried, but still displayed in English.

    Plugin Author myCred

    (@designbymerovingi)

    Could you zip the language files and send a copy to me at [email protected] so I can try it out?

    Thread Starter taigt

    (@taigt)

    I have sent you the zip.

    However, I currently just translated a little part of strings.

    Plugin Author myCred

    (@designbymerovingi)

    Got it thank you. I assume your websites main language is also in Chinese?

    Thread Starter taigt

    (@taigt)

    Yes, Simplified Chinese

    Plugin Author myCred

    (@designbymerovingi)

    Give me a moment while I install a copy of WordPress in Simplified Chinese.
    While I do that, try changing the name of the files in your lang/ folder from mycred-zh_CH.mo and .po to just zh_CH.mo and .po. Im thinking maybe the files need to have the same file name as the WP language files.

    Thread Starter taigt

    (@taigt)

    I’ve tried to change the name of files, still not working.

    Plugin Author myCred

    (@designbymerovingi)

    Found the issue.

    In mycred.php on line 267, change the following:
    load_plugin_textdomain( 'mycred', false, myCRED_LANG_DIR );

    to:

    load_plugin_textdomain( 'mycred', false, dirname(plugin_basename(__FILE__)) . '/lang/');

    I will push this though in the next update.

    Thread Starter taigt

    (@taigt)

    HEY! It works now. Big Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Translation’ is closed to new replies.