Skip Navigation

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

Problem:
You are trying to use WPML to automatically translate pages on your site but are encountering issues because the default language, PL, is not assigned to a supported language, preventing the use of auto-translate.
Solution:
First, ensure that you have correctly mapped your languages in WPML. You can do this by navigating to WPML → Languages → Site Languages, and then clicking on 'Edit Languages' to assign your default language, PL, to one of the supported languages.
If you're using WPML AI for translations, remember that it currently supports translations only from English to German, Spanish, French, Portuguese, and Italian. You can find more details here: WPML AI Translation Engine.
Additionally, try reloading the WPML → Settings page a few times as this might resolve the issue.

If these steps do not resolve your issue or the information becomes outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 0 voices.

Last updated by Andrey 1 week, 1 day ago.

Assisted by: Andrey.

Author Posts
March 21, 2025 at 2:04 pm #16844945

mateuszB-14

Background of the issue:
I am trying to use WPML to automatically translate pages on my site hidden link. On a previous site, this feature worked, but it doesn't work here.

Symptoms:
I don't have the option of mapping languages, and I receive a message: 'Your default language, PL, must be assigned to a supported language to use auto-translate.'

Questions:
Why can't I map languages to use auto-translate?
How can I assign my default language, PL, to a supported language?

March 21, 2025 at 9:21 pm #16846488

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Could you please provide screenshots to illustrate the issue you are experiencing? Have you tried mapping the language in WPML → Languages → Site Languages, and then clicking on Edit Languages?

March 21, 2025 at 9:25 pm #16846493

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

If you're using WPML AI, you can only translate it from English to German, Spanish, French, Portuguese, and Italian as explained here https://wpml.org/announcements/2024/08/introducing-wpml-ai-superior-translation-engine-for-wordpress/

March 21, 2025 at 11:50 pm #16846615

mateuszB-14

Hi, my error is also that I can't load the engines and I have no mapping option. I have no idea what to do in this case, because I can't even translate the page manually even though I bought a plugin. I am attaching the screenshots and I am very much asking for help.

Zrzut ekranu 2025-03-22 o 00.48.00.png
Zrzut ekranu 2025-03-22 o 00.47.17.png
Zrzut ekranu 2025-03-22 o 00.47.08.png
March 24, 2025 at 12:08 pm #16851670

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

I assume you do not have translations yet, so I recommend resetting WPML and activating and configuring it again.

1. Go to WPML → Support and click the Troubleshooting link.

2. In the Reset section of the Troubleshooting page, select the I am about to reset all translation and language data checkbox. Then, click the Reset and deactivate WPML button.

https://wpml.org/documentation/getting-started-guide/language-setup/

Before making any changes, please ensure that you back up your database first.

March 24, 2025 at 12:24 pm #16851814

mateuszB-14

Hello, I have tried to reactivate the plugin on this site several times. I still have errors with authentication with engines as if something was blocking them. I uploaded error codes here for support in the question, maybe you will find something there? I did basic things like reactivation or disabling plugins. After a long time of trying I decided to write here because I don't have the strength for it anymore. What can block access to translation engines? In the support department it shows that there are 50 errors that I don't understand because it is a communication error between wpml and something. Please help

March 24, 2025 at 12:31 pm #16851825

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

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.

March 24, 2025 at 11:06 pm #16854260

mateuszB-14

thanks for the answer, and before that could you look at the error log from wpml and a screenshot from debug.log? maybe something will come to your mind here? thanks in advance

Zrzut ekranu 2025-03-25 o 00.01.44.png
Zrzut ekranu 2025-03-24 o 23.59.15.png
Zrzut ekranu 2025-03-24 o 23.59.07.png
Zrzut ekranu 2025-03-24 o 23.58.54.png
March 25, 2025 at 5:12 pm #16859216

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

These are warnings and should not affect the site. I have also confirmed with our systems team that we are not blocking your site in any way.

I know you have already attempted a reset, but I would recommend testing it again with a few additional steps:

1. A full copy of the site

2. Make a reset as described above

3. Go to the database, and use a search in the wp_options table for option_name that starts "WPML" and "ICL". Delete such entries.

You can use this queries to check for the entries:

SELECT * FROM `wp_options` WHERE `option_name` LIKE '%WPML%' LIMIT 50
SELECT * FROM `wp_options` WHERE `option_name` LIKE '%ICL%' LIMIT 50

4. Activate WPML and start configuring again.

March 25, 2025 at 9:27 pm #16859978

mateuszB-14

thanks for the answer, but I can't make it work. can you give me the option to enter my login details again?

March 25, 2025 at 10:26 pm #16860029

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you. Sure, the following reply is private.

March 26, 2025 at 12:16 pm #16862671

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the update.

I have logged in to check the issue and was able to see it. However, it suddenly started to work on its own. I didn't actually do anything significant. I had just:

- installed WP Adminer to check the database
- switched the default language of the site back and forth in WPML → Language → Site Languages
- checked the browser console

The REST API is functioning on your site.

Screenshot 2025-03-26 at 14.12.11.png
Screenshot 2025-03-26 at 14.12.01.png
March 26, 2025 at 1:10 pm #16863020

mateuszB-14

thank you very much. awesome! Unfortunately it doesn't work on the target domain anymore, would you mind taking a look there too?

March 26, 2025 at 1:52 pm #16863227

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Yes, sure. I have activated the private field.

March 26, 2025 at 2:03 pm #16863292

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I reloaded the WPML → Settings page a few times, and now it's okay.