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

You can ship translations of some of the metadata used in your main plugin file’s header comment fields. Namely: Name, Description, PluginURI, Author, and AuthorURI. Just add the source strings into your PO/POT files exactly as they appear in your plugin headers. When a MO file is available containing these strings, WordPress will display the … Read more

WordPress different language footer text

For the text in the theme to be able to be translated, the text should be passed as an argument through the localization functions __(), _e(). echo __( ‘Sample text to display’, ‘theme-textdomain’ ); _e( ‘Sample text to display’, ‘theme-textdomain’ ); More functions and details you can find here In your case it could look … Read more

Adding another arg to comments_popup_link

Filter ‘comments_number’. You get the translated number and the real number as arguments. Return what fits best. Sample code: add_filter( ‘comments_number’, ‘wpse_31328_comments_number_i18n’, 10, 2 ); function wpse_31328_comments_number_i18n( $text, $number ) { if ( 2 === $number ) { return _x( ‘2 comments’, ‘comments number’, ‘your_text_domain’ ); // or hard coded: // return ‘2 komentarja’; } … Read more