Discourse Meta
Can you override the locale via theme files?
Development
Lhc_fl
(Linca)
May 1, 2023, 5:54am
2
Yes, you can.
An example:
I18n.translations[I18n.currentLocale()].js.composer.reply = "ylper";
image
966×462 18 KB
show post in topic
Related topics
Topic
Replies
Views
Activity
Add localizable strings to themes and theme components
Developer Guides
how-to
,
theme-guides
22
6244
August 9, 2024
Can't find how to localize a theme component
Product Support
3
639
April 7, 2023
Theme translation overrides only apply to the administrator's language
Bug
6
964
May 9, 2025
Difficulty translating certain fields in reddit-ish theme
Product Support
translation
9
395
September 9, 2024
Replacing site texts efficiently?
Product Support
15
582
February 14, 2026