Module:Data/static/language/data

From Yugipedia
Jump to: navigation, search
Module documentation[create]
-- <pre>
local normalize = {
	['EN'] = 'en',
	['NA'] = 'en', ['EU'] = 'en',
	['AU'] = 'en', ['OC'] = 'en',
	['FR'] = 'fr', ['FC'] = 'fr',
	['DE'] = 'de',
	['IT'] = 'it',
	['PT'] = 'pt',
	['SP'] = 'es',
	['JP'] = 'ja', ['JA'] = 'ja',
	['AE'] = 'en',
	['SC'] = 'sc', ['TC'] = 'tc',
	['KR'] = 'ko',
}

local main = {
	['en'] = { index = 'en', full = 'English'             },
	['fr'] = { index = 'fr', full = 'French'              },
	['de'] = { index = 'de', full = 'German'              },
	['it'] = { index = 'it', full = 'Italian'             },
	['pt'] = { index = 'pt', full = 'Portuguese'          },
	['es'] = { index = 'es', full = 'Spanish'             },
	['ja'] = { index = 'ja', full = 'Japanese'            },
	['sc'] = { index = 'sc', full = 'Simplified Chinese'  },
	['tc'] = { index = 'tc', full = 'Traditional Chinese' },
	['ko'] = { index = 'ko', full = 'Korean'              },
}

return {
	normalize = normalize,
	main = main,
}
-- </pre>