Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by Long Nguyen 1 year, 12 months ago.

Assisted by: Long Nguyen.

Author Posts
August 14, 2023 at 7:52 pm #14199727

miriamS

We have a Gutenberg button block in a header. We tried to point the button url to the page or a manual url (/donate/). When we go to the translation string and translate this url it's still points to the default language. Although when you switch flag on Donate Page everything displaying correctly.

August 15, 2023 at 3:13 pm #14204125

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps.

When I tried the Donate Now button on these languages, here is what I found :

1- EN : Works fine
2- FR : It redirects to EN_CA (Canadian) , The translation might be wrong?
3- He : Site is not accessible for me (I'm located in Tunisia, your site must've have a firewall block)
4- EN_Canada : Works fine
5- EN_GB : Works fine

Other than French (and Hebrew that I couldn't access), the button seems to be working from my side, so it could be a caching issue.

For French, maybe the URL translation got switched, please double-check its translation.

Thanks, 🙂

August 15, 2023 at 3:43 pm #14204219

miriamS

No,

when you are on hidden link and click donate button it takes you to hidden link instead of hidden link

The same thing is happening on Canada and UK. When I update url in string translation this is not updated on the button as it's always pointing to hidden link

August 15, 2023 at 4:58 pm #14204459

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I see what happened, I was clicking on this button instead : hidden link

I do see the issue now, I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials, as they will be publicly exposed:

hidden link

August 17, 2023 at 3:52 am #14241947

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I see you are using a custom theme to display the header with a block editor on your site. Any changes in the English language are not updated in the French language or other ones. If I change the theme to a WordPress theme (2023), the header works properly in second languages.

I recommend contacting the developer to ask for help with this case.
If you want to translate a block template, please follow the documentation https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/

Look forward to your reply.
Thanks

August 17, 2023 at 5:50 pm #14248237

miriamS

I believe you are mistaken. I'm talking about the headers only Donate button. The button below the header "Donate Now" works perfectly fine. I've switched the theme and seen no differences.

August 18, 2023 at 3:10 am #14249343

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The button below the header "Donate Now" works perfectly fine.

The button URL "Donate Now" on the front page is translated into the French language because I've translated it in Advanced Translation Editor. Please check this screenshot
hidden link

It does not work in Canada language, please check this screenshot hidden link

I'm talking about the headers only Donate button. I've switched the theme and seen no differences.

Yes, I'm also focusing on the "Donate" button in the header. In this screen record, you can see the difference in the header button when I switch the theme to the default one of WordPress (2023). The translated button in the header displays properly in French language, switch back to your current theme, it does not work.
hidden link

Look forward to your reply.
Thanks

August 18, 2023 at 10:20 am #14251781

miriamS

Translating Header template part in Translation Management changing the language resolved the problem