← Back
Theme
EN
HE
Components / i18n + RTL
i18n + RTL
English source · Hebrew translation. Logical CSS properties flip automatically when dir="rtl".
Locale switch
append ?lang=he or ?lang=en. Sticky in session + cookie.
EN — English
HE — עברית
Current:
en
· dir
ltr
t() lookup
translates from lang/{locale}.json with English fallback
t('common.save') →
Save
t('common.cancel') →
Cancel
t('nav.bots') →
Bots
t('status.active') →
Active
t('messages.error_generic') →
Something went wrong. Please try again.
t('wizard.step_of_total', ['current'=>2,'total'=>6]) →
Step 2 of 6
Logical CSS properties
margin-inline-* / inset-inline-* flip automatically. transform: translateX uses --rtl-flip multiplier.
border-inline-start: flips edge in RTL
padding-inline-start: indent flips automatically
Date + currency formatting
EN: MM-DD-YYYY · HE: DD.MM.YYYY · ILS for HE, USD elsewhere
xbot_format_date(now) →
06-04-2026
xbot_format_money(49.99)→
$49.99
xbot_format_money(1200)→
$1,200.00