This thread is resolved. Here is a description of the problem and solution.
Problem: The client wants to reopen a thread related to TWIG on the WPML support forum but did not specify any particular issue or error message. Solution: We reviewed the client's theme code and confirmed that they are using Timber with an integration. The integration is handled via PHP, ensuring that the language switcher and other multilingual functionalities are correctly implemented without needing changes. The TWIG code within the template remains unaffected by our updates unless used inside shortcodes, which is not the case here. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I want to reopen a thread related to TWIG on the WPML support forum. The thread is located at https://wpml.org/forums/topic/twig/. I am following some documentation.
Symptoms:
No specific issue or error message mentioned.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
we can continue the conversation here. Here’s the last message I sent:
To assist you further, I’d like to request FTP access. This would help me better understand how your theme is working and allow me to review the Twig implementation directly. If possible, we’d look into temporarily commenting out the relevant code to prevent errors from the deprecation, and evaluate whether switching to a standard menu-based solution could work—ideally without requiring a custom PHP switcher. This really depends on how the current switcher is styled and implemented, which I can't assess without seeing the actual output.
I've enabled a private message so you can securely share the credentials.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Thanks! I'm currently downloading your theme via FTP so I can search through all the Twig files locally and better understand where each part is coming from. I’ll keep you posted.
That means the switcher integration is handled via PHP, so no changes are needed. Twig code within your template is not affected by our update — unless you’ve used our Twig template inside short codes, which is not the case based on the code above.