Fixes: U4-6998 User language drop down is incorrect when default language is used

This commit is contained in:
Shannon
2015-08-20 16:07:46 +02:00
parent 10108d75b8
commit 3dac630d05
4 changed files with 70 additions and 43 deletions

View File

@@ -47,5 +47,13 @@ namespace Umbraco.Core.Services
/// to resolve the full culture if possible.
/// </remarks>
CultureInfo ConvertToSupportedCultureWithRegionCode(CultureInfo currentCulture);
/// <summary>
/// HAAAAAAAAAAACK! Used for backwards compat to convert a user's real culture code to a region code - normally this would be two letters
/// TODO: REmove in v8
/// </summary>
/// <param name="currentCulture"></param>
/// <returns></returns>
string ConvertToRegionCodeFromSupportedCulture(CultureInfo currentCulture);
}
}