Home › Forums › WoodMart support forum › Widget Translation
Widget Translation
- This topic has 10 replies, 2 voices, and was last updated 1 year, 9 months ago by Elise Noromit.
-
AuthorPosts
-
February 6, 2023 at 7:34 pm #440894
immolibParticipantHi
I don find a way to translate the cart widget
SHOPPING CART
CLOSEOn the homepage, it is not translated….but on all other pages it is well translated
I use loco translate and i cannot find any chain missing.
February 7, 2023 at 5:12 am #440949
Elise NoromitMemberHello,
You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
In order to translate the WooCommerce strings, you need to create a separate translation in Loco > Plugins > WooCommerce in the same way as shown in the video.
Best Regards
February 7, 2023 at 10:33 am #440993
immolibParticipantThanks but as i told you i know how to use loco translate and i cannot translae it.
Problem is that the missing translation seems to come from xtemos widget
wd-heading widget-heading
class=”title widget-title”
close-side-widget wd-action-btn wd-style-text wd-cross-iconWhat is weird is that on other pages, it is translated
February 8, 2023 at 5:05 am #441250
Elise NoromitMemberHello,
Widget titles are translated manually without the Loco plugin. You need to find the widget in Appearance > Widget and replace the title widget.
If you have any questions please feel free to contact us.
Best Regards
February 8, 2023 at 11:12 am #441311
immolibParticipantThere is no such widget in appearance.
We are talking of a Woodmart widget used for woocommerce cartFebruary 9, 2023 at 3:48 am #441546
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
February 27, 2023 at 5:47 pm #446790
immolibParticipantHi
I sent everything but got no answer
Also, we have the same proble with the login pop. It is not translated and i see no missing chainFebruary 28, 2023 at 6:32 am #446930
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
February 28, 2023 at 11:33 am #447012
immolibParticipantI did it yesterday !!!
March 1, 2023 at 1:36 pm #447361
immolibParticipantWe are getting a critical error since you logged in :
[Wed Mar 01 10:34:11.566284 2023] [proxy_fcgi:error] [pid 20944:tid 140483070256896] [client 80.215.161.25:0] AH01071: Got error ‘PHP message: PHP Parse error: syntax error, unexpected ‘<‘ in /var/www/vhosts/choix.elyseesocean.com/httpdocs/wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php on line 2086’, referer: https://choix.elyseesocean.com/March 2, 2023 at 2:35 am #447549
Elise NoromitMemberHello,
Please add this code to the functions.php of the child theme:
add_filter('gettext_woodmart', function ($translation, $text, $domain) { if ( 'Shopping cart' === $text ) { return 'Ma Sélection'; } elseif ( 'Close' === $text ) { return 'Fermer'; } return $translation; }, 10, 3);
I am sorry for the mistake, now it works.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register