textinput/ptienginev2/src/PtiLanguageDatabase.cpp
branchRCL_3
changeset 7 a47de9135b21
parent 0 eb1f2e154e89
child 14 e6a39382bb9c
--- a/textinput/ptienginev2/src/PtiLanguageDatabase.cpp	Fri Feb 19 23:09:27 2010 +0200
+++ b/textinput/ptienginev2/src/PtiLanguageDatabase.cpp	Fri Mar 12 15:44:07 2010 +0200
@@ -342,6 +342,8 @@
 	{0, 0}
 	};
 
+const TInt xt9LangImplUidDanish = 0x10282D36;
+const TInt xt9LangImplUidNorwegian = 0x10282D38;
 
 // ---------------------------------------------------------------------------
 // CPtiLanguageDatabase::LanguageCodeForUid
@@ -351,6 +353,15 @@
 EXPORT_C TInt CPtiLanguageDatabase::LanguageCodeForUid(TInt aUid)
 	{
 	TInt i;
+	
+	if ( aUid == xt9LangImplUidDanish )
+	    {
+	    return ELangDanish;
+	    }
+	else if ( aUid == xt9LangImplUidNorwegian )
+	    {
+	    return ELangNorwegian;
+	    }
 
 	for (i = 0; ; i++)
 		{