Jump to content

Language Codes for Subtitles in 4.7.0.60


Recommended Posts

starisme
Posted

I just updated 4.7.0.60 and noticed all my Chinese subtitles are labeled as Chinese Simplified regardless of whether they are Chinese Simplified or Chinese Traditional.

I've been using the following to separate Simplified vs Traditional which Emby doesn't seem to be able to differentiate:

filename.zh-hans.ext vs filename.zh-hant.ext

What are the language variant codes that Emby recognizes? The ISO table from the knowledge base only gives the base language code.

Posted
7 hours ago, starisme said:

I just updated 4.7.0.60 and noticed all my Chinese subtitles are labeled as Chinese Simplified regardless of whether they are Chinese Simplified or Chinese Traditional.

I've been using the following to separate Simplified vs Traditional which Emby doesn't seem to be able to differentiate:

filename.zh-hans.ext vs filename.zh-hant.ext

What are the language variant codes that Emby recognizes? The ISO table from the knowledge base only gives the base language code.

@starisme Hi, we already support both of these two. What exactly is the problem that you're having?

Happy2Play
Posted

Not seeing any issue with that beside not being in the KB.

image.png.01fa1a4708f7dfd44d9e4eca00758572.png

starisme
Posted

@Happy2Play  @Luke That's interesting, my zh-hant srts are all showing as chinese (simplified). Is there a refresh I need to do or something? I attached a screenshot.

 

1560116400_Screenshot2022-05-19170550.png.1da62f633667db9b71ab8b2b48852ffc.png

Posted

Try refreshing the metadata on the video.

starisme
Posted

@Luke I just refreshing the metadata but the subtitle still shows as simplified.

starisme
Posted

So I tried renaming the file, scanning the library, then renaming the subtitle back to zh-hant, the correct label is assigned but only for the renamed file. All my other subtitle remain with the wrong language. Any idea how I can do a easy way to update all my subtitle files?

Happy2Play
Posted

Just a guess and you can test on one, resave one srt file so modification date changes and do a library scan does it update?

If that works, not a script person but would want to touch every srt so Emby sees change and rescans

Posted

@starisme can you test with a new video and subtitle files and see how that compares?

starisme
Posted

@Luke Tested with new video and the subtitle is correctly identified, it's only for the existing subtitles.

Posted
1 hour ago, starisme said:

@Luke Tested with new video and the subtitle is correctly identified, it's only for the existing subtitles.

OK thanks for the info.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...