dodog
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce removes translated stringsHi @shahzeenfarooq,
thank you, adding the following code to functions.php solved the issue.
// Code to be placed in functions.php of your theme or a custom plugin file.
add_filter( 'load_textdomain_mofile', 'load_custom_plugin_translation_file', 10, 2 );
/*
* Replace 'textdomain' with your plugin's textdomain. e.g. 'woocommerce'.
* File to be named, for example, yourtranslationfile-en_GB.mo
* File to be placed, for example, wp-content/lanaguages/textdomain/yourtranslationfile-en_GB.mo
*/
function load_custom_plugin_translation_file( $mofile, $domain ) {
if ( 'textdomain' === $domain ) {
$mofile = WP_LANG_DIR . '/textdomain/yourtranslationfile-' . get_locale() . '.mo';
}
return $mofile;
}
Forum: Plugins
In reply to: [WooCommerce] Woocommerce removes translated stringsHi @doublezed2,
Yes, I have read the WooCommerce Localization Guide. I translated the files using the Poedit as recommended and placed the translation in wp-content/languages/plugins.Making your translation upgrade safe
WooCommerce keeps translations in wp-content/languages/plugins, like all other plugins. But if you wish to include a custom translation, you can use the directory wp-content/languages/woocommerce, or you can use the snippet.
But it is overwritten on every update.
Forum: Themes and Templates
In reply to: [Ascend] Unable to access plugin settingsI have just received reply from plugin contributor. Redux Framework is necessary to run plugin with Ascend theme.
https://ww.wp.xz.cn/plugins/redux-framework/
Problem solved.Forum: Plugins
In reply to: [WPGlobus] Unable to access WPGlobus settingsThank you for fast reply. With Redux framework it is working. Solved.
Forum: Themes and Templates
In reply to: [Ascend] Unable to access plugin settingsHi, only when I access settings. The plugin is activated properly. It even works OK – just settings are not accessible.
Yes Kadence toolkit plugin is installed.