Symbian3/SDK/Source/GUID-A6A6BC5B-4988-45B4-863D-0E3733B77EA2.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-A6A6BC5B-4988-45B4-863D-0E3733B77EA2" xml:lang="en"><title>Getting
       
    13 an Equivalent Language List</title><abstract><p>You can use the <codeph>GetEquivalentLanguageList()</codeph> function
       
    14 to get the equivalent language list. The <codeph>GetEquivalentLanguageList()</codeph> returns
       
    15 an array (<codeph>TLanguagePath</codeph>) which contains the equivalent languages.
       
    16 If no equivalent language is found, <codeph>ELangNone</codeph> is returned.</p></abstract><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    17 <example><p>In this example, an application calls <codeph>BaflUtils::GetEquivalentLanguageList()</codeph> to
       
    18 get the equivalent languages for Cyprus Greek.   The <codeph>TLangugage</codeph> value
       
    19 for Cyprus Greek, <codeph>ELangCyprusGreek</codeph>, is passed to the <codeph>GetEquivalentLanguageList()</codeph> function
       
    20 as a given language.  </p><codeblock xml:space="preserve">TLanguagePath lp;
       
    21 BaflUtils::GetEquivalentLanguageList(ELangCyprusGreek, lp);</codeblock><p><b>Result</b>:
       
    22 According to the equivalent language list, three elements are returned: <codeph>ELangCyprusGreek </codeph>(Cyprus
       
    23 Greek), <codeph>ELangGreek</codeph> (Greek) and <codeph>ElangNone</codeph>. </p></example>
       
    24 </taskbody></task>