Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The customer encountered a problem after importing products with translations. The attributes were imported for the primary language, but were not specified for the other translations/languages. Attributes were not displayed in product translations until the product (translation) was saved manually. Additionally, there was no option to switch between languages on the attribute editing page.

Solution:
1. Attributes are not translatable by default. To translate them, you must go to "WooCommerce > WooCommerce Multilingual > Attributes".
2. Attribute terms are translatable.

In the secondary language import file, you must use the untranslated attribute name. For attribute terms, you must use the translated name in your import file.

If you imported the secondary language without attributes, you will need to manually save your translations so that WPML can sync the products and their variations.

You must first translate your attributes, either manually in "WooCommerce > WooCommerce Multilingual > Attributes" or by following this documentation: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/#option-2-import-the-multilingual-terms-using-wp-all-import

Then you can import your products in the secondary language by following that documentation: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-variable-products-in-multiple-languages-with-wp-all-import-and-wpml/#first-time-import-of-variable-products-in-multiple-languages

Remember that the column must have the name of the untranslated attribute, but for each variation you must use the name of the translated term.

If the solution provided is not relevant to your case, because it may be outdated or not applicable to your situation, we suggest opening a new support ticket. We strongly recommend that you review known issues at https://wpml.org/known-issues/, check the version of the permanent solution and confirm that you have installed the latest versions of themes and plugins. If you need more help, do not hesitate to contact us in our support forum: https://wpml.org/forums/forum/english-support/.

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 1 reply, has 2 voices.

Last updated by Nicolas V. 10 months, 2 weeks ago.

Assisted by: Nicolas V..

Author Posts
February 12, 2024 at 7:49 am #15291151

mykolaL-4

Hi!

We have found a problem after import of products with translations.
For the main language version we did import of attributes with their values. For the other translations/languages we didn't specified them.

Products were successfully imported and links between the two languages were set.

Bur for some reasons the attributes are not displayed on other translations/languages - hidden link

Attributes appear only after saving the product (translation) - hidden link

We also noticed that there is no option to switch between languages on the attribute editing page. - hidden link

So the main questions are:
1. How to make attributes translation immediately appear on products?
2. How to enable attribute translation?

Please help to understand this situation

February 12, 2024 at 11:57 am #15292958

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi,

Welcome to the WPML support forum. Thanks for contacting us.

I see that you have "WP All Import" installed, so I will assume that you used that plugin to import your products.

We also noticed that there is no option to switch between languages on the attribute editing page.

1. Attributes are not translatable by default (they are a type of content). WPML allows you to translate their label. To translate them you can go to "WooCommerce > WooCommerce Multilingual > Attributes".
2. Attributes terms are translatable.

For the other translations/languages we didn't specified them.

In your secondary language import file, you should use the untranslated attribute name (point 1). Attribute terms are translatable, you should you the translated name in your import file (point 2).

Attributes appear only after saving the product (translation)

If you imported the secondary language without attributes, then you will need to manually resave your translations so that WPML can synchronize products and their variations.

To answer your questions:
Your attributes should be translated first, either manually in "WooCommerce > WooCommerce Multilingual > Attributes" or following this documentation: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/#option-2-import-the-multilingual-terms-using-wp-all-import

Then you can import your products in the secondary language following that documentation: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-variable-products-in-multiple-languages-with-wp-all-import-and-wpml/#first-time-import-of-variable-products-in-multiple-languages

Remember that the column should have the attribute name untranslated (point 1) but then for each variation you should use the translated term name (point 2).

Nico