Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 8 replies, has 4 voices.

Last updated by Andreas W. 9 months ago.

Assisted by: Andreas W..

Author Posts
February 14, 2024 at 9:57 am #15301019

peterJ-48

Hello,

Can you help me how to revert the string to default language ?
The string marking the secondary language with the English flag.

We followed the below articles, but we could not get the result to revert the string to default language.

Article Link :
---------------
https://wpml.org/forums/topic/wrong-flag-for-string-translation/ https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Screenshot_1233.png
February 14, 2024 at 12:05 pm #15301890

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi,

Welcome to the WPML support forum. Thanks for contacting us.

We are currently handling a high amount of ticket and while waiting for one of my colleagues to help with this ticket, it seems that you're following the right documentation so let's review all the steps together.

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

- First you can select individual strings with the checkbox on the left or you can select an entire domain by selecting "Language of domains"

- To change the language source of individual strings, you will use the button "Change language of selected strings" at the bottom of the table. Then when you select a new language, please wait. The page will reload by itself with the correct language.

- If you want to change the language source of an entire domain, then use the button "Languages of domains" at the top of the table. Select the correct domain (here WCfM). Then select a new language and click on "Apply".

February 14, 2024 at 12:54 pm #15302287

peterJ-48

Hi Nicolas,

As I said, we already implemented that solution but it didn't work.
You can watch this video that we have implemented the solution as per your suggestion.

Video URL : hidden link

Can you help me ?
This Documentation: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/ didn't work for me.

February 14, 2024 at 1:21 pm #15302542

peterJ-48

Hi Nicolas,

How to revert the string to default language (English language) ?

You can see this screenshot : hidden link The string “Tedarikçiler için Yardım” is in the Turkish language and the flag is visible in the English language.

February 14, 2024 at 10:23 pm #15304532

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

I think there is a misunderstanding here.

My colleague was referring that you can change the language of those strings to the language that those strings are on.

Practically, what you can do, taking into consideration that those strings are in Turkish, is that you change their default language to TURKISH (so the same string content will remain but the flag will change from English to Turkish so that the content is correctly assigned to the correct language) and then a new option will appear on the right, where you will be able to click the + icon and add a translation for English.

So that is what you need to do: change the language NOT to English, but to Turkish. The same content will remain, it won't change but it will properly be assigned to Turkish and a new option will appear on the right where you will also see the English flag where you can click + and add an English translation.

I hope that you will find this information helpful.

Mihai

February 15, 2024 at 6:29 am #15305016

peterJ-48

Hi Mihai,

I have changed their default language to Turkish and translated the content into English. But the string shows native language Turkish but we have native (default) language English. How to set the default language English?

Screenshot_1237.png
February 15, 2024 at 9:15 pm #15309512

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there and thank you for the update.

So the way you have it right now for that single string looks correct (flag correctly set to Turkish and content in Turkish) but you will need to do that in bulk (as my colleague mentioned above) so that you can change the default language in Bulk for all the other strings so that you don't do it manually, for each single string.

I am not sure about your question but these strings need to be changed to Turkish, there's no way to change the order and have the English show on the left like on the other strings if that's what you mean.

I hope that this is clearer now.

Mihai

February 16, 2024 at 6:48 am #15310036

peterJ-48

Hi Mihai,

Find the screenshot...

Turkish string is an example of this, but in WCFM text-domain we have some strings in English and some strings we have secondary languages.

If we convert Turkish string to Turkish flag then how to show this string in English with English flag? Like we have an English string.

You can see in the screenshot that we have multiple strings with different languages. In string translation how to show that string with English string and English flag if I convert that string to that proper flag?

I want to show all strings in English language with English flag in WCFM text-domain.

Screenshot_1244.png
Screenshot_1242.png
February 17, 2024 at 7:26 pm #15314139

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

It is very likely that inside WCFM you edited options in wp-admin and those options were edited in Turkish or it could be that you created a WCFM-related custom post that originally was created in Turkish.

If this is the case, then it is expected that strings by default are registered in the Turkish language in String Translation.

Please revise the WCFM backend and try to locate the registered strings, then change the string to English and translate it again to Turkish at WPML > String Translation.

Further, you will need to manually clean up WPML String Translation and delete any of those "Turkish" strings.

Best regards
Andreas

The topic ‘[Closed] Wrong flag for string translation’ is closed to new replies.