cdict.getLanguages() as Sequence
Return the ISO language codes for all licensed languages.
custom-dictionary-user
role
or the following privileges:
http://marklogic.com/xdmp/privileges/custom-dictionary-user
zh_Hant
variant.
'use strict'; const cdict = require('/MarkLogic/custom-dictionary'); cdict.getLanguages(); // Returns a list of language codes such as the following: // ("en", "ja", "zh", "zh_Hant")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.