Background of the issue:
I am trying to change the default word 'cart' from WooCommerce, which appears in the menu bar, to the Dutch word 'winkelmand'. I am looking for the place where I can translate the string 'woo-header-cart-label-display' into our Dutch language on my site hidden link.
Symptoms:
I am unable to find where to translate the string 'woo-header-cart-label-display' to Dutch.
Questions:
How can I change the default word 'cart' to 'winkelmand' in WooCommerce?
Where can I find the string 'woo-header-cart-label-display' to translate it into Dutch?
Before your ticket is assigned to one of my colleagues, I'd like to guide you through some initial debugging steps to speed up the support process.
I can see the untranslated Cart string in the site header as you can see in the attached screenshot.
- To begin, please follow the below steps and let me know how it goes:
1. Go to WPML >> String Translation page.
2. Scroll down and click on the Translate texts in admin screens » link at the bottom of the page.
3. Search for the required string.
4. Select the string.
5. Click on the Add to String Translation button.
6. Then click on the "« Return to String Translation" link.
7. Add the translation from WPML >> String Translation page.
- If the issue persists, please try to follow the below procedure:
1. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.
2. Re-visit the page on the front end where the string appears.
3. Re-visit the WPML >> String Translation page and search for those strings one by one.
4. Translated the string.
5. After translating the string, unchecked the auto-registration option.