Cart and Checkout missing translation
-
I am setting up a Traditional Chinese website for the first time. I am noticing that the Cart and Checkout page is missing some basic translation. i.e. Subtotal and Free Shipping. I thought this would be the basic elements to be translated already. But it is not the case.
View post on imgur.com
What do I need to do to see these few fields translated properly?
-
Hey, @ezekielion!
Thank you, I was able to see the report now.
I see you are using Themify Ultra Child, which also has a lot of plugins active right now. As well as some multilanguage/translation plugins, right?
Can you please perform a conflict test to see if any of those is overwriting the translation?
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
— Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.
— It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.
You can find more about this in this guide.
Please let us know about your findings.
Looking forward to your reply.
Have a wonderful day!
The “WPML String Translation” is causing the “Subtotal” to display English. When I turned it off, it is showing “subtotal” in Traditional Chinese properly. However, all the other fields like “free shipping”, “view cart”, “checkout” etc. still shows in English regardless.
Hi @ezekielion,
This issue may be due to incorrect or missing translations in your WPML settings. Please ensure you have translated all the strings in WPML > String Translation. If the strings are already translated and still not showing, you might need to rescan the WooCommerce plugin for strings. You can do this by going to WPML > Theme and plugins localization > Scan the plugins for strings.
If the issue persists, I suggest contacting the WPML support team; they might have better insights to resolve it.
Looking forward to hearing from you!
I am using WPML to do translation. The default language is traditional Chinese. I have added all using WPML String Translation. After scanning, there are a few left that I can’t find it work. These 3 strings cannot be shown in Chinese.
These two are in the Cart page when there is no item added. I noticed that in WMPL String translation the Chinese has English in it. I can’t change it because it is “gutenberg-122”.
Your cart is currently empty! – wrong in gutenberg-122 has English
New in store – wrong in gutenberg-122 has EnglishThe “free shipping” appear in the cart and checkout section. The “free shipping” has already been translated. But it just won’t show up.
Free shipping – already translated
These all seems to be WooCommerce related items. Who owns that gutenberg-122?
Pretty sure it is an issue with WooCommerce. I have contacted theme support as well as WPML support.
This one you can see from the WPML translator. The Chinese fixed core block has English in them. After I entered the Chinese, it is actually under English column
View post on imgur.com
This is what the Theme support showed me. It seems to be from WooCommerce. I tried the Storefront theme. Same issue.
Hi there @ezekielion ??
The needed text strings are already translated in Traditional Chinese (Taiwan), as I understand.
I am using WPML to do translation. The default language is traditional Chinese. I have added all using WPML String Translation. After scanning, there are a few left that I can’t find it work. These 3 strings cannot be shown in Chinese.
Just to be sure, after having the Traditional Chinese locale enabled at the site (without any translation plugin activated), are there more than 3 strings left that need translating at the site?
For a few strings, a translation method was already shared here.
These two are in the Cart page when there is no item added. I noticed that in WMPL String translation the Chinese has English in it. I can’t change it because it is “gutenberg-122”.
Your cart is currently empty! – wrong in gutenberg-122 has English
New in store – wrong in gutenberg-122 has English+
This one you can see from the WPML translator. The Chinese fixed core block has English in them. After I entered the Chinese, it is actually under English column
Should the issue appear with the WPML plugin enabled, independently of the Gutenberg version, feel free to reach out to its support channel (linked here), as they would be in a better position to assist you.
I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.
- This reply was modified 9 months, 3 weeks ago by anastas10s. Reason: typo
No. The needed string is NOT translated. You are referring to “subtotal” and single strings which I managed to translated using WPML. Those 3 sentences are not translated at all. Please see the sentences I am talking about:
View post on imgur.com
The problem is with WooCommerce. I disabled WPML, it still shows the English under the default site setting Traditional Chinese. The main issue is that “gutenberg-122” block which is supposedly for Traditional Chinese is showing English and there is no way of fixing it even using WPML.
?? hey @ezekielion
Let’s investigate this further:
The main issue is that “gutenberg-122” block which is supposedly for Traditional Chinese is showing English and there is no way of fixing it even using WPML.
Could you please provide us with screenshots, so that we can see what you are describing?
No. The needed string is NOT translated. You are referring to “subtotal” and single strings which I managed to translated using WPML. Those 3 sentences are not translated at all. Please see the sentences I am talking about
With regard to this, next, let’s try with clarifying the following:
- What interface is that screenshot from? Did you already have a chance to inquire with its support channel about why the two columns have inverted strings (as I understand), or otherwise?
- What happens after saving the desired translations? The workflow is that they are saved in PO files, or otherwise?
Once I hear back from you, I will be happy to investigate this further.
Please see screenshot
View post on imgur.com
These are from WPML. I am also talking to them at the same time. I never touched the “gutenberg” block. They were there in the first place. I set the site’s default language to Traditional Chinese.
My Theme support from Themify sent me this:
https://snipboard.io/TYFvfD.jpg
He said I shall contact you.
Thank you for reaching back, with further details on this, @ezekielion.
These are from WPML. I am also talking to them at the same time. I never touched the “gutenberg” block. They were there in the first place. I set the site’s default language to Traditional Chinese.
As correspondence with WPML’s support team is in progress, feel free to clarify there any further details about the
gutenberg-122
domain, and its potential conflict in displaying the desired translations on the front-end.Moreover, the one for WooCommerce appears right above it, and it is set to UK English, as I gather (from the flag appearing).
Let us know when a conclusion has been reached, about the culprit behind the desired translations not appearing when that plugin is in use.
My Theme support from Themify sent me this:
The code in the screenshot shared here, showcases the original text strings (in English), as I understand, which are already translated (per this response, in the thread here).
Thank you.
- This reply was modified 9 months, 2 weeks ago by anastas10s. Reason: typo
My feeling is that this is actually from WooCommerce.
The code shown is in English. Isn’t it code from WooCommerce? The default language on the site is Traditional Chinese.
The code has not being translated. These are the 3 strings that are having issues:
You may be interested in
Your cart is currently empty!
New in storeCan you not set up on your side and check your copy? Set default language to Traditional Chinese and see if you will get these in English.
Navigate to your cart page when there is nothing in the cart.
mydomain.com/cart
- This reply was modified 9 months, 2 weeks ago by ezekielion.
?? hey @ezekielion
The code shown is in English. Isn’t it code from WooCommerce??
Feel free to utilize a plugin like String Locator (linked here), in order to discover where the text strings are coming from.
Can you not set up on your side and check your copy? Set default language to Traditional Chinese and see if you will get these in English.
There is currently a language barrier, which I could not find a way to overcome, I’m afraid. Without a label (in English, for example), it is impossible to know which one it is). Linking a screenshot, here, for reference.
Let us know how it goes, with locating the source of the text strings, utilizing the plugin mentioned above. Thank you.
The WPML support was able to locate the culprit. It is the Empty Cart block. See attached.
View post on imgur.com
Unless the Theme changed it but I believe this is from WooCommerce. Because if I click on the link on the right side, it goes to WooCommerce site showing a list of compatible extension.
Besides those two sentences, the other one is “You may be interested in…” is also in the Cart block.
Other items that are not translatable are in the Shipping block which is also located in the Cart page. Those words for shipping charges including “Free shipping” cannot be edited because the block is locked.
- This reply was modified 9 months, 1 week ago by ezekielion.
Hi @ezekielion,
I understand you’re still having trouble translating certain elements on your WooCommerce site, specifically within the Cart and Shipping blocks.
Just so we can understand the issue even further, have you tried using a default theme to see if the translation issue remains the same across the different themes?
Yes. I tried the default theme and it had the same issue. If these blocks are created by WooCommerce, then this is a bug. Those 3 strings identified cannot be translated unless one goes to the blocks themselves. But most people would not be able to find them.
- You must be logged in to reply to this topic.