CREATE_TRANSLATION
Use this procedure to create a new translation for a phrase in a specified language.
Syntax
CTX_THES.CREATE_TRANSLATION(tname in varchar2,
phrase in varchar2,
language in varchar2,
translation in varchar2);
tname
Specify the name of the thesaurus, using no more than 30 characters.
phrase
Specify the phrase in the thesaurus to which to add a translation. Phrase must already exist in the thesaurus, or an error is raised.
language
Specify the language of the translation, using no more than 10 characters.
translation
Specify the translated term, using no more than 256 characters.
If a translation for this phrase already exists, this new translation is added without removing that original translation, so long as that original translation is not the same. Adding the same translation twice results in an error.
Example
The following code adds the Spanish translation for dog to my_thes:
begin
ctx_thes.create_translation('my_thes', 'dog', 'SPANISH', 'PERRO');
end;