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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 11 months ago.

Assisted by: Long Nguyen.

Author Posts
July 18, 2023 at 1:41 pm #14059739

michalK-81

Hello,

I am reaching out regarding an issue I encountered with translating the thank-you page on my website.

I have created a custom "page template" for the thank-you page, aiming to have it translated into multiple languages. However, I'm facing difficulties with the translation process, as it doesn't seem to work as expected. Interestingly, I have used a similar approach to create a template for displaying product, and the translation for that template works perfectly.

Link to my site is hidden link

I am using the "Impreza" theme, which allows me to create custom page templates. For my products, I have created a template called "Album," which I have successfully translated into different language variations, and it works perfectly (you can see it by clicking on "Album" in the navigation menu).

However, I'm facing difficulties with the translation of another template named "Ďakujeme" Despite having it translated using WPML, it doesn't function as expected. The translated version exists, but it does not work correctly.

Could you kindly assist me in identifying the cause of this issue and guide me through the steps to achieve successful translation for the "Ďakujeme / thank you" page using the page template?

Your expertise and guidance in resolving this matter would be highly appreciated. Thank you in advance for your support and prompt assistance.

Nikola

Snímka obrazovky 2023-07-18 o 15.30 1.png
July 19, 2023 at 7:44 am #14062913

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi Nikola,

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

I see that issue on your site. Please try to replicate the issue on a clean installation of WordPress, I will help you to check the issue without affecting your live site. You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Don’t restore your site there.
- Install the Impreza theme.
- Try to replicate the issue.
- Then let me know the steps to replicate it.

Look forward to your reply.
Thanks

July 19, 2023 at 8:39 am #14063621

michalK-81

Hi, could you please do this on my live/original website? I have a backup of the website, so I can restore it if needed. The website hasn't been visited by anyone yet, it's completely new.

I've started following your instructions, but it's a very time-consuming process, and I'm spending more time than I have allowed. Would it be possible to try this on the live site?

Thank you.

July 19, 2023 at 9:16 am #14063919

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 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 and to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

July 20, 2023 at 1:57 am #14068951

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi,

The custom thank you page opted in Impreza > Theme Options > Shop > Orders > Page template (option name "content_order_id").
Then I go to WPML > String Translation > Translate texts in admin screens > Search for the name "content_order_id" > Add to String Translation and go back to translate it with the ID of the translation thank you page. Please check this screenshot hidden link

Now you can see the translation thank you page displays correctly in the frontend.

Refer documentation https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Look forward to your reply.
Thanks