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
Verwandte Themen
| Thema | Antworten | Aufrufe | Aktivität | |
|---|---|---|---|---|
| Rebuild with cached locale files? | 1 | 821 | 12. Dezember 2016 | |
| Rebuild says "no such locale exists" | 3 | 1788 | 16. Januar 2017 | |
| Is there a way to disable unused locales | 1 | 342 | 26. Oktober 2023 | |
| Rake assets:precompile without database | 13 | 4263 | 25. August 2019 | |
| Disable some user interface language options | 4 | 1550 | 26. Oktober 2023 |