silverstripe-framework/i18n
Damian Mooyman 293c672fa7 BUG Default Member.Locale now chooses a better default value when i18n.locale is not a valid translation
This will resolve issues in cases where the site locale may be assigned a value that does not have an explicit translation. E.g. if the locale is en_NZ (and it's appropriate for this to be the assigned locale), Afrikaans will no longer be the default selected locale when creating members. Now en_US is chosen as a better fallback default.

This is a minor ease of use fix that means fewer CMS users can be accidentally created in Afrikaans within NZ based sites.

Test cases included.
2014-01-30 15:55:14 +13:00
..
i18n.php BUG Default Member.Locale now chooses a better default value when i18n.locale is not a valid translation 2014-01-30 15:55:14 +13:00
i18nEntityProvider.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
i18nRailsYamlAdapter.php MINOR Fixed phpdocs 2012-06-20 23:59:16 +02:00
i18nSSLegacyAdapter.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
i18nTextCollector.php Feature to allow that changing the SSTemplateParser through the Injector system 2013-10-18 12:42:39 +13:00
i18nTranslateAdapterInterface.php MINOR Fixed phpdocs 2012-06-20 23:59:16 +02:00