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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Jeff Boulton 3 months, 1 week ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
October 9, 2025 at 12:13 pm #17471234

Jeff Boulton

Hello Lucas,

1. I've added the 'Exhibition' string to the theme’s sidebar.php file and translated it into Armenian, but on the Armenian version of the site, it still appears in English. Please see the attached screenshots.
String Translation page:
hidden link

Front page:
hidden link

2. I've installed and configured the GiveWP plugin in your sandbox account. With the default languages set to English and German (as the secondary language), everything works correctly.
hidden link

hidden link

hidden link

hidden link

After that, I changed the default language to German — it still worked correctly.

Then I added Armenian to the language list, translated the strings, and reproduced the issue.
hidden link

Thanks in advance.

October 9, 2025 at 12:39 pm #17471358

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hey there,

Regarding the strings from your theme, I created a new testing website. Please access it and install your theme there. Don't take any other actions. I'll setup WPML myself and make the necessary tests. Thanks in advance for your cooperation.

hidden link

October 10, 2025 at 11:31 am #17474290

Jeff Boulton

Hello Lucas,

I've installed our theme on the sandbox website. The texts in it are in Armenian.
Please note that our theme is still under development.

hidden link
Here you can see the added string in English that we’re unable to translate.
Theme path: themes/communityngo/patterns/sidebar.php

Thanks in advance.

October 10, 2025 at 1:40 pm #17474660

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Thank you for sharing. I understand you refer to the “Exhibition” string. I checked the code and noticed they're wrapped in esc_html_e(), which won't work with WPML. Hard-coded strings need to be wrapped in __() or _e().

Please check our documentation for developers, review your code and ensure that it matches WPML requirements for compatibility:

https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/

The creation and maintenance of custom code is outside the scope of this support, but the documentation is enough for you to ensure that the content from the theme is translatable.

October 13, 2025 at 11:04 am #17479266

Jeff Boulton

Thank you, Lucas!

We still have the same issue on our website, even when using _e().
I need to make some changes to understand the cause of the issue.
Thanks!

The topic ‘[Closed] Split: Untranslatable theme strings’ is closed to new replies.