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 | 2016 年12 月 12 日 | |
| Rebuild says "no such locale exists" | 3 | 1788 | 2017 年1 月 16 日 | |
| Is there a way to disable unused locales | 1 | 342 | 2023 年10 月 26 日 | |
| Rake assets:precompile without database | 13 | 4263 | 2019 年8 月 25 日 | |
| Disable some user interface language options | 4 | 1551 | 2023 年10 月 26 日 |