# SiteSetting file format update for locale override and hidden params based on Rails.env

**URL:** <https://meta.discourse.org/t/sitesetting-file-format-update-for-locale-override-and-hidden-params-based-on-rails-env/66254>\
**Category:** Development\
**Created:** [15 Julio, 2017 11:48 UTC](https://meta.discourse.org/t/sitesetting-file-format-update-for-locale-override-and-hidden-params-based-on-rails-env/66254 "2017-07-15T11:48:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [18 Julio, 2017 14:48 UTC](https://meta.discourse.org/t/sitesetting-file-format-update-for-locale-override-and-hidden-params-based-on-rails-env/66254/6 "2017-07-18T14:48:28Z")

</div>

I definitely think it’s simpler not to include per-env settings in the file.

I think it’s reasonable to add per-locale to the file then follow this order:

1. Always use override if present
2. If not overridden, use locale specific
3. If no locale specific, use default

---

_[View the full topic](https://meta.discourse.org/t/sitesetting-file-format-update-for-locale-override-and-hidden-params-based-on-rails-env/66254)._
