language translation
-
Thanks for the good plugin ??
I couldn’t change the language by using translated wp-review-xx_XX.mo file in the languages folder. As I checked the source file wp-review.php, the domain parameter was wp-review but the actual domain used in the source files were mts-review.
load_plugin_textdomain( 'wp-review', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
so I changed the domain to mts-review and named the mo file as mts-review-xx_XX.mo
load_plugin_textdomain( 'mts-review', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
now it works.
hope it helps for anybody who has same problem and also hope it is fixed next version.
- The topic ‘language translation’ is closed to new replies.