Closed antznin closed 4 years ago
Yes it was intentional, mostly because I think 2 letter language code looked better. But at the same time the default language code is a 3 letter one, and I agree, it's not really consistent. I've changed it to use the same language code. I've also added a -x option to force a language suffix from the CLI.
That was quick. Thank you!
I'm not sure whether this is intentional or not, but the suffixed language appears to differ from the input language passed through
--lang
.For example, if
--lang fre
is passed, the result suffix would be_fr
. This makes the outputsrt
hard to use in a script since the output filename of a given language code is non-deterministic. IMO, if--lang fre
is passed as an argument,_fre
should be the resulting suffix.Otherwise, I have a couple other solutions to this problem :
opt_language_suffix
configurable from the cliThanks for the script!