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.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.