- This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › BP Better Messages › Localization
Tagged: localization, translation
For those who want to translate this plugin:
If you want to go ahead with translation, follow these steps:
Andrij, I’m a technical writer (and native English speaker), so I created a localization file just to tidy up some of the word choice and grammar. I can send it over to you if you’re interested. Just shoot me a message.
Hello!
Function
public function load_textDomain()
{
load_plugin_textdomain( 'bp-better-messages', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
}
in bp-better-messages.php calling after outputing BuddyPress nav menu.
As a solution I used this line in my plugin
//подгружаем свой языковой файл для bp-better-messages
load_plugin_textdomain( 'bp-better-messages', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );