# È possibile sovrascrivere la locale tramite i file del tema?

**URL:** <https://meta.discourse.org/t/can-you-override-the-locale-via-theme-files/263355>\
**Category:** Development\
**Created:** [1 Maggio 2023, 5:50am UTC](https://meta.discourse.org/t/can-you-override-the-locale-via-theme-files/263355 "2023-05-01T05:50:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)\
**Post date:** [1 Maggio 2023, 5:54am UTC](https://meta.discourse.org/t/can-you-override-the-locale-via-theme-files/263355/2 "2023-05-01T05:54:42Z")

</div>

Sì, puoi.\n\nUn esempio:\n\n`javascript\nI18n.translations[I18n.currentLocale()].js.composer.reply = \"ylper\";\n`\n\n

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/1/4/d1420b7098527d86d7b66cce52d99d168c2a0ace.png)

---

_[View the full topic](https://meta.discourse.org/t/can-you-override-the-locale-via-theme-files/263355)._
