Module:OSM Constants

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Create] Documentation
 1 return {
 2 	
 3 	-- Known language namespaces and their corresponding language codes
 4 	nsToLangCodeMap = {
 5 	    [200] = 'de',
 6 	    [202] = 'fr',
 7 	    [204] = 'es',
 8 	    [206] = 'it',
 9 	    [208] = 'nl',
10 	    [210] = 'ru',
11 	    [212] = 'ja',
12 	},
13 
14 	-- list of language codes that are not supported by MediaWiki
15 	customLangCodes = {
16 		['ca-valencia'] = 'Valencian', -- valencià
17 		['gcf'] = 'Guadeloupean Creole French', -- kréyòl gwadloupéyen
18 		['kfa'] = 'Kodava', -- ಕೊಡವ
19 		['mrw'] = 'Maranao', -- Maranao
20 		['no'] = 'Norwegian', -- Norsk
21 		['rcf'] = 'Reunion', --  Creole, kréol rénioné
22 		['sr-cyrl'] = 'Serbian (Cyrillic script)', -- српски (ћирилица)‎
23 		['sr-latn'] = 'Serbian (Latin script)', -- srpski (latinica)‎
24 		['swg'] = 'Swabian', -- Schwäbisch
25 		['sxu'] = 'Upper Saxon', --  Obersächsisch
26 		['trp'] = 'Kokborok', -- Kókborok ককবরক
27 	},
28 }