Skip Navigation

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

Problem:
The client is experiencing an issue where changing the language on their homepage (and other pages) results in the browser tab showing a blank label or one with hyphens, percent signs, etc. This issue is also affecting the 'og:title' meta property, which is crucial for SEO and displaying titles in browser tabs.
Solution:
1. We recommend deactivating the WPML String Translation plugin to see if this resolves the issue.
2. If deactivating the plugin fixes the problem, it indicates that there is a translated string that should not be translated.
3. If the issue persists after deactivating the plugin, it may be related to the settings in the Yoast SEO plugin.

If this solution does not seem relevant to your situation, please open a new support ticket with us for further assistance.

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 20 replies, has 2 voices.

Last updated by Osama Mersal 11 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
December 12, 2023 at 3:03 pm #15047097

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please take your time and let me know if you need further help regarding the issue.

Best regards,
Osama

December 12, 2023 at 3:09 pm #15047109

thomasG-103

As I go back and re-set the strings that should NOT be translated to the original text, is it possible that I can define the string as one that should NEVER be translated?

December 12, 2023 at 3:14 pm #15047121

thomasG-103

I see this advice, but I don't see the "Translation is complete" checkbox on the String Translations page. Here is the note I read:

If you want to prevent a string from being translated in WPML, there are several ways to do it. Here are some of them:

1. Exclude the string from translation: You can exclude the string from translation by going to the String Translation page in WPML and clicking on the Translation is complete checkbox next to the string you want to exclude. This will prevent the string from being translated in the future

December 12, 2023 at 3:19 pm #15047137

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Tom,

If you want these strings not to be translated, Please go to WPML-> String Translation-> Admin Texts Screen, click "Included to string translation," select these strings, and click "Remove from string translation."

Best regards,
Osama

December 13, 2023 at 11:13 am #15053581

thomasG-103

Hi Osama,
I went to the Admin Texts screen and found one of the strings that had been translated which should not have been translated--however, there are 30 more that do not appear on the Admin Texts pages. Is there somewhere else I can go to designate the strings as being ones that I do not want to translate?
Tom

December 13, 2023 at 11:17 am #15053731

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Tom,

These strings could be added by the wpml-config (XML configuration) file in the Yoast plugin. If so, please select all these strings, delete them, and don't translate them afterward.

Best regards,
Osama

December 14, 2023 at 4:11 pm #15066487

thomasG-103

I am checking with Yoast if their wpml-configuration file added the strings. Either way, your help was perfect and my tabs are rendering correctly now. Thanks so much for your help!