跳过导航
6

We’re planning to release WPML 4.8 in about 3 months. In this upcoming version, we’ll remove support for using Twig templates to customize language and currency switchers.

What This Means for You

This change only affects you if your website is currently using Twig templates to create fully customized language or currency switchers.

If you’re styling WPML’s standard language or currency switchers using methods like CSS, custom flags, or other regular options, this change doesn’t affect you. Everything will continue to work exactly as before.

Why We Are Making This Change

Very few websites actually use Twig templates to customize their WPML switchers. By removing Twig support, we’re making WPML more secure and streamlined. This also allows us to improve and maintain it more efficiently.

What You Should Do Next

If your site currently uses Twig templates for your language or currency switchers, please contact our support team soon. Our supporters are specially trained and ready to guide you through migrating to a PHP-based switcher solution.

If you’re not sure whether your site is using Twig templates, ask your website developer. They should know whether your site uses Twig or not.

We’re announcing this change 3 months in advance to ensure you have plenty of time to adjust.

To learn how to create your own switcher using PHP and CSS, check out our documentation page on custom language switchers.

Questions or Concerns?

Please let us know in the comments below if you have any questions regarding this change. We’re here to make sure your transition goes smoothly!

留下回复

紧扣主题并尊重他人。如果您需要帮助解决与本帖无关的问题,请使用我们的 Support Forum 开始聊天或提交票据。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>