Some test text!


Internationalization: changing the language in PDF Viewer

This JavaScript sample lets you change the language displayed in tooltips when viewing documents in PDF Viewer. Compatible with all browsers (including IE10) and mobile devices without using plug-ins. Launch the Internationalization Demo to see an example of how you can toggle between English, French and Chinese Simplified in WebViewer. Learn more about our JavaScript PDF Library.

Get StartedSamplesDownload

To run this sample, get started with a free trial of PDFTron SDK.



  path: '../../../lib',
  pdftronServer: '', // comment this out to do client-side only
  initialDoc: ''
}, document.getElementById('viewer'))
  .then(function(instance) {
    document.getElementById('form').onchange = function(e) {
      // Set language

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.