From 5a0c9c2fcf76ebe430602885c526f687a64f3cc1 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 27 Sep 2018 19:04:11 +0100 Subject: more on culture issues --- OpenSim/Framework/Culture.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Culture.cs b/OpenSim/Framework/Culture.cs index 3d78fac..1a44660 100644 --- a/OpenSim/Framework/Culture.cs +++ b/OpenSim/Framework/Culture.cs @@ -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; + } } } \ No newline at end of file -- cgit v1.1