0

How do i configure the language from readium js viewer to translate the buttons in the audio player. enter image description here

This is my current configuration:

    config : {
    'readium_js_viewer/ModuleConfig' : {
        'fonts': fontsArray,
        'useSimpleLoader' : false, 
        'epubLibraryPath': undefined, 
        'canHandleUrl' : false,
        'canHandleDirectory' : false,
        'workerUrl': undefined,
        'epubReadingSystemUrl': undefined
    }
}
ValRob
  • 2,584
  • 7
  • 32
  • 40

1 Answers1

0

Just add navigator.userLanguage = 'es' or the language that you want

ValRob
  • 2,584
  • 7
  • 32
  • 40