more on culture issues

This commit is contained in:
UbitUmarov
2018-09-27 19:04:11 +01:00
parent 37dcb8722c
commit 5a0c9c2fcf
3 changed files with 18 additions and 1 deletions

View File

@@ -52,5 +52,15 @@ namespace OpenSim.Framework
{
Thread.CurrentThread.CurrentCulture = m_cultureInfo;
}
public static void SetDefaultCurrentCulture()
{
CultureInfo.DefaultThreadCurrentCulture = m_cultureInfo;
}
public static CultureInfo GetDefaultCurrentCulture()
{
return CultureInfo.DefaultThreadCurrentCulture;
}
}
}