Reads the PDF catalog's /Lang entry — the document's declared
natural language as a BCP-47 tag (e.g. "en", "en-US"). Wraps
FPDFCatalog_GetLanguage (PDFium chromium/7857+), the reader
counterpart to pdf_doc_set_language().
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- password
Optional password for encrypted PDFs when
docis a path. Ignored whendocis already an openpdfium_doc.
See also
pdf_doc_set_language() to write it.