This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needs to determine if Twig templates are being used on their multiple sites and seeks assistance with the transition for an upcoming Twig template update.
Solution:
If you've added the language switcher through WPML settings, a shortcode, or a widget, rest assured it will continue to function correctly. However, if the switcher is implemented directly in your theme's code, you should 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. It's also crucial to ensure that you have a full website backup for any of your sites as a precaution. For more detailed guidance, you can refer to the following documentation:
- Designing Custom Currency Switchers Using Template Files
- WPML Language Switcher Hook
- WPML Shortcodes API
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket.
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 1 month, 1 week ago.
Assisted by: Mihai Apetrei.