Update language mappings to fix Bug 5311
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 30 Oct 2010 03:49:13 +0000 (23:49 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 2 Nov 2010 01:55:23 +0000 (14:55 +1300)
commitec45ce356a286ee0f9002d586fea001a09c1bac5
tree852e23705df3f7b86e9c5387cf7760d112551f42
parent141ec0b9bcfa0bcf34d82cbb7ddc722a078e216e
Update language mappings to fix Bug 5311

This patch updates the language_rfc4646_to_iso639 mapping table with the
correct mappings for several languages that were not mapped correctly to
the codes used in MARC, including Finnish (which was not mapped at all),
and Armenian (which was mapped to an obsolete code). This patch also
changes English and French to use the proper three-letter codes, which
will eliminate false positives when, for example, limiting by French
brings up results in Afrikaans.

This patch adds the changes to the updatedatabase.pl script, and removes
the incorrectly specified DBversion in the previous patch.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
installer/data/mysql/en/mandatory/subtag_registry.sql
installer/data/mysql/updatedatabase.pl