Documentation
LANGUAGES
usage
<GET><LANGUAGES [profile="..."] /></GET>
paramètres
profile
Select languages list according to the 4 profiles:
- Media: published and unpublished media languages
- System: languages active in the system environment
- SmallList: short list of most common languages
- LargeList: complete ISO list of languages
Download the complete list of languages available in Nectil as an Excel XML Spreadsheet
exemples
Includes this query in your navigation.xml file to select the media languages available for the website:
<GET name="languages" refresh="daily"><LANGUAGES profile="Media"/></GET>
In your RESPONSE node, you will have this result:
<RESULTS name="languages">
<LANGUAGE ID="fre" defaultLanguage="true">
<UNIVERSAL>Français</UNIVERSAL>
<LABEL>French</LABEL>
<ISO1>fr</ISO1>
<PUBLISHED>1</PUBLISHED>
</LANGUAGE>
<LANGUAGE ID="dut">
<UNIVERSAL>Nederlands</UNIVERSAL>
<LABEL>Dutch</LABEL>
<ISO1>nl</ISO1>
<PUBLISHED>0</PUBLISHED>
</LANGUAGE>
<LANGUAGE ID="eng">
<UNIVERSAL>English</UNIVERSAL>
<LABEL>English</LABEL>
<ISO1>en</ISO1>
<PUBLISHED>0</PUBLISHED>
</LANGUAGE>
<LANGUAGE ID="spa">
<UNIVERSAL>Español</UNIVERSAL>
<LABEL>Spanish</LABEL>
<ISO1>es</ISO1>
<PUBLISHED>0</PUBLISHED>
</LANGUAGE>
</RESULTS>
Build your language toolbar by selecting //LANGUAGE[PUBLISHED='1']
Voir aussi :
COUNTRIES
Select countries list for any usages.