Globalization
The globalization process combines the translation of component messages with adapting them to specific locales.
For more information on how globalization practices are implemented in KendoReact, refer to the overview article. For more information on the globalization aspects which are available for each component, refer to the article on globalization support.
Internationalization
The internationalization process applies specific culture formats to a web application.
For more information, refer to:
- KendoReact documentation on internationalization
- kendo-intl (the base Internationalization package on GitHub)
Messages
The PDF Viewer supports the localization of its messages by utilizing the KendoReact Internationalization package.
The following table lists the built-in message keys and their default values.
Message Key | Default Value |
---|---|
pdfviewer.zoomIn | Zoom in |
pdfviewer.zoomOut | Zoom out |
pdfviewer.enableSelection | Enable selection |
pdfviewer.enablePanning | Enable panning |
pdfviewer.search | Search |
pdfviewer.open | Open |
pdfviewer.download | Download |
pdfviewer.print | Print |
pdfviewer.close | Close |
pdfviewer.matchCase | Match case |
pdfviewer.prevMatch | Previous match |
pdfviewer.nextMatch | Next match |
pdfviewer.actualWidth | Actual width |
pdfviewer.fitToWidth | Fit to width |
pdfviewer.fitToPage | Fit to page |
pdfviewer.popupBlocked | Popup is blocked. |
pager.itemsPerPage | items per page |
pager.info | {0} - {1} of {2} items |
pager.firstPage | Go to the first page |
pager.previousPage | Go to the previous page |
pager.nextPage | Go to the next page |
pager.lastPage | Go to the last page |
pager.page | Page |
pager.of | of |
pager.totalPages | {0} |
dropdowns.clear | Clear |
The following example demonstrates how to load and apply the messages.
Right-to-Left Support
The following example demonstrates how to utilize the RTL support for the PDF Viewer.