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.
Tagged: Twig Language Switcher
This topic contains 3 replies, has 0 voices.
Last updated by Mihai Apetrei 1 week ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
June 12, 2025 at 8:06 pm #17131390 | |
chooselifemarketing |
Background of the issue: Symptoms: Questions: |
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/wpml-hook/wpml_language_switcher/ - https://wpml.org/documentation/support/wpml-coding-api/shortcodes/ |