Problem: The client is unsure about the type of language switcher used on their website and whether they need to replace the Twig templates. Solution: If you're experiencing uncertainty about the type of language switcher on your website, we recommend checking if you added the language switcher via WPML → Languages. If this is the case, it confirms that you are not using Twig templates for the language switcher, and everything should be functioning correctly.
Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket.
Problem: You need to determine if your site is using Twig templates due to an upcoming update in WPML that will no longer support them. Solution: We reviewed the screenshot you provided and confirmed that your site does not use Twig templates. Instead, you have implemented the language switcher through WPML by navigating to WPML → Languages → Widget language switcher and placing it in your site’s widget area.
If this solution does not seem relevant, or if it becomes outdated, we recommend checking the related known issues and verifying that you have installed the latest versions of themes and plugins. If you still face issues, please open a new support ticket.
Problema: Il cliente ha ricevuto un'email che informa che nella versione 4.8 di WPML verrà rimossa la compatibilità con i template Twig e non è sicuro se il suo sito utilizza Twig. Soluzione: Se utilizzi i selettori di lingua con le impostazioni di WPML, non stai utilizzando Twig. Tuttavia, puoi fare un ulteriore controllo seguendo queste indicazioni.
Se la soluzione proposta non risolve il problema o sembra non essere più rilevante, ti consigliamo di aprire un nuovo ticket di supporto. Ti raccomandiamo inoltre di verificare i problemi noti correlati, di verificare la versione della correzione permanente e di confermare che hai installato le versioni più recenti dei temi e dei plugin.
Problem: Der Kunde hat eine E-Mail über das Ende des Twig Supports erhalten und möchte wissen, ob seine Website davon betroffen ist. Die Website verwendet diverse Twigs, und es besteht Unsicherheit, ob das Ende des Twig Supports die übersetzten Inhalte beeinflussen wird. Solution: Wir haben festgestellt, dass das Theme des Kunden vom üblichen WordPress-Schema abweicht und der Header sowie andere Partials (z.B. Footer, Newsletter) über Twig-Dateien wie /views/layout/header.twig implementiert sind. Da in diesen Twig-Dateien kein PHP möglich ist und der Sprachumschalter ebenfalls per Twig realisiert wurde, ist das Theme von der Umstellung betroffen. Wir empfehlen dem Kunden, sich direkt an die Theme-Entwickler zu wenden, um notwendige Anpassungen vorzunehmen.
Falls diese Lösung veraltet erscheint oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen 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.
Problem: The client is unsure if a Twig template was used on their site and is concerned about how the WPML 4.8 update might affect it. Solution: We reviewed the site's code and confirmed that the client is using a standard language switcher, not a Twig template. Therefore, no action is necessary regarding the WPML update. We recommend creating a full website backup before proceeding with any updates. If this solution does not seem relevant or if it's outdated, or if it does not apply to your case, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we encourage you to open a new support ticket at WPML support forum.
Problem: The client needs to determine if the Twig template has been used on their website and whether they can use the browser's inspect tool to check for the Twig template. Solution: If you 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, we recommend consulting the theme author to understand how the WPML language switcher is integrated. Alternatively, if you possess the necessary skills, you can examine the theme's template files yourself to identify the file responsible for rendering the switcher and verify its integration. Using the inspect tool in the browser will not indicate whether a Twig template has been used.
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 at WPML support forum.
Falls diese Lösung für Sie nicht relevant ist, 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.
Problem: The client is concerned about the upcoming WPML 4.8 update, which will drop support for Twig templates, and how it might affect the language switcher on their website. Solution: If you're unsure whether the removal of Twig template support in WPML 4.8 will affect your language switcher, we recommend checking how you added the language switcher to your site. Please provide screenshots of the implementation for further analysis. This information will help us determine if the update impacts your site's language switcher functionality.
Keep in mind that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket.
Problem: You received a notification from WPML about the upcoming removal of support for using Twig templates to customize language and currency selectors in version 4.8. You are unsure if your site uses Twig templates. Solution:
If you're only using default WPML options, you don't need to worry about this. If you want to check further, you can do the following
1. Check if Timber is installed: - Navigate to your theme directory (wp-content/themes/your-theme/) - Look for references to Timber or .twig files, such as in the functions.php file:
use Timber\Timber;
or
Timber::render('single.twig', $context);
- Also, check for .twig files like header.twig, page.twig, etc.
2. Verify if Timber is installed as a plugin or a composer package: - In wp-content/plugins/, look for a folder named timber-library - Alternatively, in the composer.json of the theme or project, search for:
"timber/timber": "^x.x"
3. Check the generated HTML code: - Sometimes, Twig templates leave traces in HTML comments. - Open Developer Tools → "View Page Source" and search for comments like:
<!-- Rendered with Timber -->
or file names ending in .twig in the comments.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at WPML Italian Support Forum.