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 – 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: America/Los_Angeles (GMT-07:00)

This topic contains 7 replies, has 3 voices.

Last updated by Bobby 9 months, 2 weeks ago.

Assisted by: Bobby.

Author Posts
August 23, 2024 at 10:17 am #16098096

robinD-30

Background of the issue:
I want to remove the copy's of templates, because I have to copy styling to all translated templates otherwise.

Symptoms:
No specific issue or error message mentioned.

Questions:
Is it possible to remove the copies of templates in WPML?

August 23, 2024 at 10:41 am #16098247

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

I am not sure what copy of templates you mean, but if those are some templates you created by translating the theme, you can easily access them as any default language template. For example for Pages, go to Pages > All > Choose a language to filter that language.

I hope this helps.

Regards,
Drazen

August 26, 2024 at 11:18 am #16104113

robinD-30

Hello Drazen,

I hereby send you the printscreens of the issue. It Is happening with other languages as well.

Does this clarify the problem?

Schermafbeelding 2024-08-26 131818.png
August 26, 2024 at 9:48 pm #16106889

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi Robin,

It looks like the Polish menu translation is being pulled, am I correct?

Please go to Appearance-Menus and from within there you can review the Polish translation of your menu to ensure it is created as expected.

Let me know your results, please.

August 27, 2024 at 6:07 am #16107377

robinD-30

I understand your suggestion about the menu, but I see there is another problem.

In WPML > Translation Management, when I filter on ‘Template’ and ‘Polish’, I see some templates. Single Product, Single Post, Blog Home. When I edit the Single Post-template, this template is opened, and I can edit it. It does not affect the English (default language) template.

The problem now is that I don’t want these variants of templates in different languages to exist. It means that every change in the template must be set in all languages. For example, if I want to change the padding of the content.

Can I remove these templates?

Schermafbeelding 2024-08-27 080541.png
August 27, 2024 at 7:52 pm #16112100

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi there,

Technically, yes you can delete the translations. To do this go to Elementor -> Templates switch to the secondary languages and delete them.

However, I do not recommend doing this -- to ensure the templates display as expected it should either be translated or duplicated into the secondary languages.

Related Documentation: https://wpml.org/documentation/plugins-compatibility/elementor/

When your templates are translated the changes you make in the default language will take effect across all languages, it simply requires accessing the translation and re saving it when you are prompted to do so.

When you duplicate that is not needed as it's a duplicate.

August 27, 2024 at 7:56 pm #16112131

robinD-30

Hi Bobby,

I am not using Elementor, but the (new) default Gutenberg blockeditor.
Does this work the same way?

Thanks,
Robin

August 27, 2024 at 8:03 pm #16112137

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi Robin,

In that case this documentation I believe is the one to review
https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/#translating-the-site-editor-templates

But yes it should work the same way.

The topic ‘[Closed] Remove copy of templates’ is closed to new replies.