[Resolved] I'm trying to translate pages from English to Slovenian
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.
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.
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.
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.
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.
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.
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.
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.
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:
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.
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.
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.
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?
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.