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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 11 replies, has 2 voices.

Last updated by Waqas Bin Hasan 10 months, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
January 9, 2024 at 8:31 am #15163414

sbsP

Hi, I need your help.

Some gallery, buttons, and text, dont translate to the other languages.

Whating for response.

Thank you

Captura de ecrã 2024-01-09, às 08.26.41.png
Captura de ecrã 2024-01-09, às 08.24.59.png
Captura de ecrã 2024-01-09, às 08.17.42.png
January 9, 2024 at 9:20 am #15163607

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Can you please explain a little more about the issue? I mean are you able to translate these in WPML (translation editor and/or string translation)?

Also provide the debug information of your website for an overview of your setup. See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Regards.

January 9, 2024 at 7:48 pm #15166387

sbsP

debug info removed from public message.

January 10, 2024 at 7:43 am #15167378

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for providing the debug info.

However, can you please explain a little more about the issue? I mean are you able to translate these in WPML (translation editor and/or string translation)?

Because as per my understanding, that if you're able to translate in WPML but these don't show as translated on frontend, then probably it is due to your theme, which isn't on our compatibility list (https://wpml.org/theme/).

So before proceeding further, may I ask you to try the following?

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Switch to a standard WordPress theme like 2021 or 2024.
- Deactivate all plugins except WPML and WPBakery Page Builder and check for the issue.

Please let me know.

January 10, 2024 at 11:24 am #15168238

sbsP

hello
the main language is Portuguese
wpml is simply not working on some elements, nor on some elements on the pages of the site.

1- I'll mention which ones have images.
Gallery

2 - elements that are the same, some are translated, others are not.

3 - Buttons that are part of the theme and I can't translate into the main language and then translate into other languages.

I send you images so you can see where they are.

I look forward to hearing from you
Thank you

Captura de ecrã 2024-01-10, às 10.54.56.png
Captura de ecrã 2024-01-10, às 10.55.07.png
Captura de ecrã 2024-01-10, às 10.58.08.png
Captura de ecrã 2024-01-10, às 11.01.00.png
Captura de ecrã 2024-01-10, às 11.03.30.png
Captura de ecrã 2024-01-10, às 10.54.34.png
January 10, 2024 at 12:48 pm #15168892

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the details.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

January 11, 2024 at 8:19 am #15172589

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the access, I am working on this and 'll get back to you as soon as I find something or have a solution.

January 11, 2024 at 1:09 pm #15174607

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I am still working on this and 'll get back to you as soon as I find something or have a solution.

Thank you for your patience and cooperation.

January 11, 2024 at 4:32 pm #15175889

sbsP

thank you very much to help

January 12, 2024 at 7:40 am #15177326

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I was able to fix the translations for "WHAT LA PODS FACTORY IS ALL ABOUT" progress bars on English home page (hidden link). Let me explain.

Since you're using WP Bakery page builder, some widgets or elements may need to register with WPML for translation. This is a common case among page builders because they are always evolving. Popular builders' standard widgets are recognized by WPML and are updated time to time, but new or updated ones may need a little extra care.

For this WPML offers to register their footprints in WPML -> Settings -> Custom XML Configuration. WP Bakery uses shortcodes behind the scene, so I registered this as below:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>qodef_progress_bar</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

And then I was able to translate in the translation editor.

I'll recommend following steps, so you can bring others too and translate all the areas in your site:

- First of all, there are chances that some are already in the translation editor but not visible by default. This is a default feature of the editor that it hides content coming from short codes. So when editing translations, search in ATE for the text and you may find it. See https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/ for details.

- If you don't find it in ATE or in WPML -> String Translation, then you need to register that widget's shortcode, follow these steps:

--- Open the page in default language for editing which has that widget.
--- Switch to "Classic Mode", so you can see the shortcodes behind it.
--- Find the shortcode and note down it.
--- Find its attributes, note down and decide which ones you want to translate.
--- Switch back to "Backend Editor" mode.
--- Go to WPML -> Settings -> Custom XML Configuration.
--- Register the shortcode in the above mentioned (existing) XML, see https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/ for details.
--- Save.
--- Go back to the page, edit in default language.
--- Staying in the backend editor (or visual) mode, edit the widget and make little change to it. For example, if you registered the "title" attribute with this shortcode, make a small change to the title property of the widget, like add a word or two.
--- Save/Update the page.
--- Edit the translation.
--- See if it is visible in the ATE or search for it and translate.
--- Make translation 100% complete.
--- Clear all caches and check on frontend.

As I mentioned earlier, several strings/text are already in ATE, so you need to search and translate accordingly.

Some screenshots are attached as references to the above mentioned.

shortcode.png
Screenshot 2024-01-12 122507.jpg
Screenshot 2024-01-12 122456.jpg
Screenshot 2024-01-12 122431.jpg
classic mode.png
January 16, 2024 at 11:42 pm #15192342

sbsP

Hi,

Sorry only respond today!
Thanks for the solutions details.
I tray to following steps any doubt i sent a ticket support.

Thanks you

January 17, 2024 at 8:52 am #15193521

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

My apologies I don't understand your recent message. Can you please explain about it?

The topic ‘[Closed] Hi, I need your help. Some gallery dont translate to the other languages,’ is closed to new replies.