Settings Guide

Language Code

In the extension documents, you will see the term "Language Code", which is the unique identifier for the subtitle language.

If you hover the mouse above a menu item in the "Subtitle Language" menu, the tooltip will shows the language code of the menu item.

The language code is generally in the format LanguageType-LanguageSubtype.LanguageVersion, the latter two sometimes can be omitted.

The following are some example language codes and their meanings:

Language CodeLanguage TypeLanguage SubtypeLanguage Version
en-usEnglishUS English
en-gbEnglishUK English
en.asrEnglishAuto generated EnglishCC subtitle
zh-hansChineseSimplified Chinese
zh-hantChineseTraditional Chinese

In the extension setting option "Show Specified Languages", if you input some language codes in it, then only the corresponding menu items will be shown. For example, we want to show English and Chinese only:

en, en-us, en-gb, en.asr,, zh, zh-hans, zh-hant

You will see that you need to input in all possible language codes, and different websites have different preference language codes for the "Language Subtype" and the "Language Version". For example, Traditional Chinese is not zh-hant, but zh-tw or zh-hk.

If the * wildcard is supported, it can be abbreviated as en*, zh*. It is better to be default behavior, so the * can be omitted, to abbreviate it to zh, en.

That is, the term "Language Code" have two meanings, "pattern" and "literal".

  • The pattern en matches the literal which starts with en.
  • The pattern must matches the whole word, that is, the pattern e will not match the literal en.

Here are some examples:

PatternMatch Literal
enen, en-us,,