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
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+03:00)

This topic contains 3 replies, has 0 voices.

Last updated by Mihai Apetrei 5 days, 17 hours ago.

Assisted by: Mihai Apetrei.

Author Posts
June 12, 2025 at 8:06 pm #17131390

chooselifemarketing

Background of the issue:
I have multiple sites and need to know if Twig is being used. Your organiation preparing for an upcoming twig template update transition and we need assistance with this process. I have multiple domains in my account for reference.

Symptoms:
No specific issue or error message mentioned. Sites are working, just need help identifying if any use twig template.

Questions:
Is Twig being used in my site?
Can you assist with the transition if Twig is being used?

June 12, 2025 at 9:04 pm #17131474

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

Thank you for contacting WPML support.

If you added the language switcher through WPML settings, a shortcode, or a widget, there is no need to worry; it will continue to function correctly.

However, if the switcher is implemented directly in your theme's code, you may want to consult the theme author to understand how the WPML language switcher is integrated. Alternatively, if you have the necessary skills, you can check the theme's template files yourself to identify the file responsible for rendering the switcher and verify how it has been integrated. Inspecting with the tool in the browser won’t indicate whether a Twig template has been used.

One important thing you can do is make sure that you have a full website backup for any of your sites, just to be safe in case something breaks. But not many people reported using Twig.

I hope that you will find this information helpful.

Mihai Apetrei

June 16, 2025 at 4:40 pm #17139973

chooselifemarketing

Thank you for the above information. Are there instructions for how to identify if the twig template is used on a site available?

June 17, 2025 at 8:49 pm #17144093

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there and welcome back.

We don't have a list of specific steps to follow to find out if your site is using TWIG. Generally, if you believe you haven't used it, you are likely correct—unless a developer has implemented it in a custom manner.

However, you can find a few examples and explanations in the following URLs:

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/designing-custom-currency-switchers-using-template-files/

- https://wpml.org/wpml-hook/wpml_language_switcher/

- https://wpml.org/documentation/support/wpml-coding-api/shortcodes/