Make plugin translatable – not working
-
Dear community,
I’m struggling with adding the ability to translate my plugin.
I’ve added ‘Requires at least: 4.6’ in the readme file and used for my echo
echo __('my text', 'my-text-domain-same-as-plugin-slug');Also inside this PHP I’ve added Text Domain: my-text-domain-same-as-plugin-slug.
When visiting the plugin link, I can translate the read-me file but can’t translate the string in the PHP file.
While checking the slack channel, it says it’s all imported.
Any ideas?
Kind regards,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Make plugin translatable – not working’ is closed to new replies.