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 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christopher Amirian 4 months, 3 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
October 10, 2024 at 2:00 pm #16275530

guillaumeH-12

Background of the issue:
I am trying to translate content present in a table on my product pages, but it is not detected by WPML. This issue occurs regularly, and I have to manually edit the content by adding spaces, which is impractical and time-consuming.

Symptoms:
Contents in a table > tr > td are not always detected and therefore not translatable.

Questions:

October 10, 2024 at 2:23 pm #16275817

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I have got no answer on the chat, so I turned the chat into ticket.

Is it happening with a simple HTML table or you used a plugin or method to add the table?

If it is a simple HTML, can you add the HTML to a sample page on the website below and show me where to see the problem? (Click on the link below and you will be auto-logged into a clean installation of WordPress and WPML)

hidden link

The reply time for tickets is longer than chats and I will be off tomorrow and the day after. You are welcome to open up a new chat if needed.

October 16, 2024 at 2:30 pm #16296317

guillaumeH-12

Hi,

This is a classic WordPress block
See below.

The only difference is that I copy/paste it from another product. Then I modify it.

<figure class="wp-block-table"><table class="has-fixed-layout table-caract-product"><tbody><tr><td>Modèle</td><td>Pendentif coeur Sara</td></tr><tr><td>Métal</td><td>acier inoxydable</td></tr><tr><td>Finition</td><td>argenté, doré</td></tr><tr><td>Motif</td><td>cœur</td></tr><tr><td>Dimension coeur</td><td>3.5x3.5cm</td></tr><tr><td>Longueur chaine</td><td>60cm</td></tr></tbody></table></figure>

To make the whole table line translatable, I add a space at the end of the first column.
And so the whole line is translatable.

<tr><td>Modèle </td><td>Pendentif coeur Sara</td></tr>

Please note that this is a Woocommerce product page.

On your blank version, everything works fine.
All table rows are correctly detected.

Thank you

Regards,
Guillaume

October 17, 2024 at 1:07 pm #16300321

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

As this is not replicable on a clean installation I need to check your website.

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Please tell me which product to check and where you added the HTML section.

Also I need your test on a sample blank page on your website like what you have done on the clean installation and tell me what happens there.

Finally as I will be off tomorrow and the day after as my weekend I will not be able to answer back in that time period.

Alternatively, you can open up another chat to follow up with the issue if you can not wait for two days:

https://wpml.org/forums/forum/english-support/

Thanks.

The topic ‘[Closed] Contents in a table > tr > td are not always detected’ is closed to new replies.