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.

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

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 8 replies, has 0 voices.

Last updated by Christopher Amirian 1 month, 4 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
March 2, 2026 at 7:22 am

walkmew

Hi WPML Support Team,

We are currently facing two critical issues regarding Gutenberg Template Parts on our WPVIP (WordPress VIP) environment. These issues affect all secondary languages (non-default). We would appreciate your assistance in resolving these:

1. 404 Error on Saving Template Parts in Secondary Languages
When attempting to create or save a Gutenberg Template Part in any language other than the default, the editor returns a 404 Not Found error.

This occurs during the save/update process for translated versions.

The default language saves without issues.

Given our WPVIP infrastructure, please let us know if there are specific REST API requirements or rewrite rules we need to adjust to ensure translated Template Parts are reachable.

2. Incomplete Translation of Header Template Part (Missing CTA Block)
When translating our "Header" template part via the Translation Editor, WPML only detects the Navigation Block.

The Issue: The header also contains a CTA Button block which is being ignored by the translation package.

Current Status: We have already translated the button text via WPML String Translation, but the translated text does not render on the front end for secondary languages.

The translation interface for the Template Part does not display the CTA block attributes for editing.

WPVIP Support Reply:
This is a WPML bug that needs to be reported to the plugin support team. When contacting WPML, you can share the following:
Issue: Creating/updating/deleting template parts fails with 404 when using non-default languages.
Environment: WordPress multisite with subdirectories, using "Different languages in directories" URL format.
Cause: The rest_url filter in class-wpml-url-converter-subdir-strategy.php incorrectly prepends the language directory (/de/, /ja/, etc.) to REST API URLs.
Expected behavior: REST API URLs should not include the language directory prefix.

Environment Details:
Hosting: WPVIP (WordPress VIP)

Editor: Gutenberg (Full Site Editing / FSE)

WPML Add-ons: String Translation and Translation Management are active.

Could you please provide guidance on why secondary language Template Parts are triggering 404s and how to ensure all blocks within a Template Part (specifically the CTA button) are correctly registered for translation?

March 2, 2026 at 10:54 am #17864184

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

Thank you, we are working on this issue to see why the changes in the original language for the template part is not reflected in the second language.

Thanks.

March 2, 2026 at 1:39 pm #17864922

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

The issue is escalated to the second tier support. Is there a way to deactivate plugins in WPVIP so we can check the WPML behavior in an isolated manner?

Thanks.

March 2, 2026 at 2:49 pm #17865205

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi we have just released WPML 4.9.2 which addresses an issue with the FSE templates:

Fixed an issue where Full Site Editing templates were not applied to translated pages.

Would you please update to that version and see if it fixes the issue?

March 3, 2026 at 6:39 am #17866743

walkmew

Hi Christopher,

I am writing to inform you that we are scheduled to update WPML to version 4.9.2. I will send a follow-up notification once the update has been successfully completed.

March 3, 2026 at 11:01 am #17867864

walkmew

Hi Christopher,

We have updated to WPML 4.9.2

March 3, 2026 at 12:21 pm #17868248

walkmew

Issue still not resolved after updated to WPML, please check again

March 3, 2026 at 1:03 pm #17868537

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you very much for testing that.

I am waiting for an answer fromt he second tier support as the issue is already escalated.

I will get back to you as soon as I have news.

Thanks.

March 4, 2026 at 4:07 pm #17872581

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The second tier support needs a copy of the website to be able to do troubleshooting specially on the database level.

I wonder if you could ask WP VIP for a zip file or some way that we can install the website ona local machine for troubleshooting?

As I do not have access to plugins I can not install any migration plugin and most probably it will not work with WP VIP.

Thanks.

The topic ‘[Closed] Creating/updating/deleting template parts fails with 404 when using non-default languages.’ is closed to new replies.