javacommons/utils/src.s60/properties.cpp
branchRCL_3
changeset 25 ae942d28ec0e
parent 17 0fd27995241b
child 26 2455ef1f5bbc
--- a/javacommons/utils/src.s60/properties.cpp	Thu Aug 19 09:48:13 2010 +0300
+++ b/javacommons/utils/src.s60/properties.cpp	Tue Aug 31 15:09:22 2010 +0300
@@ -103,7 +103,9 @@
     JELOG2(EUtils);
 
     // microedition.locale
-    switch (User::Language()) {
+    ILOG1(EUtils, "User::Language: %d", User::Language()); 
+    // KDialectMask enables support for operator specific language variants
+    switch (User::Language() & KDialectMask) {
         case ELangAfrikaans:
             return S60CommonUtils::NativeToJavaString(*env, KMicroeditionLocaleAfrikaans);
         case ELangAlbanian: