تخطي إلى المحتوى تخطي إلى الشريط الجانبي

الوسوم: 

يحتوي هذا الموضوع 0 ردود ، لديه 0أصوات.

آخر تحديث بواسطة davidB-295 قبل 8 أشهر، 3 أسابيع.

يساعده: Lucas Vidal de Andrade.

الكاتب المشاركات
نوفمبر 19, 2024 في 1:24 م #16419824

davidB-295

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?