Loading TOC...

clang.languageConfigRead

clang.languageConfigRead() as element(lang.userLanguages)

Summary

This function reads the custom language configuration specification from the cluster configuration files.

Required Privileges

This operation requires the 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

See Also

Example

'use strict';
const clang = require('/MarkLogic/custom-language');

clang.languageConfigRead();
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.