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
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 1 voice.

Last updated by Andreas W. 3 weeks ago.

Assisted by: Andreas W..

Author Posts
April 22, 2025 at 12:58 pm #16955320

ivanS-69

Background of the issue:
I am trying to translate patterns on my page using WPML. I expected to see a language meta box that would allow me to link the patterns in the editor screen.

Symptoms:
I don't see the pattern, and when I try to add a new translated pattern in a new language by clicking + on the pattern list screen (wp-admin/edit.php?post_type=wp_block), I can add the pattern but the content is not copied over. Then, if I click on the pattern admin link in this language once it's created, I don't see the pattern.
Only when I click back in my browser can I go to the edit screen of the pattern, and then when I click on the pattern link again, it is on the list of the patterns in that language, but it's not connected to the original language. I have patterns marked as translatable in the WPML settings

Questions:
Why is the language meta box missing on the patterns?
How can I ensure the translated pattern content is copied over and linked to the original language?

April 22, 2025 at 4:13 pm #16956465

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

While one of my teammates handles your ticket, I will provide you with some initial debugging steps.

It’s possible that this custom post type is set to "Not Translatable". You can check this by going to WPML → Settings → Post Types Translation. If it is indeed set to "Not Translatable", try changing it to "Translatable".

Here are more details: https://wpml.org/documentation/getting-started-guide/translating-custom-posts/#cant-find-your-custom-post-types

If this is still the issue, please upload any relevant screenshots that would help illustrate the problem.

April 23, 2025 at 8:53 am #16958574

ivanS-69

The CPT for patterns is a native WordPress one (wp-blocks).

We also have weird issue with string translations, and we are wondering, because we have website that is using autoscalling instances, is it possible that po/mo files are not stored on both instances which would cause some instance to have access to it, and other not?

Is it possible to somehow dictate where these files will be stored?

Because we also have one 'static' instance that can have files stored that need to be shared between autoscalling instances.

April 23, 2025 at 10:42 pm #16962201

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

take kindly note that this behavior us currently expected.

To translate Block Themes and their Templates, Templates Parts, Navigation Menus, and Patterns you will need to use WPML > Translation Management.

Create a job and translate it automatically or assign the job to yourself and then access the translation at WPML > Translations.

Note, that it is currently not possible to translate such post types manually using the Site Editor. If you do so, you might run into unexpected issues regarding the display conditions of their post types.

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

Best regards
Andreas

The topic ‘[Closed] Language meta box missing on patterns’ is closed to new replies.