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 Nighswonger <chris.nighswonger@gmail.com>
Fri, 5 Nov 2010 00:09:50 +0000 (20:09 -0400)
commited4049443eccd03b017b898db6f72149442c5dfd
tree2c0bb9bd3c3e2b73752c95a2690ca708d9f5a1c0
parent067c2d101d986e2890afee111bb07c384ebfac60
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