Skip to content Skip to sidebar

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 81 replies, has 3 voices.

Last updated by Nigel 1 year, 4 months ago.

Assisted by: Waqar Ali.

Author Posts
June 11, 2024 at 9:18 am #15725507

orrog

- in this post
https://wpml.org/forums/topic/front-page-stay-in-thai-language-after-translation/page/5/#post-15691539
you said : "The Advanced Translation Editor Error Logs continue to show this error:
cURL error 28: SSL connection timeout"
send me the ip adress of the server, I will put it in the white list (firewall)

- about the code in "Custom XML Configuration", I had an another problem before with link, and your support send me this code to add in "Custom XML Configuration" :
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="generateblocks/container" translate="1" label="Container link">
<key name="url" />
</gutenberg-block>
<gutenberg-block type="generateblocks/headline" translate="1" label="Headline link translation">
<xpath>//span[@class="gb-headline-text"]/a</xpath>
<xpath type="link">//a/@href</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>

Must I to forget it ?

June 12, 2024 at 7:18 am #15729637

Waqar Ali

You're welcome.

I'm doing some tests on your website's clone, based on the recent points that you shared. That also includes the two instances of the Custom XML code that we provided over the support forum.

I'll update you as soon as this testing completes.

June 13, 2024 at 5:53 am #15734119

Waqar Ali

Thank you for waiting.

1) - In english and Thai, the home button (menu) is at right, not at left

- The order of the menu items for the homepage changed because in the 'Primary-FR' menu, the option 'Automatically add new top-level pages to this menu' is checked and the homepage was deleted and added again.
( screenshot: hidden link )

You can go to WP Admin -> Appearance -> Menus and adjust the order of the menu items for each language.

2) - Thai front page, "go to store button" : the link stay in french
same for english page

- The text and the link coming from the button block can be translated from the string translation section at WP Admin -> WPML -> String Translation.
( screenshot: hidden link )

3) - this page stay in french :
hidden link
hidden link
hidden link
4) - the title stay in french language :
hidden link
hidden link
hidden link

- For these pages too, you'll have to translate them again, like I explained for the homepage, in this reply:
https://wpml.org/forums/topic/front-page-stay-in-thai-language-after-translation/page/5/#post-15725281

5) - in this post
https://wpml.org/forums/topic/front-page-stay-in-thai-language-after-translation/page/5/#post-15691539
you said : "The Advanced Translation Editor Error Logs continue to show this error:
cURL error 28: SSL connection timeout"
send me the ip adress of the server, I will put it in the white list (firewall)

- I'm no longer seeing any new connection errors on your live website's logs, so I don't think this is necessary.

6) - about the code in "Custom XML Configuration", I had an another problem before with link, and your support send me this code to add in

- Here is the updated code that combines both XML codes that we provided you earlier. I've tested this to work correctly on your website's clone.

You can remove any existing code from WP Admin -> WPML -> Settings -> Custom XML Configuration (tab) and save the following instead:
( important note: it is better to save this updated code before re-translating the pages from step 3 & 4 )


<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="generateblocks/container" translate="1" label="Container link">
      <key name="url" />
    </gutenberg-block>
    <gutenberg-block type="generateblocks/headline" translate="1" label="Headline link translation">
      <key name="gpDynamicTextBefore" />
      <key name="gpDynamicUpdatedDateBefore" />
      <xpath>//span[@class="gb-headline-text"]/a</xpath>
      <xpath type="link">//a/@href</xpath>
      <xpath>//div/strong</xpath>
      <xpath>//div</xpath>
      <xpath>//div/h1</xpath>
      <xpath>//div/h2</xpath>
      <xpath>//div/h3</xpath>
      <xpath>//div/h4</xpath>
      <xpath>//div/h5</xpath>
      <xpath>//div/h6</xpath>
      <xpath>//div/p</xpath>
      <xpath>//h1</xpath>
      <xpath>//h2</xpath>
      <xpath>//h3</xpath>
      <xpath>//h4</xpath>
      <xpath>//h5</xpath>
      <xpath>//h6</xpath>
      <xpath>//p</xpath>
      <xpath>//div/h2/strong</xpath>
      <xpath>//p/span/a</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

June 13, 2024 at 11:21 am #15735766

orrog

Hi,
Menu is solved

Translation almost solved :
in this page :
hidden link
the title stay in french, and in the string translation, it's already translated, how to translate that ?

about translation credits, I had 12328 credit, why now I have only 7838 ?
I had translated 3 pages for change only the titles, but this pages was already translated before, why it take around 4500 credits (only the titles) ?

thank you

431.jpg
430.jpg
June 13, 2024 at 11:53 am #15735993

orrog

I see the string translation come back in french language again !!!!!!
I already change it in string translation, it come back, what's happen ?

hidden link

hidden link

PLEASE SOLVE IT

I hope I don't need to wait 1 day more, it's enought

433.jpg
432.jpg
June 14, 2024 at 1:50 pm #15740331
orrog

Hi,
can you reply please, I cannot translate myself this sentance because it's already translated in string translation :
see printscreen
thank you

New threads created by Nigel and linked to this one are listed below:

https://wpml.org/forums/topic/split-front-page-stay-in-thai-language-after-translation/

437.jpg
436.jpg
435.jpg
434.jpg
June 17, 2024 at 9:53 am #15744444

Nigel
WPML Supporter since 02/2016

Timezone: Europe/Madrid (GMT+01:00)

Hi there

Waqar is no longer with us, let me take over here to help you.

I see that this is an extremely long thread.

I suggest for me to best be able to help you I take over in a new thread. I have split this into a new thread, and suggest we close this thread, which I can refer back to if needed.

I will reply to you in the new thread I created: https://wpml.org/forums/topic/split-front-page-stay-in-thai-language-after-translation/

The topic ‘[Closed] front page stay in thai language after translation’ is closed to new replies.