Translation-readiness of Koi theme

I am migrating a (non-English-language) blog using the Koi theme on WordPress.com to a self-hosted environment, but see that certain strings are no longer being translated. For example, if my wp-config.php file contains define (‘WPLANG’, ‘de_DE’), then _most of the theme is indeed translated to German, but “Leave a Comment” remains in English. After downloading … Read more

How to get menu strings, categories and tags into po file for translation

I’m prepping my theme for translation. I’ve added the following line to my functions.php, and added the text domain within my theme files. <?php /*** LOAD THEME TEXTDOMAIN ***/ load_theme_textdomain( ‘mytheme’, get_template_directory() . ‘/languages’ ); $locale = get_locale(); $locale_file = get_template_directory() . “/languages/$locale.php”; if ( is_readable( $locale_file ) ) { require_once( $locale_file ); } ?> … Read more

Translating plugin inside the theme [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 6 … Read more

How to translate theme name

I want to translate a theme from English to Chinese. I’ve added load_theme_textdomain and successfully translated many of words to the Chinese language, but I don’t know how to translate “theme name”. 1 Answer 1 Use Loco translate plugin it is great and change theme name. https://wordpress.org/plugins/loco-translate/

What is the way to ship read-me strings like plugin-strings for internationalization?

I want to translate my plugin for non-English languages. But for readme strings, I could find the only option to submit translations over translate.wordpress.org. Is there any way like the one available for plugin strings where you can ship plugin strings with the release without waiting for your translations to get accepted? 1 Answer 1 … Read more

Translate strings not recognised in plugin

I am trying to translate my plugin strings, but for some reason my plugin does not find the strings via the _e() and __() functions. My plugin directory is called test-plugin. My plugin /test-plugin/test-plugin.php files looks as follows: <?php /* Plugin Name: Test plugin Version: 1.0 Author: Robbert Vermeulen License: GPL2 Text Domain: test-plugin */ … Read more