mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
The "project" module (normally mysite) is considered with the highest priority. Yet, the project's i18n is loaded first and cannot overwrite existing translations. I've added a array_reverse(), so the iteration keeps the translation of the module with the highest priority. Old $sortedModules: mysite, (other_modules,) cms, admin, framework. New $sortedModules: framework, admin, cms, (other_modules,) mysite. |
||
---|---|---|
.. | ||
i18n.php | ||
i18nEntityProvider.php | ||
i18nRailsYamlAdapter.php | ||
i18nSSLegacyAdapter.php | ||
i18nTextCollector.php | ||
i18nTranslateAdapterInterface.php |