3

I am doing translation of my plugin. I am using __ & _e in php files. But can't figure out how to do same for readme.txt file? Is it's content on Wordpress site's plugin page automatically get translated using Wordpress translation dictionary once plugin adds code for loading textdomain?

1 Answer 1

6

Translations for readmes on .org are done through https://translate.wordpress.org. You could contribute translations for your own plugin if you wanted. Start by picking a locale/language you want to translate into, search for your plugin, and select the Readme Sub Project.

You don't need to do anything special to the readme itself.

2
  • Thanks Jacob. Do I need to use add text domain via adding it by load_plugin_textdomain function in my plugin? Commented Jul 24, 2017 at 5:10
  • Not for translating the readme. You don't need to do anything special for the readme. Commented Jul 24, 2017 at 7:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.