etmanko
Forum Replies Created
-
Forum: Plugins
In reply to: [Export any WordPress data to XML/CSV] WP Export – An unknown error occuredwhy you closed it? It was resolved? or it will be handled by your support?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Language overrideForum: Plugins
In reply to: [WooCommerce] Language overrideMike,
super this is sufficient for me. I hope translation will not be overriden again. I translated 5 strings with ‘say what’
Many thanks for your time and support.
Forum: Plugins
In reply to: [WooCommerce] Language overrideSorry, what is ‘say what’?
Forum: Plugins
In reply to: [WooCommerce] Language overrideThere is not missing string. In our country i need to change translation becouse some string are translatted incorrectly.
for example backordered is translated as returned in my language in its tricky in checkout. In total i founded that 4 strings are not correcnt and not aligned with our law, therefore i did translation using Loco and save it. This works some hours but from unexpected reason was my translated file overriden with original woocommerce file translation where i have again incorrect translated strings.I don’t know why filter not working but this make me sad as i did translation as last step in woocommerce configuration and as i am very beginer it take for me long time.
Any help how setup woocommerce to not override translated translation with original translation?
Forum: Plugins
In reply to: [WooCommerce] Language overrideHello,
i put your code into function.php and on the page is locale: sk_SK so it should be correct.
Forum: Plugins
In reply to: [WooCommerce] Language overrideouch i see the script that locale are dynamically selected.
i changed my code to: $mofile = WP_LANG_DIR . ‘/wp-content/languages/wc-‘ . get_locale() . ‘.mo’;file on ftp renamed to wc-sk_SK.mo but still same english language on page ?? i really don’t understand. if i change url for static ‘/wp-content/languages/wc-sk_SK.mo’; still english language was used
Forum: Plugins
In reply to: [WooCommerce] Language overrideI changed it to:
/*
* 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 ( ‘woocommerce’ === $domain ) {
$mofile = WP_LANG_DIR . ‘/wp-content/languages/sk_SK’ . get_locale() . ‘.mo’;
}
return $mofile;
}but still english translation.
in wp-content/languages/ i have file sk_SK.mo and sk_SK.po
Forum: Plugins
In reply to: [WooCommerce] Language overrideHi Mike,
i replaced if ( ‘textdomain’ === $domain ) {
to if ( ‘woocommerce’ === $domain ) {
and $mofile = WP_LANG_DIR . ‘/textdomain/yourtranslationfile-‘
to $mofile = WP_LANG_DIR . ‘/wp-content/languages/SK.po’ . get_locale() . ‘.mo’;my translated language was saved in file SK.po and this will not working, translation was original in english.
Many thanks
Forum: Plugins
In reply to: [Invoices for WooCommerce] SyntaxError: Unexpected token CHi Bas,
same issue for me. Have you any update on this, please?
Many thanks