Tooltips in browser language
To ensure optimal compatibility between viewers, it is possible to automatically adapt the language displayed in the tooltips to the language of the visitor's browser.
Mapping language automatically
To use the language mapping, the language parameter must be set to auto
:
<fsi-viewer
width="100%"
height="100%"
imagesource="images/samples/showcase/shoes/"
skin="white"
plugins="Resize, fullscreen"
language="auto">
</fsi-viewer>
This also applies to all dialogs which is available in the corresponding viewer, e.g. in FSI Pages, the print dialogue is also automatically set to the browser language:
Adapting the language mapping file
The language mapping file can also be customised. The mapping.json
file can be found in the /languages/
folder of your FSI Viewer installation
(in the Web Interface: /_viewers/languages/
.
<fsi-viewer
width="100%"
height="100%"
imagesource="images/samples/showcase/shoes/"
skin="white"
plugins="Resize, fullscreen"
language="auto">
</fsi-viewer>