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.12.2016 | |
| Rebuild says "no such locale exists" | 3 | 1788 | 16.01.2017 | |
| Is there a way to disable unused locales | 1 | 342 | 26.10.2023 | |
| Rake assets:precompile without database | 13 | 4263 | 25.08.2019 | |
| Disable some user interface language options | 4 | 1550 | 26.10.2023 |