Tagged: x
-
AuthorPosts
-
February 1, 2017 at 7:39 am #1353645
Rich HParticipantA small issue deal with with the woo commerce template and translation in version 4.6.4
The cart page is missing MOST of the stuff required for proper translation. Being I installed a fully functioning po mo file and the cart page translated only a few terms. Deleted the X woo cart template and presto all translations worked. There were also some on the checkout page that did not translate.
February 1, 2017 at 8:29 am #1353705
ChristianModeratorHey Rich,
I checked out the cart templates and all strings are translatable. Could you give us more details? What strings are not translated?
Thanks.
February 1, 2017 at 11:37 am #1353975
Rich HParticipantAbsolutely. Screenshots are worth a million words too so here they are.
The default X theme woo commerce cart template files have the english in them, while if i rename the woo folder in X it all translates properly.
February 1, 2017 at 7:23 pm #1354580
Rue NelModeratorHello There,
Thanks for providing the screenshots. Most of the keywords were located in the x.pot file. You can used this file to fully translate X theme along with the WooCommerce template integrated in X. I have attached this x.pot file so that you can generate a .po and .mo file.
Hope this helps.
February 1, 2017 at 7:32 pm #1354596
RadModeratorHi there,
Thanks for posting in.
Yes, it’s because each plugin and theme have their own textdomain. Translating one string will not translate the identical strings that belong to other textdomains. If you plan to translate it with Woocommerce textdomain, then yes, you’ll have to manually edit the templates and change them to woocommerce textdomain. But if you wish to translate it with X textdomain, then you can leave the templates as is and just translate them through X textdomain.
It’s not a bug, it’s just how translation works. And you can’t have multiple textdomain on a single string at the same time.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1353645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
