Skip Navigation

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.

https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/

https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/

A critical point to note is the following:

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.

This topic contains 6 replies, has 3 voices.

Last updated by nimaS-2 1 year, 8 months ago.

Assisted by: Itamar.

Author Posts
October 19, 2023 at 2:34 pm #14616305

nimaS-2

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.

October 19, 2023 at 3:15 pm #14617109

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

thanks for contacting us.

Please understand our policy is one issue per ticket, so we're going to address just the first one here.

As the first thing you should increase the WP Memory Limit and check if you still have the problem https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-can-i-increase-my-sites-memory-limit

October 20, 2023 at 5:22 am #14620503

nimaS-2

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!

October 23, 2023 at 7:02 am #14633361

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll keep helping you with this issue.

You must follow our instructions here when working with WPML and WP All Import.

https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/

https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/

A critical point to note is the following:

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?

Regards,
Itamar.

October 23, 2023 at 9:52 am #14635687

nimaS-2

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?

Screenshot 2023-10-23 131756.png
Screenshot 2023-10-23 131725.png
October 23, 2023 at 2:02 pm #14638971

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

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.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

Regards,
Itamar.

2023-10-23_16-49-53.jpg
October 24, 2023 at 9:35 am #14645101

nimaS-2

Hi,

Unfortunately, this problem was not solved in this way and We will create a new ticket for this issue.

Thank you