clang.languageConfigRead() as element(lang.userLanguages)
This function reads the custom language configuration specification from the cluster configuration files.
custom-language-admin-read
role or the following privileges:
http://marklogic.com/xdmp/privileges/custom-language-read
http://marklogic.com/xdmp/privileges/xdmp-read-cluster-config-file/languages.xml
'use strict'; const clang = require('/MarkLogic/custom-language'); clang.languageConfigRead();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.