Localization: Change languages in our Flutter PDF viewer

On Android and iOS, the language is set automatically based on the device’s language. On Web, you can set the language manually by using the PdfWebConfiguration class, like this:

PdfConfiguration(
  webConfiguration: PdfWebConfiguration(
    language: 'de',
  ),
)

Supported languages

PSPDFKit for Flutter comes with many built-in languages:

  • Arabic (ar)

  • Chinese Simplified / Chinese Traditional (zh-Hans/zh-Hant)

  • Croatian (hr)

  • Czech (cs)

  • Danish (da)

  • Dutch (nl)

  • English (en)

  • English United Kingdom (en-GB)

  • Finnish (fi)

  • French (fr)

  • French Canada (fr-CA)

  • German (de)

  • Greek (el)

  • Indonesian (id)

  • Italian (it)

  • Japanese (ja)

  • Korean (ko)

  • Malay (ms)

  • Norwegian Bokmål (nb-NO)

  • Polish (pl)

  • Portuguese Brazil / Portugal (pt-BR/pt-PT)

  • Russian (ru)

  • Slovak (sk)

  • Slovenian (sl)

  • Spanish (es)

  • Swedish (sv)

  • Thai (th)

  • Turkish (tr)

  • Ukrainian (uk)

  • Welsh (cy)