mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:22:46 +08:00
Simple forum software for building great communities.
d6e6e517a1
Even when no language packs are enabled, a forum-en-xxx.js (or whatever the default locale is) file is still generated because other extensions may contain translations. But when enabling the English language pack, since no locales are registered with the LocaleManager, that file doesn't get flushed and therefore doesn't get regenerated with the English translations. This fix always registers the default locale with the LocaleManager so that's not the case. |
||
---|---|---|
framework/core |