Skip Navigation

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

Problem:
You are trying to translate the secondary language on your site, but the animated headline is not displaying properly, and your shortcode content is also not showing.
Solution:
We have investigated your issue and determined that it is not related to WPML or the translation process. The problem persists even when WPML plugins are deactivated. To troubleshoot, create a new page without WPML, add the same widget with the same content, and observe if the issue remains. If the problem continues, it suggests that the issue might be with how the Chinese characters are rendered in the widget. Adjusting the font weight and size in Elementor does not resolve the issue, but removing one letter from the problematic word allows the widget to function correctly.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. We also suggest 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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

Last updated by Osama Mersal 4 months, 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 24, 2024 at 2:22 am #15995312

yukiS-2

Background of the issue:
I am trying to translate the secondary language on my site hidden link. The animated headline is not showing properly, and my shortcode content is also not displaying.

Symptoms:
The animated headline and shortcode content are not showing properly.

Questions:
How can I fix the animated headline not showing properly?
How can I resolve the issue with shortcode content not displaying?

July 24, 2024 at 2:25 am #15995322

yukiS-2

Can check attachment for the issue, 2 url that can see the issue: hidden link, hidden link

Screenshot 2024-07-24 at 10.23.25 AM.png
Screenshot 2024-07-24 at 10.23.01 AM.png
July 24, 2024 at 10:44 am #15997816

Osama Mersal
Supporter

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

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

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Let us focus on the headline first. I checked it, and it seems to work correctly. Please let me know how to reproduce the issue.

Best regards,
Osama

July 24, 2024 at 1:31 pm #15998750

yukiS-2

Hi,

Can you screenshot how your side look? Cause when I go to hidden link and use language switcher to switch to 中文 then can see the animated headline become 2 line if not same count of text for the last banner, kindly advise how to do to make it display correctly? Besides, can let me know how to translate whole shortcode?

Thank you

July 24, 2024 at 1:34 pm #15998766

Osama Mersal
Supporter

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

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

Hi,

Please check the font size and the margins and padding in this text widget.

If that didn't help, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 26, 2024 at 11:44 am #16008483

Osama Mersal
Supporter

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

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

Hi,

Thanks for the access details. I checked the issue and found that it happens because of how the Chinese words are written.

If you deactivate WPML plugins, create a new page, and add the same widget with the same sentence, you will face the same issue, so it's not a translation issue.

WPML does not cause the issue or how you translate this page. I edited the translated page using Elementor and changed the font weight and size, but the problem happened.

If you delete one letter of the problematic word, the widget works correctly.

Best regards,
Osama

July 30, 2024 at 7:53 am #16019006

yukiS-2

Hi,

Thanks for your reply.

If like this can solve for another problem, shortcode translation?

The shortcode does not appear for second translation. Kindly advise how to solve it?

Thank you

July 30, 2024 at 8:28 am #16019201

Osama Mersal
Supporter

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

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

Hi,

Please let me know where to check this shortcode.

Best regards,
Osama

July 31, 2024 at 5:49 am #16022940
yukiS-2

Hi, can check the shortcode translation issue on page: hidden link. Can refer attachment for different between English and chinese translation.

Kindly advise what I can do to translate the shortcode html together.

Thank you

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/shortcode-translation-3/

Screenshot 2024-07-31 at 1.48.35 PM.jpeg
Screenshot 2024-07-31 at 1.48.05 PM.png
July 31, 2024 at 8:25 am #16023584

Osama Mersal
Supporter

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

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

Hi,

We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.

Therefore, I've split the other issue and created a new ticket with this issue.

Best regards,
Osama

July 31, 2024 at 9:59 am #16024002

yukiS-2

The issue resolved, thank you.