... | ... | @@ -82,12 +82,16 @@ sub-tags with the parameter `--normalize-language-ietf` |
|
|
|
|
|
### mkvpropedit
|
|
|
|
|
|
For `mkvpropedit` there's a new track header property named `language-ietf` that can be set or removed. Changes to this property only apply
|
|
|
to the new "LanguageIETF" track header element.
|
|
|
|
|
|
Changes to the old `language` track header property will cause `mkvpropedit` to apply the same change to both the new "LanguageIETF" element
|
|
|
as well as the old "Language" element similar to how `mkvmerge` applied the language to both elements. For example, when using `mkvpropedit
|
|
|
movie.mkv --edit track:2 --set language=zh-TW` the "LanguageIETF" element will be set to `zh-TW` and the old "Language" element to `chi`.
|
|
|
`mkvpropedit` tries mostly to do the right thing by default. Therefore changes to the `language` track header property will cause
|
|
|
`mkvpropedit` to apply the same change to both the new "LanguageIETF" element as well as the old "Language" element similar to how
|
|
|
`mkvmerge` applies the language to both elements. For example, when using `mkvpropedit movie.mkv --edit track:2 --set language=zh-TW` the
|
|
|
"LanguageIETF" element will be set to `zh-TW` and the old "Language" element to `chi`.
|
|
|
|
|
|
Additionally there's a new track header property named `language-ietf` that can be set or removed. Changes to this property only apply to
|
|
|
the new "LanguageIETF" track header element. A caveat is that the old "Language" track header element is a mandatory element in Matroska —
|
|
|
meaning even if it isn't present in the file it still has an implied value. When you only set the `language-ietf` property but not the
|
|
|
`language` property, `mkvpropedit` will therefore add the old "Language" element in certain cases & set it to "und" = "undetermined" as the
|
|
|
user didn't specify a value for it.
|
|
|
|
|
|
When reading XML chapter or tag files `mkvpropedit` works like `mkvmerge` does (see above).
|
|
|
|
... | ... | |