Skip Navigation

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

Problem:
The original language of a global product attribute is still English language even though the site's default language is Turkish and delete the attribute and recreate it with the same name.
Solution:
It is possible that the site's default language was English and the attribute name was translated. You can go to WPML > String Translation > Delete the translated attribute name and recreate it in the Turkish language.
Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/#deleting-strings

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 2 voices.

Last updated by alexG-60 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
October 31, 2023 at 11:06 pm #14704265

alexG-60

I am trying to: Translate an attribute.

1. Firstly, I created a test product before the translation and added some attributes, not in the main language(Turkish) of the website but in English.

2. Then I was trying to change/translate those attributes to the main language (Turkish).

3. I changed/translated one attribute and faced the problem. Attribute name "Type of emitted signal:" was deleted and changed to "Yayılan sinyal türü". But in the taxonomy translation it appears like it wasn't deleted at all, it just appars in English like it was created before "Type of emitted signal:" (1st image). Even if I delete attribute and add a new one it stays the same for "Yayılan sinyal türü", it appears "Type of emitted signal:", like some sort of cache.

4. Even if I leave everything like it is but translate the attribute, the attribute name doesn't translates in russian version of the product (2nd image).

Link to a page where the issue can be seen: hidden link

I expected to see: A translated attribute name

2.png
1.png
November 1, 2023 at 3:22 am #14704863

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Alex,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

It looks like a caching issue. Please update WPML to the new version 4.6.7, clear all caches (plugin, browser, hosting ...) and recheck this issue. Following the documentation https://wpml.org/faq/install-wpml/#checking-for-updates

Also, please add a new attribute to the product > Save changes > Update the translation and see how it goes.

Look forward to your reply.
Thanks

November 1, 2023 at 11:38 am #14706843

alexG-60

I did everything. But it still doesn't work.

November 2, 2023 at 1:12 am #14711843

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

November 2, 2023 at 3:36 am #14712237

alexG-60

Try do add attribute name: "Yayılan sinyal türü" with value "Ultra Geniş bant (UWB)"

November 2, 2023 at 4:06 am #14712311

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The attribute name is translated in WPML > String Translation. I've deleted that string and now it displays the attribute name in Turkish as well. Please check screenshot attached.

Refer documentation https://wpml.org/documentation/getting-started-guide/string-translation/#deleting-strings

Look forward to your reply.
Thanks

Taxonomy translation ‹ BION-X — WordPress 2023-11-02 10-59-30.png
String Translation ‹ BION-X — WordPress 2023-11-02 10-54-17.png
November 2, 2023 at 4:40 am #14712379

alexG-60

Indeed it works. Thank you so much!