امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
What is the best way to come from a var with value "everybody, members, followed, none" to a phrase, please?
{{$user.Privacy.allow_send_personal_conversation}}
in template with
if $x = 'everybody' => phrase('everbody')
else ...
or better translate it before passed to the template?
{{$user.Privacy.allow_send_personal_conversation}}
in template with
if $x = 'everybody' => phrase('everbody')
else ...
or better translate it before passed to the template?
