Documentation
LABELS
usage
<SEARCH><LABELS [languageID="..."]/></SEARCH>
paramètres
languageID
retourne
XML
Labels are used in your projects or application for the semi-static content, like messages, error messages, buttons labels, etc.
These labels are part of the Webdesigner work, so the managment of theses labels are NOT integrated in Nectil OS application, you have to edit them in the labels table MySQL (with phpMyAdmin for example):
- Table: 'labels'
- Fields:
- 'Denomination' = unique ID of the label
- 'LanguageID' = language
- 'Text' = label translated
or in NQL, through the Nectil Terminal :
<CREATE><LABEL name="denomination" languageID="eng">my short text</LABEL></CREATE>
is the syntax to create the label in english.
<CREATE><LABEL name="denomination" languageID="fre">un petit texte</LABEL></CREATE>
in order to create the label in french.
<UPDATE><LABEL name="denomination" languageID="eng">my small text</LABEL></UPDATE>
to update the label in english.
Labels can automatically be translated by Sushee, adding the paramater translate="true".
exemples
<SEARCH name="labels">
<LABELS>
<INFO>
<NAME operator="starts-with">OfficityTrial</NAME>
</INFO>
</LABELS>
</SEARCH>
<SEARCH name="list">
<LABEL>
<INFO>
<VALUE operator="contains">Merci</VALUE>
</INFO>
</LABEL>
</SEARCH>
Voir aussi :
LIST
Lists are used in your projects or applications for the semi-dynamic listings with associated labels/values, like cities, titles, administrative codes, etc.