Skip Navigation

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

Problem:
The client needed to reopen a previously closed support ticket regarding an issue where the front page remained in Thai after translation.
Solution:
We recommended wrapping additional block types in the

<gutenberg-blocks>

tag within the WPML configuration file. Here is an example of how to do it:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="abc" translate="1">
      ...
    </gutenberg-block>
    <gutenberg-block type="def" translate="1">
      ...
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your current situation, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

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 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year ago.

Assisted by: Long Nguyen.

Author Posts
June 10, 2024 at 4:21 am #15720079

orrog

Background of the issue:
I already opened a ticket with Waqar Ali (title: front page stay in Thai language after translation), but I was not available, and this ticket is closed now. Is it possible to open it again? You sent me this code first: //span[@class="gb-headline-text"]/a //a/@href and after this one: //div/strong //div //div/h1 //div/h2 //div/h3 //div/h4 //div/h5 //div/h6 //div/p //h1 //h2 //h3 //h4 //h5 //h6 //p //div/h2/strong //p/span/a

Symptoms:
When I try to add the second code, there is an error.

Questions:
Is it possible to reopen the closed ticket with Waqar Ali?
How do I merge the two provided WPML configuration codes without errors?

June 10, 2024 at 6:57 am #15720222

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi Orrog,

Thank you for contacting WPML support, I’m happy to help you with this issue.

The forum ticket will be closed after two weeks without a reply from the user. Before re-opening that ticket, I suggest you wrap more block types in the tag "<gutenberg-blocks>", for example:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="abc" translate="1">
      ...
    </gutenberg-block>
    <gutenberg-block type="def" translate="1">
      ...
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Looking forward to your reply.
Thanks

15720079-300 2024-06-10 13-53-21.png
June 10, 2024 at 10:18 am #15721276

orrog

hi,
ok, but check the print screen please, I want to be sure it's ok.
And now, how to translate all page with problem ?
thank you

301.jpg
June 10, 2024 at 10:24 am #15721327

orrog

Hi,

it's same, thai front page return in french language !!!

hidden link

it's crazy !

June 10, 2024 at 11:09 am #15721669

orrog

hi,
please, re-open the ticket, I don't want to re-explain everything and above all I would like to see my problem solved, I have been waiting for more than 2 weeks, this ticket was opened on May 22, and my last response May 31 (so not 2 weeks as you say, I received a warning by email for the closing of the ticket only this morning)
please !

June 11, 2024 at 1:04 am #15724253

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

I discussed this with my colleague and the ticket is already re-opened. Let me know if if you have any questions.

Thanks.