1

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?

3

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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