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();
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy