mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-11-09 11:26:17 +00:00
b88a7eb3c3
Properties gains a language (a BCP 47 tag), written as dc:language to Xlsx core.xml and Ods meta.xml and read back from both. Screen readers and spell checkers use it to pick the voice and the dictionary. LibreOffice ignores dc:language for the text and keeps a spreadsheet's language on the default cell style, so the Ods writer puts it there as LibreOffice does: in the Western, Asian or complex slot by script, with style:rfc-language-tag for a tag that fo:language and fo:country cannot hold. The Ods reader falls back to that style when meta.xml has no dc:language, as in the files LibreOffice saves.
8.2 KiB
8.2 KiB