Opened 13 years ago

Closed 13 years ago

#3065 closed patch (fixed)

Missing canonical language code mappings in iso639.cpp

Reported by: chhamilton@… Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords: canonical language code iso 639
Cc: Ticket locked: no

Description

There are currently a few missing mappings in the createCodeToCanonicalCodeMap(...) function of iso639.cpp. Not a big deal, but I recently noticed it because Bell Express Vu sometimes sends down EIT information with a language code of "fra", which wasn't being translated to the canonical form of "fre". Using the list from the page at http://www.loc.gov/standards/iso639-2/php/code_list.php, it appears that the following mappings are missing:

  1. "mya" to "bur"
  2. "fra" to "fre"
  3. "ron" to "rum"

The attached patch fixes this minor issue.

Attachments (1)

iso639.patch (1.4 KB) - added by chhamilton@… 13 years ago.
Patch to iso639.cpp

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by chhamilton@…

Attachment: iso639.patch added

Patch to iso639.cpp

comment:1 Changed 13 years ago by danielk

Owner: changed from Isaac Richards to danielk

comment:2 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

(In [12769]) Fixes #3065. Adds three more alternate iso639 codes 'mya'->'bur' 'fra'->'fre' and 'ron'->'rum' by applying patch from chhamilton a hotmail

Note: See TracTickets for help on using tickets.