Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin failing to load translations #6

Open
k1sul1 opened this issue Mar 8, 2016 · 0 comments
Open

Plugin failing to load translations #6

k1sul1 opened this issue Mar 8, 2016 · 0 comments

Comments

@k1sul1
Copy link

k1sul1 commented Mar 8, 2016

bbPress Votes doesn't load translations properly, load_plugin_textdomain returns false.
(https://github.com/gordielachance/bbpress-votes/blob/master/bbpress-votes.php#L161)

I've tried with language files generated from bbpvotes.pot using Poedit, the included russian ones (changed wordpress language to russian), but the issue persists no matter what.

if(load_plugin_textdomain('bbpvotes', FALSE, $this->plugin_dir.'languages/')){
  error_log("Textdomain loaded"); 
}
else{
  error_log("Failed to load textdomain");
}

The path is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant