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
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

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

This topic contains 0 replies, has 0 voices.

Last updated by Noman 4 days, 5 hours ago.

Assisted by: Noman.

Author Posts
February 11, 2025 at 3:07 pm #16692498

marekO-4

Background of the issue:
I am trying to translate strings using WPML, but the translations are not appearing on the front end. The page where the issue can be seen is hidden link.

Symptoms:
The translations are saved, but the front end displays everything in English by default. I expected 'Seasoning' and 'Healthy food' to be in Slovak, but they are in English.

Questions:
Can you direct me on how to resolve the string translation issue?

February 11, 2025 at 4:09 pm #16692871

Noman
Supporter

Languages: English (English )

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

I was not receiving a reply on chat so I moved the chat into a forum ticket. I'm able to translate the Category button block element by following the below steps:

1. Added the below XML in WPML >> Settings > Custom XML Configuration section:

<gutenberg-block type="genesis-custom-blocks/category-button" translate="1">
      <key name="label" />
      <key name="url" />
    </gutenberg-block>

hidden link

2. Opened the default language post in Edit mode and made a small change in the post title to reload the translation, then removed that change and pressed an update button.

3. Opened the translated page in WPML Translation Editor and the Category button block element was available for translation.

Could you please try to follow the same steps on your live site and see if this resolves the issue.

Thank you

Category button.jpg
category button block.jpg