Another option is env variable that must be set for any locale other than English, so we can skip all that work unless env is set. Maybe ask user at command line if they plan to ever use any other langs.
codinghorror
(Jeff Atwood)
7
الموضوعات ذات الصلة
| الموضوع | الردود | مرات العرض | النشاط | |
|---|---|---|---|---|
| Rebuild with cached locale files? | 1 | 821 | 12 ديسمبر 2016 | |
| Rebuild says "no such locale exists" | 3 | 1788 | 16 يناير 2017 | |
| Is there a way to disable unused locales | 1 | 341 | 26 أكتوبر 2023 | |
| Rake assets:precompile without database | 13 | 4263 | 25 أغسطس 2019 | |
| Disable some user interface language options | 4 | 1550 | 26 أكتوبر 2023 |