Skip to content Skip to sidebar

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.

This topic contains 3 replies, has 2 voices.

Last updated by Andrey 1 year, 8 months ago.

Assisted by: Andrey.

Author Posts
August 15, 2024 at 1:43 pm #16074723

eranM-5

Question 2

I would like to add another site to my account. That site has some theme words that are misspelled. I have the Loco plugin installed on the site and it just displays the words that are misspelled correctly, not requiring the user to switch a language or click anything.

Can WPML do that for English if English is the default language?
Can WPML continue to that if I add another language (Thai)? i.e. correct the spelling in the EN default language and display a Thai translation of everything on the site when the user switches language?

Please show me how to achieve that

thank you and I am looking forward to your reply

August 15, 2024 at 2:10 pm #16074797

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

If I understand correctly, you want to correct the default language string. Since all themes and plugins are written in English, WPML is not currently designed to do this.

However, there is a workaround you can try, but it's not a standard solution and may not work with all themes or plugins.

- Go to WPML -> Languages -> Add New Language. Add any random language.
- Scroll down to section "Hide language" section and check the checkbox next to the language you added
- Click "Save" to hide the language you just added.
- Go back to WPML -> String Translation. Select the string you want to change.
- Change the language of the string to the hidden language you added.

Now, you should have an option to “translate” it.

Example: hidden link

Remember to backup your database before you proceed.

August 19, 2024 at 12:01 pm #16083302

eranM-5

Hello,

Can I use US English as the site's default language
Add US English as the "hidden" language that will correct the bad spellings on the default language?
Add Thai (or another language) with a switch
When visiting a Thai language page, will users see the corrected misspellings when switching the language from Thai to English?

Or in other words, will the "hidden" language always be visible when visiting US English pages?

I can give you access to a site with the Loco setup so that you can teach me how to implement this with WPML

Thank you and I look forward to your reply

August 19, 2024 at 2:46 pm #16084398

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

Currently, with WPML, there is only a workaround to check if this will help in your case. By default, WPML does not have the capability to rewrite the original text in which plugins or themes were written.

You cannot hide the site's default language. However, you can choose to hide any secondary language. The hidden language is not visible to users.

I suggest following the steps and watching the video I shared in my previous comment to see if it works in your case.