Skip to content Skip to sidebar

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

Problem:
The client was experiencing issues with certain texts not displaying in the translated language on their website. Specifically, the 'Course Category' title on a category page was showing in the main language instead of the secondary language (Catalan), despite being translated in WPML.

Solution:
1. We advised the client to ensure that the Elementor templates used for the Single Post and Archive pages were properly translated into the secondary language. For guidance on translating Elementor templates, we provided a link to our documentation: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates.

2. We then accessed the client's website and completed the translation of the 'The7 free courses posts archive' template. We also registered the 'Categoría del curso' label for translation from the Admin screen in String Translation. For assistance with finding strings that don't appear on the String Translation page, we referred to this tutorial: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings.

3. After including the label for translation, we added the translation in WPML > String Translation.

If this solution doesn't look relevant to your issue, please open a new support ticket here: WPML Support Forum.

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

Last updated by eduardoM-5 1 year, 9 months ago.

Assisted by: Prosenjit Barman.

Author Posts
December 8, 2023 at 1:04 pm #15025769

eduardoM-5

There are a number of texts that are not shown in translation.

1.- Images no1 and no2 show the translation entered in the secondary language (Catalan) for the two text strings.

2.- In the image no3 you can see the text of the button showing the text of the main language although the language of the web is in the secondary language.

This same situation happens to me with other buttons of the web.

What am I doing wrong?

no3.png
no2.png
no1.png
December 9, 2023 at 8:14 am #15028581

eduardoM-5

I have published the project at the following URL: hidden link

December 11, 2023 at 7:35 am #15033311

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

Upon reviewing the course page, I noticed that the Button is a component of the Single Post template, that you've created in Elementor for displaying each course. If this template hasn't been translated, then it's expected that the button will not appear in a translated form. Would you please check and ensure that the Template has been translated properly into other languages? you can check the guide below to understand the process.

- https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

If the template is not translated, at the time of translation, the button text should appear in the translation editor for Translation.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 14, 2023 at 6:15 am #15060595

eduardoM-5

Hello,
The instructions you gave me solved most of the problems.

There is only one text string that is resisting.
It is the following URL: hidden link

I am viewing the page in the "Catalan" language but the text string "Course Category" appears in "Spanish".

I managed to translate this string from "English" to "Spanish" through the menu "The7>Post Type Builder>Taxonomies", I edited the taxonomy "course_category" where two fields appear: "Singular Label" and "Plural Label". This is the text that appears in the URL indicated above. I attach image 1.

If I go to "WPML>Taxonomies Translation", select "Course Category", I can translate the strings but it is not displayed on the web page correctly. Attached images 2, 3 and 4.

regards,
Eduardo

4.png
3.png
2.png
1.png
December 16, 2023 at 3:17 am #15076517

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Eduardo,
Glad to hear that you've managed to translate most of the strings correctly.

Upon reviewing the Category page, I found that the "Course Category" title has been incorporated within the Elementor Archive template using the Title widget. Could you please check and confirm that the Archive template used for the Category has been translated correctly?

- https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

The text should appear properly translated if you have translated the template properly.

Please check and let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 16, 2023 at 11:20 am #15077181

eduardoM-5

Hello prosenjit,
I have gone through each of the templates that "Translation management" has shown me and in none of these templates has the string "Categoría del curso" appeared.
I don't know where to look further.
If you wish I can create a temporary user for you so you can see it yourself.
Regards
Eduardo

December 18, 2023 at 3:52 am #15080255

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Eduardo,
Thank you for trying out the suggestions.

As the issue persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

December 19, 2023 at 4:01 am #15088185

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for sharing the access information.

I'm happy to inform you that I have successfully translated the Category label. This issue primarily arose because the template wasn't translated and the Label wasn't registered for translation from the Admin screen in String Translation. Here are the specific actions I took to address this issue:

1. I navigated to "Templates > All" and completed the translation of the "The7 free courses posts archive" template. It's normal not to see the title there, as the Post title was added dynamically.
2. Next, I accessed the Admin Screen of String Translation and searched for the label "Categoría del cursor". For guidance on accessing the Admin Screen, please refer to this tutorial: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings
3. The label was found in the search results. I selected it and included it for translation.
4. Finally, I added the translation by returning to WPML > String Translation.

I hope it helps. Please let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

December 19, 2023 at 7:31 am #15088957

eduardoM-5

Hello Prosenjit,

The truth is that it was not very obvious to find the solution.

But the important thing is that it worked perfectly.

Thank you very much for your help.

Regards
Eduardo

December 19, 2023 at 7:33 am #15088959

eduardoM-5

Hello Prosenjit,

The truth is that it was not very obvious to find the solution.

But the important thing is that it worked perfectly.

Thank you very much for your help.

Regards
Eduardo