View source for Module:Language/data/ISO 639-2/make
From HandWiki
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
require('Module:No globals');
--[=[------------------------< I S O _ S Y N O N Y M _ E X T R A C T >-----------------------------------------
{{#invoke:Language/data/ISO 639-2/make|ISO_synonym_extract|file-date=2013-01-11}}
reads a local copy of data from the table at http://www.loc.gov/standards/iso639-2/php/English_list.php, extracts
the ISO 639-2 (or 639-2T) codes that have equivalent ISO 639-1 codes and creates a table to translate 639-2 to 639-1.
ISO-639-3 uses 639-2T codes
useful lines in the source table have the form:
<English name>\t<all English names>\t<all French names>\t<639-2 code>\t<639-1 code>\n
where:
<English name> is primary English name (not used here); one of <all English names> so duplicates code listing
<all English names> is all of the English names (not used here)
<all French names> is all of the French names (not used here)
<639-2 code> is the three-character ISO 639-2 or 639-2B/639-2T language code; when 639-2T present, use that code
<639-1 code> is the two-character ISO 639-1 language code synonym of the -2 code (if one is defined)
like this (with synonym):
000
1:0
Template used on this page:
Return to Module:Language/data/ISO 639-2/make.