This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that the WordPress UI is set to English, and all WordPress settings are in English, but Elementor still loads in Norwegian when WPML is installed. The client was concerned about WPML creating unnecessary translation files and using translation credits for UI elements.
Solution:
We clarified that the JSON/PHP files seen by the client are added by WordPress, not WPML. You may try to follow the steps from this thread to see if this resolves the issue: https://wpml.org/forums/topic/elementor-editor-interface-with-wpml/#post-9863547
Please note that this solution might be outdated or not applicable to your specific case. 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 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: Exception
This topic contains 11 replies, has 2 voices.
Last updated by Noman 8 months ago.
Assisted by: Noman.
Author | Posts |
---|---|
May 15, 2024 at 7:26 am #15628028 | |
ingarB |
Wordpress UI in English and all WP settings in English, but Elementor still loads in Norwegian when WPML is installed. If WPML is uninstalled, Elementor loads in English as it should |
May 16, 2024 at 7:39 am #15633258 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I have created a fresh WP site for reproducing this issue and here is the auto login URL: 1. Please install the Elementor/Elementor Pro plugins and configure the WPML plugins it as you did on your site. 2. Please note that we only need above mentioned plugin functionality, you don't need to set up an entire website or clone your existing site. You can see more details here: https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/ 3. Share the results and step-by-step instructions you followed to recreate the issue. Thanks a lot for your help |
May 19, 2024 at 11:35 am #15642595 | |
ingarB |
I have in my queue to do this, but it the prio is very low - as I'm getting ready to launch my new client there. |
May 19, 2024 at 3:57 pm #15642951 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for letting me know. Good luck with your new client launch! Please take your time and get back to us once you're less busy. Thank you |
May 26, 2024 at 8:17 pm #15671614 | |
ingarB |
This is really a huge issue for me, both my developers speak english only and they can't really do their job, so WPML has been a huge let down in general, since it mixes up UI Language with Content language all over the place. English language in backend, everything looks good: When VIEWING or EDITING norwegian content Elementor AND WordPress UI turns norwegian too (sigh): hidden link This is really hopeless. After WPML being out for so many years, I can't almost believe it works like this? When I go to VIEW polish pages, EVERYTHING turns polish, including Elementor and WordPress UI. I mean, really?: hidden link |
May 27, 2024 at 10:16 am #15673250 | |
ingarB |
Hopefully, there is some easy fix for this issue. WPML should not be like this? |
May 27, 2024 at 10:19 am #15673373 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for the additional details and screenshots. Regarding the admin bar on the frontend: hidden link, this behavior is managed by WordPress, not WPML. WordPress always display the strings in active site language on the Frontend. The WPML user language setting only affects the backend (wp-admin) strings. Your screenshots show the Frontend, where WordPress displays strings in the site's active language. For example, if you're viewing the site in Polish, the Admin Bar will appear in Polish. This is standard WordPress functionality. You may override that behavior by translating those strings from WPML >> String Translation page. I’ve tried to replicate it at fresh WP site by following the below steps: 1. Installed/configured the Elementor and WPML plugins with Norwegian as default language and English as secondary language. 2. Set the WP Dashboard language as English from Users >> Profile page by following this doc: 3. Created a page in the default Norwegian language using Elementor page builder and it shows the strings in English. 4. Translated the page into English using WPML Translation Editor. 5. Scan the Elementor plugin strings from WPML >> Theme and plugins localization page. 6. Searched for admin bar strings “Customize, Edit page, Edit with Elementor, New” from WPML >> String Translation page and copied the English language string as translation in Norwegian language Now, it loads the translation in English language on admin bar as you can see in the attached screenshots. Here are the page links: Here is a fresh WP site auto login URL: Please let me know if this resolves the issue or if you need further assistance with this issue. Thank you |
May 27, 2024 at 11:05 am #15673617 | |
ingarB |
Hi Noman. I've tried reading your guide several times, but I am having a hard time understanding what it says I should do? Regarding the WPAdmin Bar - that is my mistake, that is always displayed in the content-langauge. Anyway, the important is Elementor. Is there a shorter guide on how to get Elementor to stay in English? Like i said, I couldn't really understand what you were trying to say, but i've been trying for an hour, but i just don't get it or understand what to do there. Anyway, I can't really use WPML when it always displays Elementor in the content language, and I only have this issue one the WPML site. Is there anything you can do to get ELementor to stick to english like it does on all my other sites? I'm still not grasping/understanding why Elementor is loading the the content-language. |
May 27, 2024 at 2:48 pm #15674886 | |
ingarB |
I disabled WPML Multilingual CMS and now languages works correctly as they should in Elementor.. So I'm fairly certain the issue is with WPML, but I am not so familiar with how it works, so I can't say anything about why - I really need help from you on this... And Soon. Or else I can't use WPML. Both my developers are from the Phillipines, and having English UI is just impossible. And I am running out of time on the project... Critical issue. |
May 27, 2024 at 3:58 pm #15675003 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and I apologize for any confusion. 1. I’ve tried to replicate this issue at fresh WP site: hidden link but it seems to be working correctly for me. Can you please help me to replicate this issue so that we can escalate it to our 2nd tier support. 2. As a workaround you may try to follow the steps from the below thread: https://wpml.org/forums/topic/elementor-editor-interface-with-wpml/#post-9863547 3. If the issue persists after following the above thread, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue. I’ve enabled a private input box for your next reply. === Please backup your database and website === ✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important. Thank you |
May 28, 2024 at 5:48 pm #15680133 | |
ingarB |
I guess this technically works now, after I deleted elementor-nb_NO.l10n.php, but I don't know why WPML (?) created this file. Is it string translation with automatic translation that made that file or what happened? Also, I don't want to spend translation credits on such things as this, I only want to spend money on translating the content of the site, not the UI or site files themselves? I guess i don't really understand how or why these extra Elementor PHP translation files are even there in the folder? I am assuming WPML made these? |
May 28, 2024 at 6:33 pm #15680322 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I'm glad to hear that you managed to fix the issue on your site. The JSON/PHP files you're seeing are added by WordPress. I tested this on a new WordPress site by following these steps: 1. Installed WordPress and set the default language to Polish from Settings >> General: hidden link 6. Installed, activated, and configured the WPML plugins, including string translation, and everything still worked correctly. The WPML Automatic Translation feature doesn't use credits to translate the UI automatically. It translates posts and pages on your site. To translate strings automatically, you first need to choose them from WPML >> String Translation, as explained here: https://wpml.org/documentation/automatic-translation/automatically-translate-strings-with-wpml/ This might be a site-specific issue. If you'd like, I can escalate this to our 2nd tier support for further review. For this, I'll need a duplicator package of your site, which you can provide by following this guide: https://wpml.org/faq/provide-supporters-copy-site/ Thank you for your cooperation and patience. |
May 28, 2024 at 7:25 pm #15680565 | |
ingarB |
Hi, thanks for your help. I guess it works so it's ok, but I still don't understand why this site would be different from other sites and why the UI loads in the wrong language when WPML is activated, but loads correctly when WPML is deactivated. It would be nice to know, but (at least for me) not super important. |