×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Displaying the name of the active language of a Symbian device

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Adding missing translation link)
debjit.roy (Talk | contribs)
(Debjit.roy -)
Line 1: Line 1:
[[Category:Symbian C++]][[Category:S60]][[Category:S60 3rd Edition ]][[Category:S60 3rd Edition, Feature Pack 1 ]][[Category:Technical Solution]][[Category:Code Examples]][[Category:Base/System ]]
+
[[Category:Symbian C++]][[Category:S60]][[Category:S60 3rd Edition]][[Category:S60 3rd Edition, Feature Pack 1]][[Category:Technical Solution]][[Category:Code Examples]][[Category:Base/System]]
 
{{KBTS}}
 
{{KBTS}}
 
__NOTOC__
 
__NOTOC__
Line 20: Line 20:
 
|author=[[User:Technical writer 1]]
 
|author=[[User:Technical writer 1]]
 
}}
 
}}
 
+
{{Archived|timestamp=20120313125036|user=roy.debjit| }}
 +
 
 
== Description ==
 
== Description ==
 
The following code can be used to retrieve the default language of the device:<br>
 
The following code can be used to retrieve the default language of the device:<br>

Revision as of 15:50, 13 March 2012

Template:KBTS


Article Metadata
Compatibility
Platform(s): S60 3rd Edition, S60 3rd Edition, FP1
Symbian
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (30 May 2008)
Last edited: debjit.roy (13 Mar 2012)

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Description

The following code can be used to retrieve the default language of the device:

Header files:

akninputlanguageinfo.h

Library:

akninputlanguage.lib

Capability:

None

 TDes& language;
TLanguage languageId;
languageId = User::Language();
CAknInputLanguageInfo* Langg =
AknInputLanguageInfoFactory::CreateInputLanguageInfoL();
if(Langg)
{
CleanupStack::PushL(Langg);
language.Append(Langg->LanguageName(languageId));
CleanupStack::PopAndDestroy(Langg);
CEikonEnv::InfoWinL(_L("Phone Language is:"), language);
}
72 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×