This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to ensure that your thank you page slug is displayed in English, but it is currently showing in Arabic. Solution: We recommend checking the settings in WPML to manage how slugs are generated for translated documents. Here are the steps to manually set the slug in English: 1. Navigate to WPML → Settings. 2. In the “Translated documents options” section, select “Translate” to include the slug in the translation instead of auto-generating it from the title. 3. Make a minor edit to the original “Thank You” page and update it. 4. Open the translation editor for this page, where you will now see the slug field. Here, you can either copy the slug from the original or translate it manually.
If this solution does not resolve your issue or seems outdated, 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.
Background of the issue:
I am trying to ensure that my thank you page slug is displayed in English like every other page on my site. The current slug is in Arabic, and I want it to be in English.
Symptoms:
The thank you page slug is showing in Arabic: 'hidden link' instead of English: 'hidden link'.
Questions:
How can I change the thank you page slug to English using WPML like all of my other pages. why its the only one that didnt change?
The slug is most likely being generated automatically from the title. This behavior is controlled in WPML → Settings, under the “Translated documents options” section, specifically the “Auto-generate from title (default)” option.
To manage slugs manually, follow these steps:
1. Go to WPML → Settings.
2. Under “Translated documents options”, select “Translate” (this ensures the slug will be included in the translation and not auto-generated from the title).
3. Make a small change to the original “Thank You” page and update it.
4. Open the translation editor for the page, where the slug will now appear and can be edited.
5. You can choose to copy the slug from the original or translate it manually.
Another option is as follows:
1. Go to Pages → All Pages.
2. Switch the language to Arabic using the language switcher at the top.
3. Edit the desired page using the WordPress editor.
4. Modify the permalink (slug) directly from the WordPress editor.
Could you please try deleting the translation of the thank you page and then clear it from the trash as well? After that, retranslate the page from scratch.
Additionally, please try deactivating all plugins except WPML and its add-ons, then test if the page works correctly. This will help determine if the issue is caused by a plugin conflict.
i tried but nothing changed, it happend before and i remember the supporter did something to the sitting and it worked but i dont know how to do it again
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
I have reviewed this issue, and it appears that the translation of the thank you page cannot be saved. I am seeing the following in WPML → Support → Advanced Translation Editor Error Logs:
Active record statement invalid: Mysql2::Error: The MySQL server is running with the --read-only option so it cannot execute this statement
{"errorData":{"status":500,"title":"Active record statement invalid","detail":"Mysql2::Error: The MySQL server is running with the --read-only option so it cannot execute this statement"}}
Could you grant all the necessary privileges to the MySQL user that the site uses?
Also, please enable debugging by adding the following lines to your site’s wp-config.php file. This will allow us to identify the exact issue:
Once enabled, attempt to complete the thank-you page translation again; any errors will be logged to a debug.log file located in the /wp-content/ directory. Please check this file and share the relevant error messages.
hello there please check the screenshot i can assure you everything is translated 100%, as for adding the debug i am not sure how exactly could u please show me, thanks
Once you have completed the translations, do you see the pencil icon in the language sidebar when editing the page in the original language? The pencil icon indicates that the translation is completed.
Regarding the debugging in WP. You can add a few lines to the site’s wp-config.php file. It is located in the root of your site's installation.
To enable it, open your wp-config.php file and look for define('WP_DEBUG', false);. Change it to:
define('WP_DEBUG', true);
To enable the error logging to a file on the server, you need to add yet one more similar line:
define( 'WP_DEBUG_LOG', true );
and
define('WP_DEBUG_DISPLAY', false);
The errors will be saved to a debug.log file inside the /wp-content/debug.log.
hello can u please provide another private section to add the tempo access because i was unable to update the current one, also is it neccesary to do the debug thing? cuz i still didnt understand how
I’ve tested this further and created a “Test Thank You” page using the same template. Interestingly, the issue seems to occur when the translated page uses the exact same slug as the original (e.g., test-thank-you). Changing even a single character in the slug allows the page to function properly.
Could you please try temporarily deactivating all plugins except WPML and see if the issue persists?
If the problem continues, I’d like to create a local copy of your site for deeper investigation. If that’s acceptable, please install the Duplicator plugin so I can proceed with generating a site package.