aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2018-09-27 19:04:11 +0100
committerUbitUmarov2018-09-27 19:04:11 +0100
commit5a0c9c2fcf76ebe430602885c526f687a64f3cc1 (patch)
treebe47c4ca9b926a6bd0de59579eeb393ef38360b5 /OpenSim/Framework
parentmake sure Culture is right on some spots (diff)
downloadopensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.zip
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.gz
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.bz2
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.xz
more on culture issues
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