OScript API/Built-in Package Index |
This API will allow a developer to get/set language information for Content Server.
The pMultilingual table attribute is not in the expected format.
The language is disabled.
The language name cannot be empty.
The local language name cannot be empty.
The value cannot be empty.
Unknown error constant .
The language is invalid.
The name/language assoc is invalid.
Success return constant.
Removes a language from the pool of available metadata languages.
Determine the language code for the core value (based on current language configuration) from the data given.
Determine the core value (based on current language configuration) from the data given.
Mark the given metadata language as disabled.
Mark the given metadata language as enabled.
Gets the default metadata language code.
Gets the list of enabled metadata languages.
Gets the master list of languages defined in Content Server.
Adds a language to the pool of available metadata languages.
Checks if the given language code is currently enabled.
Update the display labels for the given metadata language code.
Sets the default metadata language code.
The pMultilingual table attribute is not in the expected format.
The language is disabled.
The language name cannot be empty.
The local language name cannot be empty.
The value cannot be empty.
Unknown error constant.
The language is invalid.
The name/language assoc is invalid.
Success return constant.
Removes a language from the pool of available metadata languages.
The login to use to set the data.
The language code to remove.
Language.OK (Integer zero) if successful; Error otherwise.
Determine the language code for the core value from the data given, based on the current language configuration.
The login to use to retrieve the data.
A set of values, keyed by their respective language codes.
The core language code as a string if successful; Error otherwise.
Determine the core value from the data given, based on the current language configuration.
The login to use to retrieve the data.
A set of values, keyed by their respective language codes.
The core value as a string if successful; Error otherwise.
Mark the given metadata language as disabled.
The login to use to set the data.
The language code to disable.
Language.OK (Integer zero) if successful; Error otherwise.
Mark the given metadata language as enabled.
The login to use to set the data.
The language code to enable.
Language.OK (Integer zero) if successful; Error otherwise.
Gets the list of enabled metadata languages.
The connection to use for the query.
A RecArray containing the languages if successful; Error otherwise.
The format for the RecArray is as follows:
LanguageCode | the language code in the format xx_YYY (for example: en, en_US) |
LanguageName | the name of the language that the admin user will see |
LanguageNameLocal | the localized name of the language that non-admin users will see |
Gets the master list of languages defined in Content Server.
The connection to use for the query.
A RecArray containing the languages if successful. If the function fails, an error code will be returned. The format of the RecArray is as follows:
LanguageCode | the language code in the format xx_YYY (for example: en, en_US) |
LanguageName | the name of the language that the admin user will see |
LanguageNameLocal | the localized name of the language that non-admin users will see |
Adds a language to the pool of available metadata languages.
The login to use to set the data.
The language code to add.
Optional: true if the language should be enabled (default is false).
Language.OK (Integer zero) if successful; Error otherwise.
Checks if the given metadata language is currently enabled.
The connection to use to retrieve the data.
The language code to check.
True if the given language is currently enabled; false if not.
Adds a language to the pool of available metadata languages.
The connection to use to set the data.
The language code to add.
language.ok (integer zero) if successful; Error otherwise.
Sets the default metadata language code.
The login to use to set the data.
The language code to make default.
Language.OK (Integer zero) if successful; Error otherwise.
Copyright © 2023 OpenText Corporation. All rights reserved. |