New answers tagged

0

After searching a little bit more, I found that in the generation of the .pot file, the strings of plugin header already appear there. The tool I used to generate .pot file for my plugin was this command of wp-cli: https://developer.wordpress.org/cli/commands/i18n/make-pot/ I don't know if another tools to make plugin translation do that. The reason to use ...


2

Start a new theme from scratch to see if you have the same result. I test with theses files and the translation works style.css /* Theme Name: My Theme */ functions.php <?php add_action( 'after_setup_theme', 'my_theme_load_theme_textdomain' ); function my_theme_load_theme_textdomain() { load_theme_textdomain( 'my-theme', get_template_directory(...


Top 50 recent answers are included