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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by Kor 1 week, 4 days ago.

Assisted by: Kor.

Author Posts
November 3, 2024 at 3:33 pm #16358144

moritzv-7

Background of the issue:
I am developing a website and trying to translate the homepage titles (heading 1 and heading 2) and two action buttons using WPML. The strings for the headings exist in string translation and I have translated them there. Unlike other headings on the homepage they do not appear as segments when translating the page though but I am not sure if they should appear there or just be translated in strings translation.

Symptoms:
The translated titles do not appear on the German version of the website; they remain in English. The strings for the action buttons do not appear in the string translation search, although they have been translated in other pages/posts before.

Questions:
Why are the translated titles not showing on the German version of the homepage?
How can I find and translate the strings for the action buttons that do not appear in the string translation search?

November 4, 2024 at 6:22 am #16358777

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, and thank you for reaching out.

Certain strings may require a specific procedure to be located and translated. There may also be duplicate strings; we need to find and translate the correct ones.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin.

Please attempt both methods and check if either of them resolves the issue.

Method 1:

Navigate to WPML > String Translation and at the bottom of the page, you will find a checkbox labeled "Look for strings while pages are rendered." You can enable (check) that option, then go to the front end to a page where the string is displayed, and afterwards return to WPML > String Translation to search for that string and see if it now appears.

Method 2:

If you can't locate them within WPML > String Translation, they might be included as admin text strings.

This is the typical process for finding and translating admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

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

PS: There is also something important to mention; if the strings come from outside of WordPress, it would be impossible for WPML to see or translate them.

Please keep us informed about your progress.

Mihai Apetrei

November 4, 2024 at 8:01 pm #16363226

moritzv-7

Hello Mihai

Many thanks for your message and the options to try. I tried them all and unfortunately it did not work.

ii think one of the issues is that most strings that do not translate are strings that I was actually able to find and translate before, but they just don't show as translations. The image attached is an example - it is heading 1 of the home page. I translated it into German as you can see on the image, but it is still in English on the German version of the home page. The same applies to heading 2 and I think also the call to action buttons if I remember correctly.

The only sligthly odd thing about this example is that there is no button that I can click to actually save the translation. I use the enter key to get out of it and when I search for the same string again, it shows the translation, so it is saved somehow. I'm not sure if this helps in any way.

Kind regards,
Moritz

Screenshot string already translated.png
November 5, 2024 at 2:39 pm #16367427

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Sorry to hear that the methods shared above are not working for you. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

November 6, 2024 at 1:38 pm #16372031

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked and it looks like your Colibri WP Theme does not seem to be compatible with WPML as it is not listed here : https://wpml.org/theme/?wpv_view_count=119967&wpv-theme-category=0&wpv_post_search=Colibri+WP%09&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search . Currently, our team has not tested the plugin/theme, and we are not familiar with the workings of the Colibri builder.

In situations like this, we typically recommend that our clients reach out to the plugin/theme support team for assistance.

If they are unable to help, you can ask them to contact us directly through our Go Global program at https://wpml.org/documentation/theme-compatibility/go-global-program/. We aim to collaborate with their developers to ensure full compatibility with WPML.

You might also consider manually translating your content using the method outlined here, though I can't guarantee it will resolve any other issues: https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/.

November 6, 2024 at 7:35 pm #16374497

moritzv-7

Hi Kor

Many thanks for your message. I'm now thinking of switching themes.

The only reason I installed and used Colibri was because a training course from Proz.com suggested it and also used WPML with it, so I thought it would work.

Before switching, could I please ask if the Elementor theme is compatible with WPML - according to this article it is:
https://wpml.org/plugin/elementor/#:~:text=Elementor%20is%20fully,compatible%20with%20WPML.

When searching for the Elementor theme in wordpress it comes up with many differernt Elementor themes, e.g. Restaurant Elementor, News Elementor, Business Elementor etc - are they all Elementor and compatible with WPML?

If you have any better suggestions of a free theme which has a page builder, please let me know.

With many thanks,
Moritz

Screenshot Elementor themes 2.png
November 7, 2024 at 3:16 pm #16378470

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Elementor's Hello Elementor theme https://wpml.org/theme/hello-elementor-2/ and its page builder are fully compatible with WPML. Also, all the themes that are listed here https://wpml.org/theme/ are fully compatible with WPML. Free themes are usually locked with limited features so you need to take note of that.

I would recommend Elementor, Avada, or Astra.