-
-
Hello, i face an issue with the Woocommerce part of my website.
Every translation in the site seems ok, but some part of the cart and the e-shop arent translate, and i cannot find them, even with locotranslate plugins.
Here is a sample of my problem : https://puu.sh/zKa09/8766043adb.png
Any ideas?
Thanks,
Best regard.Maxi
-
Hello,
Are you referring to the “Proceed to Checkout” and “Continue Shopping” string?
If yes, both strings are present in the .pot file (june\lang\june.pot). You can translate them there. Look for these lines:... 7801 #: woocommerce/cart/proceed-to-checkout-button.php:27 7802: msgid "Proceed to checkout" 7803 msgstr "" ... 7805 #: woocommerce/cart/proceed-to-checkout-button.php:32 7806: msgid "Continue Shopping" 7807 msgstr ""
Or find them directly in file:
june\woocommerce\cart\proceed-to-checkout-button.phpLet us know.
Best regards!
-
-
-
Hello,
You can use the pot file to translate the site. There is no conflict with any of the woocommerce files. Just translate every string in it using a normal text editor or the PoEditor. You can add more strings if you do not find them originally in the file. Save it as fr_FR.po. Upload the edited file in the lang folder.
Add this line in your wp-config.php file:
define( 'WPLANG', 'fr_FR' );
Go to Settings > General > Site Language and select this file from the drop-down list.
So the site will use this file’s strings instead of the defaults. Keep a copy of the pot file in your computer to replace in case of future theme updates.A live preview of this process can be found here: https://youtu.be/1xqcxncNmT0
Let me know how it goes.Best regards!
-
You must be logged in to reply to this topic.