Skip to content Skip to sidebar

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

Problem:
The client was unable to use the automatic translator to translate pages from English to Slovenian, receiving an error message stating that content can only be automatically translated from the site's default language to other languages.

Solution:
1. We asked the client to first resolve any issues from the original support ticket, as the translation problem could be related.
2. We identified that the homepage was built using widgets and that the Slovenian version of the homepage did not display any content because the appropriate widgets for the Slovenian language were not displayed. We advised the client to go to the widgets section and set up the widgets to display in the Slovenian language, providing screenshots as an example.

We also cautioned that if there are compatibility issues with the client's custom theme, we may not be able to debug it, as it falls outside the scope of our support.

If this solution is not relevant to your situation, because it's outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in the 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.

Tagged: 

This topic contains 22 replies, has 2 voices.

Last updated by Andrey 1 year, 5 months ago.

Assisted by: Andrey.

Author Posts
March 18, 2024 at 7:59 pm #15423289

andrejR-7

Secondly, when I'm trying to translate pages from English to Slovenian I cannot use automatic translator, it says: You can only automatically translate content from your site's default language (English), to your site's other languages. Deselect content in your site's secondary languages to proceed.

I attached a screenshot of the error.

I'm attaching the debug information tho it might refer to the time before I bought and registered the new license.

March 18, 2024 at 8:14 pm #15423293

Andrey
WPML Supporter since 06/2013

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

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

Does the same happen if you create a test page in English? We first need to resolve the issue from your original support ticket so we can check this one afterward. It could be related.

March 18, 2024 at 9:30 pm #15423449

andrejR-7

Hi,

I fixed the previous issue with "Tools" not showing up but this issue still persists.

With new pages, the translation works. However, this is not a solution for me as I don't want to translate only new pages but the main goal here is to translate existing pages.

March 19, 2024 at 9:42 am #15425050

Andrey
WPML Supporter since 06/2013

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

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

Thanks for sharing your feedback. I'm trying to understand the difference between new and existing pages. Were the existing pages created in English or translated into English? Can you please upload a screenshot of any existing page where the language bar is visible while editing?

Additionally, please try the following troubleshooting options available in WPML → Support → Troubleshooting:

- Clear the cache in WPML
- Remove any ghost entries from the translation tables
- Set language information
- Fix post type assignment for translations

Please remember to backup your database before proceeding with any updates.

March 19, 2024 at 12:45 pm #15426464

andrejR-7

Hi,

I went through all the troubleshooting options you provided, but the issue persists. I'm attaching a screenshot.

Just additional information - when I duplicated the site, the default language was Italian and I have since changed it to English as default and now I'm trying to create a Slovenian translation from English.

Screenshot 2024-03-19 134333.png
March 19, 2024 at 3:27 pm #15427282

Andrey
WPML Supporter since 06/2013

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. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

March 19, 2024 at 4:23 pm #15427559

Andrey
WPML Supporter since 06/2013

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

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

Thank you for providing me with detailed access. I believe I have identified the cause of the problem. It appears that English was used as a translation for the existing pages from the Italian language. Even though the Italian language is deactivated, those pages remain connected. Here are the steps to resolve the issue:

1. Edit the English page.
2. Set "This is a translation of" to None.
3. Save the page.

After completing the above steps, you can send the page for automatic translation.

Edit-Page-“Training”-‹-Templari-—-WordPress.png
March 19, 2024 at 5:14 pm #15427888

andrejR-7

Great, now it works!

Last question, is there a way to bulk edit pages to "None"?

March 19, 2024 at 5:55 pm #15428220
andrejR-7

Unfortunately, I have further issues. I switched back to Italian as primary language and started translating from Italian.

However, the English and Slovenian homepages are "gone", they only kept the title. Can't find a way to duplicate them from Italian and translate them.

Secondly, I went ahead and translated everything automatically. I spent 45k credits and there but on the front end there is barely anything translated. Even in the menu there are some words translated, some not.

On product pages, only a few words are translated. The images are gone. The tables with information are gone. It's a mess.

If I try to manually translate the page, most of strings are not even there for translation.

Here's an example of "translated" product page: hidden link

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

https://wpml.org/forums/topic/split-secondly-i-went-ahead-and-translated-everything-automatically/

March 19, 2024 at 7:14 pm #15428545

Andrey
WPML Supporter since 06/2013

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

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

There's no way to do this in bulk.


Unfortunately, I have further issues. I switched back to Italian as primary language and started translating from Italian.

However, the English and Slovenian homepages are "gone", they only kept the title. Can't find a way to duplicate them from Italian and translate them.

I understand that you have translated a homepage from Italian to English and Slovenian using the WPML translation editor (or automatic translation). However, I want to clarify that if you disconnect the page from the original, you should not see any translated text in the WordPress editor. This is because the two editors are not synchronized.

You are trying to translate a page that has already been translated from Italian to English. This might cause unexpected behavior that may appear to be issues with the WPML plugin. To avoid this, you need to decide which language will be the original and create the page content in that language before translating it.

If you want to reconnect the pages to their original state, you can use this guide: https://wpml.org/faq/how-to-link-already-translated-pages/.

I opened a new ticket for your new question. This will also help other users with similar problems find solutions when searching the forum. I will reply here: https://wpml.org/forums/topic/split-secondly-i-went-ahead-and-translated-everything-automatically/.

March 19, 2024 at 8:33 pm #15428864

andrejR-7

This worked for the english homepage. For the Slovenian homepage I cannot get it to work. I deleted the page, created a new one, copied content from the other language and all it displays is a video. I can see the content in the backend but it doesn't show up in the frontend.

March 20, 2024 at 2:19 pm #15432119

Andrey
WPML Supporter since 06/2013

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

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

If we are discussing hidden link, it appears to be a duplicate now. Please click "Translate independently" on the page, translate and save the content. https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#how-to-use-manual-translation

Screen Shot 2024-03-20 at 16.16.54.png
March 20, 2024 at 2:59 pm #15432514

andrejR-7

It is a duplicate now. I've clicked Translate independently, saved the content, but still no content appears. Only a video appears, but in the backend there's a lot more content that just doesn't appear.

March 20, 2024 at 3:03 pm #15432522

Andrey
WPML Supporter since 06/2013

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

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

Could you please provide more details? Are you attempting to duplicate or translate this page? Do you want it translated from Italian? Will you be translating it in the WordPress editor?

March 20, 2024 at 3:29 pm #15432708

andrejR-7

Ultimately, I want to translate it. But for now, I'm trying to get the whole layout to appear again so I can translate it. I don't want to rebuild the page from scratch so I wanted to duplicate it first and then translate it.