Skip to content

Commit

Permalink
fix: Add missing Hebrew language mapping
Browse files Browse the repository at this point in the history
We already mapped Hebrew's "heb" to "he", but not to the alternative 2-letter code "iw".
  • Loading branch information
joeyparrish authored Dec 11, 2024
1 parent a26e662 commit 9762687
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packager/media/base/language_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ const LanguageMapPairType kLanguageMap[] = {
{ "ven", "ve" }, { "vie", "vi" }, { "vol", "vo" }, { "wel", "cy" },
{ "wln", "wa" }, { "wol", "wo" }, { "xho", "xh" }, { "yid", "yi" },
{ "yor", "yo" }, { "zha", "za" }, { "zho", "zh" }, { "zul", "zu" },

// The list is no longer alphabetized after this point, to simplify the
// revision history as we add missing entries on 2024-12-11.
{ "heb", "iw" },
};

void SplitLanguageTag(const std::string& tag,
Expand Down

0 comments on commit 9762687

Please sign in to comment.