[pdfJS Viewer] How to change the language?

Forge Component
(9)
Published on 2019-06-19 by Eduardo Jauch
9 votes
Published on 2019-06-19 by Eduardo Jauch

Hi, I need to show in Spanish and Pt 

Hello Horacio, 

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

Cheers

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