But the plugin won’t show the translations. I wonder if there is anything that could stop the code in this plugin from using translations altough I see that it contains the __ php function to mark words to translate.
Anyone did work in translations for plugins in here and that could help giving me some troubleshooting guidelines?
Your issue could originate in many places, but I would first check that the main plugin file (AvantSearchPlugin.php) contains the following line inside public function hookInitialize():
If that’s the case, then make sure that your .po files are respecting the correct syntax, then that you’ve created the .mo files and that these last ones are copied inside the languages folder of the plugin. Finally, clear the cache and everything should work…
If you have a working translation in French for the plugin, and you’d like to make it available for other users as well, I bet the plugin’s creator @gsoules could maybe include it in a future release, so you might get in touch with him to check what’s the best way to submit it (I’d guess, a pull request on GitHub from you own fork of the plugin).