New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows-GUI: Chapter name by source media with more than one chapter will not translated to configured language #6000
Comments
Chapter names are passed though from source. If we get an empty track name or the source simply doesn't have chapters, it defaults it and the string for that which is translated. |
But this happens only if source has no or only one chapter.
I've checked this with DVD who contains a german movie and which was produced and released in germany, but still get only english instead of german/spanish language. And If a/this DVD has empty track names it should show configured GUI language as default. Or i did not understand your comment... :( |
hmm, did a little more digging. It Looks like libhb generates the name in dvd.c. Unfortunately libhb isn't translatable and the UI has no-way of knowing this isn't coming from the source. @galad87 @jstebbins Thoughts on removing this and letting the UI set the name in the native language instead? Would need to think about the CLI as well. Edit: Looks like bd.c does the same. |
I'm thinking the better thing would be to add a flag to hb_chapter_t to indicate that no chapter name was available in the source. That way we can distinguish a name intentionally left blank from one that was not present in the source. And we can leave the current default initialization, letting UIs override if they want. E.g. the CLI also is not translated and wouldn't really need extra code to initialize the chapter list. |
Yeh, that would work. |
Problem Description
Source media with more than one Chapter are always viewed in english language in HB
With 1 chapter it's OK:
Another language:
With more chapters it's always in english:
Another language:
Activity Log, Crash Log or any other details
What Operating System are you running?
Windows 10
What version of HandBrake are you running?
github master
Where did you download HandBrake from?
github
The text was updated successfully, but these errors were encountered: