Home›Support›English Support›[Resolved] Translation of attributes & Losing all translations & Loss of language switcher
[Resolved] Translation of attributes & Losing all translations & Loss of language switcher
This thread is resolved. Here is a description of the problem and solution.
Problem:
The attribute of the products do not match in languges, and when we are on the page of a Attribute, for example, blue color in Arabic language, the language switcher is displayed, but if you first enter blue color in English language, the language switcher for Arabic translation is not displayed.
Solution:
You must follow our instructions when working with WPML and WP All Import.
If you are importing translated posts with taxonomies (categories, tags, or custom taxonomies), you must create the exact same taxonomies in your WordPress site before importing the post files.
The above includes product attributes.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
We have three problems:
1) The attribute of the products do not match in languges, and when we are on the page of a Attribute, for example, blue color in Arabic language, the language switcher is displayed, but if you first enter blue color in English language, the language switcher for Arabic translation is not displayed.
2) We use the divi theme. We was changing the the footer in theme builder for specifice pages, and when we made a dedicated footer, all the previous translations and previous edits on the pages were lost, is it possible to return the translations? Also, the footer that we make for specific pages in theme builder is not able to be translated! This is also a problem that we want to solve.
3) Constantly the language change flag is automatically removed from the menu and we don't understand where the problem is! Every time we have to add the switcher to the menu.
Hi, Now our memory limit is 512 MB.
Actually, we have used the WP All Import plugin to import our products, and after importing, everything is connected in the two languages, except for the attributes, and after the translation of the Arabic attributes, this was possible in the Arabic language to change language, but in the English language, the attributes still are not connected to the Arabic language and there is no possibility of re-translation!
If you are importing translated posts with taxonomies (categories, tags, or custom taxonomies), you must create the exact same taxonomies in your WordPress site before importing the post files.
The above includes product attributes.
Were the product attributes already translated into English before the import process?
Thanks for your help,
We imported the products again and first translated the attributes and then imported the products and the problem was solved.
Now We have another problem in this case, for example, next to the color attribute in the Arabic language, the word "product" is placed, and this string is "لون Products" in the strings. How can I translate the word "product" in this string?
I'm glad that the issue of this ticket is solved now.
In our forum, we try to keep one issue per ticket/chat. I'll give you a hint now on how you can change it. But if you need further help, please open a new ticket with this issue.
You should change the language of the label of attribute color in WooCommerce -> WooCommerce Multilingual & Multicurrency -> Attributes. Please see the attached screenshot. You can read more about translating WooCommerce taxonomies here.