Update Languages in Matroska and MKVToolNix

Moritz Bunkus 2023-04-02 09:31:49 +00:00
parent 7a7bf9bb86
commit f8106aef7e

@ -67,7 +67,7 @@ When identifying a file in JSON mode, existing "LanguageIETF" track header eleme
When writing a file will always write the "LanguageIETF", "ChapLanguageIETF" and "TagLanguageIETF" elements (the latter two only if chapters
or tags are written in general, of course). In addition to those elements the corresponding old elements will be written; they'll be set to
the ISO 639-2 code portion of the BCP 47 language tag. For example, when the track language is set to `sr-Cyrl-RS` "LanguageIETF" will be
set to `sr-Cyrl-RS` and the old "Language" element will be set to "srp").
set to `sr-Cyrl-RS` and the old "Language" element will be set to "srp".
When reading existing files (Matroska files, XML chapter or tag files etc.) that already contain those "…LanguageIETF" elements the existing
elements will be kept. Otherwise "…LanguageIETF" elements will be added based on command-line options and other existing "…Language"