Viewing 4 replies - 1 through 4 (of 4 total)
  • Would like to know that as well! (for dutch)

    Regards

    Find file web/viewer.php

    Find line with code:
    <link rel=”resource” type=”application/l10n” href=”locale/locale.properties”/>

    then replace href=”locale/locale.properties”

    for example href=”../l10n/ru/viewer.properties” for Russian.

    Line like:
    <link rel=”resource” type=”application/l10n” href=”../l10n/ru/viewer.properties”/>

    Sorry for my English ??

    Thank you, i was looking for the same thing.
    Still the “View Fullscreen” link just above the PDF document is not translated into french, although i added the two lines :

    fr/viewer.properties:fullscreen.title=Plein écran
    fr/viewer.properties:fullscreen_label=Plein écran

    Any idea how to translate this ?

    Hi munger,

    1. Open ‘pdfjs-viewer.php’

    2. Look for the following line:
    "$fullscreen_link = '<a href="'.$final_url.'">View Fullscreen</a><br>';"

    3. Change “View Fullscreen” to your favorite language. That’s it.

    I added target="_blank to let the viewer be opened in a new window.

    Attention: I am afraid that this line will be overwritten with the next update. It would be very helpful to have this added as a feature within the forthcoming updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change the language’ is closed to new replies.