Fixing Priority on Route Culture Selector

This commit is contained in:
Nicholas Mayne
2015-01-27 13:44:34 +00:00
parent 4dab32dea2
commit 5b800dde4e

View File

@@ -17,7 +17,7 @@ namespace Orchard.Localization.Selectors {
if (routeCulture != null && !string.IsNullOrWhiteSpace(routeCulture.ToString())) {
try {
var culture = CultureInfo.GetCultureInfo(routeCulture.ToString());
return new CultureSelectorResult {Priority = -4, CultureName = culture.Name};
return new CultureSelectorResult {Priority = -3, CultureName = culture.Name};
}
catch {}
}