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
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by jeppeK-2 2 days, 9 hours ago.

Assisted by: Bruno Kos.

Author Posts
February 3, 2025 at 8:12 am #16661286

jeppeK-2

Background of the issue:
I am trying to translate the block-based cart and checkout pages in WooCommerce, similar to the issue discussed in this thread: https://wpml.org/forums/topic/the-check-out-page-is-only-partly-translated/. I want to maintain the new design of these pages and not revert to the old design.

Symptoms:
Some languages translate fine, but Finnish does not. I expected the page to be translated to Finnish, but it remains in English.

Questions:
How can I translate the block-based cart and checkout pages while keeping the new design?
Why is the Finnish translation not working while other languages are fine?

February 3, 2025 at 1:02 pm #16662778

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Here is the sandbox:
hidden link

On this sandbox, can you set the checkout and cart through the blocks in the same way it is set in your website? Let's see if Finnish translation will show up, given that they should be translated in hidden link

February 4, 2025 at 8:26 am #16665195

jeppeK-2

The translations work fine in this sandbox. But they do not work in my site, why is that? I have a staging site that I can give you access to.

February 4, 2025 at 9:02 am #16665395

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Please include WordPress and FTP credentials for the staging site.

I marked your next reply as private so that you can safely add these.

February 5, 2025 at 8:07 am #16669252

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Can you install https://wordpress.org/plugins/wp-file-manager/?

I'd like to try something - to remove mo/po files from your site and add those from the Sandbox to see if that's where the issue is.

February 5, 2025 at 11:02 am #16670456

jeppeK-2

Done!

February 5, 2025 at 11:42 am #16670666

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

It looks like File Manager will not work, probably blocked by the host as I get HTTP error 500 on hidden link.

Can you provide me with FTP instead?

February 5, 2025 at 11:44 am #16670750

jeppeK-2

Looks like there is another file manager installed which works. Please see hidden link

February 6, 2025 at 7:44 am #16673759

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

If we change locale here hidden link, to match the translation file it works.

hidden link

Would this work for you?

February 7, 2025 at 8:09 am #16678171

jeppeK-2

Perfect, that works! I had no idea. Thank you.

While I have you: I cannot find a way to translate the "sub heading" that I have added below EU VAT number in checkout. The string "Kun for EU-virksomheder. Ellers skal du lade stå tom."

This does not show up in the "translate to english" popup as opposed to other custom text that I add.

Can you see why?