امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm trying to use Phrases for i18n of the front-end UI. But
For instance:
How to make a phrase available in JavaScript? What difference have I overlooked?
XF.phrase() only interprets the keys contained in XF.phrases. For instance:
XF.phrase('oops_we_ran_into_some_problems') got "Oops! We ran into some problems." correctly, but XF.phrase('1_day_ago') did not. How to make a phrase available in JavaScript? What difference have I overlooked?
