aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Culture.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Culture.cs10
1 files changed, 10 insertions, 0 deletions
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
52 { 52 {
53 Thread.CurrentThread.CurrentCulture = m_cultureInfo; 53 Thread.CurrentThread.CurrentCulture = m_cultureInfo;
54 } 54 }
55
56 public static void SetDefaultCurrentCulture()
57 {
58 CultureInfo.DefaultThreadCurrentCulture = m_cultureInfo;
59 }
60
61 public static CultureInfo GetDefaultCurrentCulture()
62 {
63 return CultureInfo.DefaultThreadCurrentCulture;
64 }
55 } 65 }
56} \ No newline at end of file 66} \ No newline at end of file