122
Views
2
Comments
[pdfJS Viewer] How to change the language?
Question
pdfjs-viewer
Web icon
Forge asset by Eduardo Jauch

Hi, I need to show in Spanish and Pt 

2020-02-28 09-46-54
Eduardo Jauch

Hello Horacio, 

I think ES localization files are not there. I'll add as soon as possible (probably only tomorrow). 

Cheers

2020-02-28 09-46-54
Eduardo Jauch

Hello Horacio,

Sorry for the late replay,

The way to do this, for now, is to add &locale= with the correct locale after it. Ex: https://jauch.outsystemscloud.com/pdfJSViewerReactive/ViewerScreen?URL=%2FpdfJSViewerReactiveDemo%2FTest.pdf&locale=pt-PT

The above link to the "try me" REACTIVE version of the component will set the locale to be Portuguese from Portugal. It works the same for the Web version.

But we do not have all the locales yet, and I don't remember if the Spanish locale is there already.

All upload all the missing (but available) locales this week and come back here to tell you.

Cheers


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.