Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Config Readium js查看器配置语言_Config_Readiumjs - Fatal编程技术网

Config Readium js查看器配置语言

Config Readium js查看器配置语言,config,readiumjs,Config,Readiumjs,如何配置readium js viewer中的语言来翻译音频播放器中的按钮。 这是我当前的配置: config : { 'readium_js_viewer/ModuleConfig' : { 'fonts': fontsArray, 'useSimpleLoader' : false, 'epubLibraryPath': undefined, 'canHandleUrl' : false,

如何配置readium js viewer中的语言来翻译音频播放器中的按钮。

这是我当前的配置:

    config : {
    'readium_js_viewer/ModuleConfig' : {
        'fonts': fontsArray,
        'useSimpleLoader' : false, 
        'epubLibraryPath': undefined, 
        'canHandleUrl' : false,
        'canHandleDirectory' : false,
        'workerUrl': undefined,
        'epubReadingSystemUrl': undefined
    }
}
加上
navigator.userLanguage='es'
或所需的语言