Online documentation - WebsydianExpress v3.5 |
APIServer.Language.CreateLanguage
Field | Variable | ...as | Description |
---|---|---|---|
LanguageCode | InsertData | Input | The identification of the language (unique in a site). |
LanguageDescription | InsertData | Input | The name/description of the language - this is the text that will normally be used in lists and drop down boxes. |
SiteKey | InsertData | Input | Specifies the site the language will be created for. |
ImagePath | InsertData | Input | This specifies where an image that can be used for selecting the language (e.g. a national flag) can be found. |
LanguageCharacterSet | InsertData | Input | The character set that will be used when the language is selected. (e.g ISO-8859-1). |
NumberOfErrors | Error | Output | If the validation has returned any error messages in the ErrorArray variable, this parameter will specify how many texts are available in the array. |
ErrorMessage | ErrorArray(10) | Output | Any textual descriptions of validation errors that the API has returned. The number of texts available are specified by the parameter NumberOfErrors. |
Creates a language. The language will be available in the specified site.
You can have the same language code for two languages in two different sites.