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.

This topic contains 3 replies, has 0 voices.

Last updated by Seth 1 week, 2 days ago.

Assisted by: Bobby.

Author Posts
March 23, 2026 at 9:04 pm #17919901

Seth

My site has some custom patters in a custom pattern area. The site was designed in English, I translated the patterns to French, but the translations don't appear anywhere in the site editor. I was able to translate the pattern area and create new patters in French, but I get a 404 error when I try to save any changes to the pattern. It's submitting here:

hidden link

test-2 is the name of the pattern.

March 24, 2026 at 6:37 pm #17923750

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

I can see that our Ai support suggested reviewing the Errata documentation, however, I don't see a URL link for it, just to make sure it came through have you been able to review this known issue.

https://wpml.org/errata/template-is-not-applied-to-translated-page/

Let me know your results, please.

March 25, 2026 at 4:13 pm #17927135

Seth

Yes I tried that.

I created a new pattern for testing. Here is what happens.

1. I made the "Pattern Taxonomy" translatable. and translated my custom category
2. I created an English pattern. It works as expected.
3. I go to "translation Dashboard" and translate the pattern. I tried "duplicate" and "translate myself" and ended up with the same result (commenting out the post_name line in BlockTemplates.php did not change this):

- The translated pattern is in the wp_posts table with the same guid and post-name as the original. There is a row in icl_translations specifying its language correctly.
- When I open the full site editor in French mode, I can't see the translation at all.

If I try to create a pattern in French mode (not a translation of anything). I can see it but I can't save any changes to it.

March 26, 2026 at 4:40 pm #17930125

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the update!

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

March 30, 2026 at 6:53 pm #17937855

Seth

I was able to workaround this issue by making my theme block pattern a custom post type. That way I didn't need to deal with the issues I was having with the full site editor.