[Resolved] Some strings show the wrong original language
This thread is resolved. Here is a description of the problem and solution.
Problem:
Tell us what you are trying to do? When reviewing strings to translate, I noticed that a few strings are duplicated and showing Italian as the original language instead of English. It seems that this could cause some of the problems that my site is having.
Is there a similar example that we can see? Check the domain named "elementor-8546" or "elementor-3895"
Solution:
Sometimes this issue happens because the other language is selected from the admin language switcher when you add the contents in theme/plugin options, or your theme is coded other than the English language.
You can easily change the source language of the strings that you see in the WPML -> String Translation module by following the below steps:
- Please go to the WPML -> String Translation page
- Select all strings that have wrong language assigned
- Choose the English language from the “Change the language of selected strings” dropdown
Tell us what you are trying to do? When reviewing strings to translate, I noticed that a few strings are duplicated and showing Italian as the original language instead of English. It seems that this could cause some of the problems that my site is having.
Is there a similar example that we can see? Check the domain named "elementor-8546" or "elementor-3895"
Elementor-3895 is ALL Italian. But the other one that I reported, and for which I sent a screenshot, "elementor-8546" looks to be all English now, and therefore not a problem--though I don't know how that was reconciled. Anyway, let's focus on "elementor-3895" domain.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for your contact!
Sometimes this issue happens because the other language is selected from the admin language switcher when you add the contents in theme/plugin options, or your theme is coded other than the English language.
You can easily change the source language of the strings that you see in the WPML -> String Translation module by following the below steps:
- Please go to the WPML -> String Translation page
- Select all strings that have wrong language assigned
- Choose the English language from the “Change the language of selected strings” dropdown
Thank-you Mateus. My concern is when the exact same text string is showing with two different original languages. In the screenshot you see the same text string with the same name ("editor-text-editor-ee6d7e4") is listed once with English as the source language AND once with Italian as the source language. Do I keep them both and just change the source language?
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for your reply, and sorry not answering you before - our forum queue is having a high volume lately.
So, yes, you can change the source language for both strings. As mentioned previously, this might be happening due to the difference of languages implemented when the theme/design was created.
If it is not affecting your translations at all, it is safe to dismiss it.
Please let me know if you still need further assistance. Thank you.
Hi Mateus,
For the domain "elementor-3895" I changed the language of the domain to English (it was Italian for all 47 strings in the domain). The process looked like it proceeded to completion (all the statuses first changed to gears, then to pencils). However, when I look in the UI, and change from English to German, Spanish, and Italian, the pages have the language specific test that reads "Put your header text here" or "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo." I'm going to wait for the dust to settle before starting to document what I see. If you want to login, just let me know how I can get credentials to you.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi Tom,
Thanks for your reply.
Could you please tell me what exactly would be the issue? I'm not sure if I fully understood it by checking the screenshots. Please provide us with the exact step-by-step in order to experience the problem.
Also, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. 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.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.
Hi Mateus, I realized that our new site is not hosted on Hostinger. I have contacted our website developer, Jay, for FTP information about the new website. Is it possible to give Jay access to this service request so that he can send you a private message about the FTP credentials? Or will I need to somehow get the credentials from Jay and then send them to you?
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
Sure thing. Your next response will be private again, so that you can enter the correct FTP info.
In the meantime, if you want to try another possible solution, you can delete the string translations in WPML -> String Translation and try to re-scan and re-translate them.