silverstripe-framework/tests/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
..
_fakewebroot BUGFIX i18n module load order in i18n::include_by_locale() 2013-10-11 15:20:51 +02:00
i18nSSLegacyAdapterTest.php i18nSSLegacyAdapterTest setting wrong arguments for manifest. 2013-10-24 17:22:16 +13:00
i18nTest.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
i18nTextCollectorTest.php Fixed spelling of class in test 2013-12-19 20:47:16 +01:00
i18nTextCollectorTestMyObject.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
i18nTextCollectorTestMySubObject.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00