Skip to content
Snippets Groups Projects
Commit bee9fb2b authored by Per Hedbor's avatar Per Hedbor
Browse files

Ported from RoxenLocale/ISO639_2.pmod

Rev: lib/modules/Standards.pmod/ISO639_2.pmod:1.2
parent 147f3881
No related branches found
No related tags found
No related merge requests found
......@@ -445,6 +445,10 @@ string get_language(string code) {
return languages[code];
}
mapping list_languages() {
return languages+([]);
}
static mapping(string:string) conversion=([
"aa":"aar",
"ab":"abk",
......@@ -609,3 +613,7 @@ static mapping(string:string) conversion=([
string map_639_1(string code) {
return conversion[code];
}
mapping list_639_1() {
return conversion+([]);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment