Skip to content

Commit

Permalink
[utils] Add language codes replaced in 1989 revision of ISO 639 to IS…
Browse files Browse the repository at this point in the history
…O639Utils (closes #18765)
  • Loading branch information
dstftw committed Jan 6, 2019
1 parent de0359c commit b7acc83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions youtube_dl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2968,6 +2968,7 @@ class ISO639Utils(object):
'gv': 'glv',
'ha': 'hau',
'he': 'heb',
'iw': 'heb', # Replaced by he in 1989 revision
'hi': 'hin',
'ho': 'hmo',
'hr': 'hrv',
Expand All @@ -2977,6 +2978,7 @@ class ISO639Utils(object):
'hz': 'her',
'ia': 'ina',
'id': 'ind',
'in': 'ind', # Replaced by id in 1989 revision
'ie': 'ile',
'ig': 'ibo',
'ii': 'iii',
Expand Down Expand Up @@ -3091,6 +3093,7 @@ class ISO639Utils(object):
'wo': 'wol',
'xh': 'xho',
'yi': 'yid',
'ji': 'yid', # Replaced by he yi 1989 revision
'yo': 'yor',
'za': 'zha',
'zh': 'zho',
Expand Down

0 comments on commit b7acc83

Please sign in to comment.