localization doesn't work
-
I am using this brilliant plugin to build a grid view category and using the more feature.
I noticed the “Continue reading” in the bottom of each post is not localized so I added the line in .pot, translated and generated the .mo with poedit and put it in the folder plugins/list-category-posts/languages
However, that doesn’t work. Afterwards,I tried to translate several other items and none of them work.
I am a little bit confusing as the code seems okay and I did everything just like what I did with other plugins, and only lcp doesnt work…
Please help and give me some advice, thanks!
—some info and codes—
./list-category-posts/list_cat_posts.php:
load_plugin_textdomain( 'list-category-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
./list-category-posts/include/CatList.php:
$lcp_more = __('Continue reading →', 'list-category-posts');
./list-category-posts/languages/list-category-posts_zh_CN.po:
#: CatList.php: msgid "Continue reading →" msgstr "继续阅读→"
- The topic ‘localization doesn't work’ is closed to new replies.