Background of the issue:
I’ve created a custom currency switcher using the Twig template method described in your documentation. Inside the template, I use conditions to modify the names of the currency options. I tried wrapping the strings in the __() function, but doing so caused the template to stop working.
Symptoms:
The template stopped working when I wrapped the strings in the __() function.
Questions:
Is there a way to translate these strings in the template using WPML?
管理 Cookie 同意
我们使用 cookies 来优化我们的网站和服务。 您的同意允许我们处理浏览行为等数据。 不同意可能会影响某些功能。
功能性
始终启用
为了我们的网站正常运行和通信所需的信息。
首选项
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.