
Wrong subtitle language code
Wrong subtitle language code
When try to rename Serbian subtitle, filebot add croatian language code to subtitle name. How to fix that, or how can I to add custom language code to subtitle. Thanks


Last edited by zocidj on 23 Dec 2020, 12:53, edited 2 times in total.
Re: Wrong subtitle language code
Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
Please read How to Request Help and Fix Problems, Report Bugs, Get Features.
- What are you trying to do achieve? What's not working? What have you tried so far?
- Include screenshots, logs or filenames (i.e. demonstrate the issue)
- Include System Information (i.e. filebot -script fn:sysinfo console output)

Re: Wrong subtitle language code
If the original file name doesn't include a language code, then FileBot will resort to statistical probabilistic language detection, which may not necessarily work well for all languages. You may need to adjust your custom format to force certain language codes for certain files.
e.g. use .eng for all subtitles:
Code: Select all
{ny}{f.subtitle ? /.eng/ : null}
Re: Wrong subtitle language code
Thank you very much. This is very usefull for me.rednoah wrote: ↑23 Dec 2020, 16:03If the original file name doesn't include a language code, then FileBot will resort to statistical probabilistic language detection, which may not necessarily work well for all languages. You may need to adjust your custom format to force certain language codes for certain files.
e.g. use .eng for all subtitles:Code: Select all
{ny}{f.subtitle ? /.eng/ : null}