Skip Navigation

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

Problem:
The client experienced an issue where WPML reversed the source language of some strings from English to Arabic, causing a mix-up of languages on their English and Arabic pages.
Solution:
We recommended checking the boxes next to the affected strings, scrolling down to find the option to change the language of those strings, setting it back to English, and then translating them into Arabic again. This solution is based on the guidance provided in the following WPML documentation: How to change the source language of strings.

If you're experiencing a similar issue, we recommend you try the steps mentioned above. However, please note that the solution might be irrelevant due to it being outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket 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 2 replies, has 2 voices.

Last updated by tareqA-6 10 months, 2 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
April 7, 2024 at 10:19 pm #15492109

tareqA-6

Hello,

WPML reversed some of my translated strings. The origin language of these strings are all English. I successfully translated them to Arabic and everything was working just fine. For no apparent reason, WPML started to reverse these strings and make their origin language Arabic instead of English and those strings appeared mixed in my English page, part English and part Arabic and the reverse in the Arabic page as shown in the second attached image.

How can I rectify this issue?

Original Language in String Translation Reversed-2 .png
Original Language in String Translation Reversed-1 .png
April 7, 2024 at 10:57 pm #15492156

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

I am not sure how, why, or when that happened, it would be weird that WPML would do that on its own but, as a quick solution, I recommend that you check the box on the left for both of the ones in the screenshot, then scroll down a bit and you will have the option to change the language of those strings > change it to English > then, on the right side, you will be able to click the + and translate in Arabic.

That should quickly handle those strings that have a wrong default-language set.

I hope that you will find this information helpful. 🙂

Mihai Apetrei

April 8, 2024 at 3:45 am #15492293

tareqA-6

I managed to solve the above-mentioned issue. Dario was my saviour via this article:

https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

The solution was extremely simple and quick but I really needed the guidance in the article mentioned above.

WPML is such a powerful piece of software/plugin but it is really non-intuitive and rather complicated plugin to work with especially if you try to mingle with it.

I am becoming more and more familiar with it because I invested lots of time reading about it and searching the Internet for many issues I faced. But I don't think every user will be willing to spend all the time I invested in WPML. The majority would want a quick and straightforward solution to whatever problems they encounter with the plugin.

I thought of mentioning how I solved my problem here in case someone else faces the same issue. Thought, I still would want to know why those strings changed their source language from English to Arabic.

Thanks

April 8, 2024 at 3:50 am #15492296

tareqA-6

Hello Mihai,

I guess you were typing your response to my ticket at the very same time I was typing my message above :).

You can close this ticket now if you would like.