I have submitted a product (WordPress Plugin) on themeforest/codecanyon , and got notification from reviewer to improve few things.
one of them was ’ All theme text strings are to be translatable and properly escaped.’
so my question is : All plugin custom text will be translated by __() function with text domain.
is the plugin header needs to be put on the language folders .pot file?
Example Plugin Header:
- Plugin Name: Example
- Plugin URI: https://example.com
- Description: example description.
- Version: 1.0
- Author: example
- Author URI: https://example.com
- Text Domain: my-domain
- Domain Path: /languages
- Requires at least: 5.6
- Requires PHP: 7.0
when i try to do translation with plugin (loco translate) it also includes those text from plugin header (name, description,author)
those needs to be included in the translation file?