Problem: The client is using Timber for WordPress, which utilizes Twig templating. They are concerned about the compatibility of their site due to a new update that removes support for Twig in the language switcher. Solution: If you're using Timber and your code resembles the following:
then the integration of the language switcher is managed via PHP, and no changes are necessary due to the update. The Twig code within your templates will not be affected by our update unless you have used our Twig template inside shortcodes.
Please note that this solution might be irrelevant if it's outdated or not applicable 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 this does not resolve your issue, please open a new support ticket.
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.
Problem: The client is concerned about the potential impact of the twig template problem in the next WPML update on their site, especially since they are unfamiliar with the website's code. Solution: We asked the client to provide screenshots from the WPML → Languages → Menu language switcher and Widget language switcher sections to assess the usage of TWIG templates. Upon reviewing the provided screenshots, we confirmed that the language switchers on the client's site do not use TWIG templates. Therefore, the client should not experience any issues related to the removal of TWIG support in future updates.
If this solution does not seem relevant to your case, or if it becomes outdated, we highly recommend checking the 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.
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:
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.
Problem: The client needed to determine if their site uses Twig templates for the WPML language switcher, as they received a notification about changes related to Twig. They provided code snippets and details about their implementation, which they did years ago and were unsure about the current setup. Solution: We advised the client that the code they shared indicates a PHP-based implementation of the WPML language switcher, not a Twig-based one. Therefore, their current setup should not be affected by the changes related to Twig templates. We recommended that they ensure they have a full website backup as a precaution. Additionally, we confirmed that all links shared in the support ticket are private and only visible to the client and the support team.
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.
Problem: You are concerned about whether your site uses custom Twig templates for the language switcher, especially with the upcoming WPML 4.8 update which removes support for Twig templates. Solution: If you have configured your language switcher through WPML → Languages or your theme settings, you should not encounter any issues with the WPML 4.8 update. However, if you are unsure or need further clarification, we recommend checking the 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 this solution does not apply to your case, or if it seems outdated, please do not hesitate to open a new support ticket. We highly recommend visiting the WPML support forum for further assistance.
Problem: Sie sind unsicher, ob Ihre Website Twig Templates verwendet. Solution: Wenn Sie ein Theme aus dem WordPress Repository verwenden, wie in Ihrem Fall, sollten Sie nicht von der Entfernung der Twig Templates in WPML betroffen sein. Nach Überprüfung des Source-Codes Ihres Themes unter https://themes.trac.wordpress.org/browser/tiny-framework#2.3.1 konnten wir keine Verwendung von Twig feststellen.
Sollte diese Lösung für Sie nicht relevant sein, weil sie veraltet ist oder nicht auf Ihren Fall zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen (https://wpml.org/known-issues/) zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben.
Problema: El cliente ha recibido la newsletter 'Important: WPML - Removing Twig Template Support' y no está seguro si sus sitios utilizan Twig o están afectados por la eliminación del soporte de plantillas Twig en WPML. Solución: Si estás experimentando incertidumbre sobre si tus sitios utilizan Twig, te recomendamos verificar si hay personalizaciones hechas con código o funcionalidades específicas creadas con código personalizado. Es importante asegurarse de tener una copia de seguridad completa del sitio como precaución. Hasta ahora, no muchas personas han informado sobre el uso de Twig, por lo que es probable que tus sitios no estén afectados. Sin embargo, siempre es una buena práctica mantener una copia de seguridad reciente.
Si esta solución no resuelve tu problema o si la información parece desactualizada o no aplicable a tu caso, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos que revises los problemas conocidos y verifiques que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, no dudes en contactarnos en nuestro foro de soporte.
Problème : Vous êtes incertain si votre site utilise des templates Twig, suite à une notification indiquant que ces templates ne seront plus supportés dans la prochaine version de WPML. Solution : Si vous n'avez pas intégré de code personnalisé sur votre site, il est peu probable que vous utilisiez des templates Twig. Ces templates sont généralement utilisés pour les sites web de grande taille. Pour confirmer, vous pouvez vérifier la liste des plugins et du thème en fournissant les informations de débogage via ce lien : https://wpml.org/faq/provide-debug-information-faster-support. Après vérification, il semble que votre site n'utilise pas de templates Twig ni de plugins les gérant.
Si cette solution ne résout pas votre problème ou semble obsolète, nous vous recommandons de vérifier les problèmes connus sur https://wpml.org/known-issues/, de vérifier la version des corrections permanentes et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur le forum de support WPML.
Problema: El cliente está preocupado por el impacto de la eliminación del soporte de plantillas Twig en sus 12 sitios web que utilizan el plugin WPML. Solución: Hemos revisado los sitios y confirmado que no utilizan plantillas Twig activamente. Los archivos .twig encontrados dentro de la carpeta de WPML son parte de nuestra infraestructura interna y no afectan la operatividad de los sitios. Por lo tanto, no es necesario realizar ninguna acción; los sitios pueden continuar funcionando normalmente sin preocupaciones respecto a este cambio.
Si esta solución no resuelve tu problema o si la información parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. También es aconsejable revisar los problemas conocidos y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para asistencia adicional, visita nuestro foro de soporte.