Skip Navigation

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

Problem:
The client is using a 'simple banner' plugin that displays both English and Czech texts on both language versions of the site, and they want to display only the relevant language text on each version.
Solution:
We recommend the following steps to resolve this issue:
1. Enter the text in English and save it.
2. Go to WPML → String Translation.
3. Enable the option to auto-register the strings.
4. Navigate to the page where the banner strings appear.
5. Return to WPML → String Translation, disable the auto-registration option, and check if the banner text has been registered.
6. Translate the banner text.
For more details on how to find and translate strings that do not appear on the String Translation page, please visit our documentation.

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 issue 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.

This topic contains 2 replies, has 0 voices.

Last updated by Andrey 12 hours, 30 minutes ago.

Assisted by: Andrey.

Author Posts
March 11, 2025 at 8:44 pm #16804096

yaroslavL-2

Background of the issue:
I have a 'simple banner' plugin which displays a simple banner on top of my page hidden link. This plugin isn't compatible with WPML, so I can't set it to different languages natively. Currently, both the English and Czech texts appear in both languages.

Symptoms:
The 'simple banner' plugin displays both English and Czech texts on both language versions of the site.

Questions:
Is it possible to use HTML or a shortcode to display only the English version on the English site and only the Czech version on the Czech site?

March 11, 2025 at 11:25 pm #16804489

Andrey
Supporter

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

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

Thank you for contacting WPML support.

You have successfully added both versions of the banner text to the plugin's options. I recommend the following steps:

1. Enter the text in English and save it.
2. Go to WPML → String Translation.
3. Enable the option to auto-register the strings.
4. Navigate to the page where the banner strings appear.
5. Return to WPML → String Translation, disable the auto-registration option, and check if the banner text has been registered.
6. Translate the banner text.

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

March 12, 2025 at 8:11 am #16805375

yaroslavL-2

OMG thank you so much! I didn't think this would be possible. Your plugin is the BOMB!!! So happy, thank you.

March 12, 2025 at 8:18 am #16805416

Andrey
Supporter

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

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

Thank you. Have a nice week 🙂