Add config parameter for xml:lang values in imsc_writer
jbaden opened this issue · comments
jbaden commented
Many of TTCONV's supported input formats do not contain language indicators (SRT, SCC). As such, when these types of files are exported using --otype TTML
, no language code value is provided in the document. Instead, they are exported with xml:lang=""
, requiring edits post-export to specify the correct language code.
Request: Would it be possible to add a config parameter in the imsc_writer to specify a BPC-47 language tag?
Pierre-Anthony Lemieux commented
What about making it a general option so that it is available to all writers automagically?
-config '{"general": {"document_lang": "es-419"}}'
Pierre-Anthony Lemieux commented