Using Number in Text domain
Using Number in Text domain
Using Number in Text domain
Thanks all friends. Finally i found the problem. i must use fa_IR.mo instead of fa_IR.MO
The problem with your $item_info is that the variable is not initialized before your try to append to it. $item_info .= ‘String content’; is the exact same thing as $item_info = $item_info . ‘String content’;, so all you need is to check whether or not this variable exists: if (!isset($item_info)) { $item_info = ”; } … Read more
If I am correct (I am not familiar with the plugin itself) it actualy means that you have/use more then one text-domain in your function(s) or theme template(s) as in (just an example): _e( ‘Your Ad here’, ‘my-text-domain’ ) / _e( ‘Your Ad here’, ‘your-text-domain’ ) You should always use one text-domain for your functions … Read more
Custom post type translation
If anybody else is looking for the anwser , Here it is function load_txtdomain() { $locale = apply_filters( ‘plugin_locale’, get_locale(), ‘my-plugin’ ); load_textdomain( ‘my-plugin’, WP_LANG_DIR . ‘/my-plugin-‘ . $locale . ‘.mo’ ); } add_action(‘plugins_loaded’,’load_txtdomain’);
Adding translation files to a child theme
There is no problem with that.You can name the theme folder whatever you like and you can even name it full uppercase like TRUELOVE. As long as it’s ok with wordpress ,themeforest won’t care.
Translation not working for Constant strings in Plugin
Theme check warning about text domain