Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Andreas W. 1 year, 8 months ago.

Assisted by: Andreas W..

Author Posts
October 26, 2023 at 11:18 am #14669655

peterT-46

Tell us what you are trying to do?
trying to translate my products

What is the link to your site?
hidden link

i cant work out how to use the attributes of the default language. ive set the attribute as not translatable & and translatable from the wpml>settings>Taxonomies Translation it it doesnt seem to do anything

here is the link to the default lanuague
hidden link
on the US translation, the letter dropdown is missing all the options.
hidden link

i can make it work if i translate but the slug is incorrect.

i hope that makes sense.

thank you

October 27, 2023 at 4:15 am #14674971

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

Please take note, that if you declared your attributes at Products > Attributes then those are global attributes.

You need to make sure that those attributes are set to "Translatable - only show translated content" inside the WPML settings.

Then translate these attributes at WooCommerce > WooCommerce Multilingual & Multi-Currency > Attributes.

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

When you are done translating them please sync your variable products again at WooCommerce > WooCommerce Multilingual & Multi-Currency > Troubleshooting.

Also, take note that all I mentioned above does not take any effect on attributes that are created directly on the product. Those would be custom attributes and these get translated inside the WPML Translation Editor when translating the product.

I hope this helps to solve the issue but if not then I will be glad to assist you further.

Best regards
Andreas

October 27, 2023 at 6:43 am #14675345

peterT-46

hi Andreas,
i dont want this product attribute to be translated
from wpml>settings>Taxonomies Translation this attribute is set to "Not translatable"
when i go to WooCommerce > WooCommerce Multilingual & Multi-Currency > Attributes this specific attribute is not in the drop down list.

the problem i have is from the other languages this attribute appears in the product but does not have anything when i click the drop down.
its not taking it from the source languages.

this specific field usd to be translatable.

maybe i need to sync something to make this correct?

thanks

October 27, 2023 at 6:47 am #14675355

peterT-46

BTW im refering to attribute_pa_letter

October 27, 2023 at 7:31 am #14675589

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

If you want options to be available on the translated product, then you usually need to mark the attribute as translateable and translate it.

If the attribute is not set to be "translatable" it will not show up on the dropdown.

You usually can not use the same attributes of the original products on the translated products but you could try setting " attribute_pa_letter" inside WPML > Settings > Taxonomy Translation to "Translatable - or display original content if a translation does not exist".

I can not guarantee that this works, and neither would recommend it.

Please test and let me know the results.

Best regards
Andreas

October 27, 2023 at 10:13 am #14677359

peterT-46

Hi Andreas,
i tried this
WPML > Settings > Taxonomy Translation to "Translatable - or display original content if a translation does not exist"
and it doesnt work.
the reason i have a problem with the transaction it add a differnet slug which breaks the function

do i need to sync something to check this change was applied?

thanks

October 27, 2023 at 5:52 pm #14681639

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

If you have problems with the slugs, then you can adjust them for each attribute term in Products > Attributes > Configure Terms in each language. You can only do this if you translate the terms.

I do understand right that you:

- are using global attributes
- those attributes are not translated
- the translated products have no attributes

Also what is unclear to me is:
- Do you want the translated products to show the same attributes as the original products?
- Do you do not want any attributes at all on the translated product?

If, so then please take note that this is not how WPML works with WooCommerce.

You will not always need to translate those attributes. They are showing up in both languages by default, even if a global attribute is marked "Not translatable" it will show up on the translated product.
Not all attributes need a translation, like for example if the terms use numbers, but if you create global attributes with text then they actually already get translated when translating the product with the WPML Translation Editor.

I have created a test site on which you can see the expected behavior.

One-Click-Login:
hidden link

Best regards
Andreas

The topic ‘[Closed] product attibutes not appearing for other languages’ is closed to new replies.