La documentación pa esti módulu pue crease en Módulu:Cycling race/lang/usu

local translations = {}
function translations.list(item)
--[[
Using country items to get the name of a country is very slow. Expand and translate this list to your needs, for example to all Scandinavian items or 
South-Amercon items if this is your main topic. The information for rarely used countries is taken from Wikidata. Maybe adding 300+ country names is to much 
and it is to much work to insert them all by hand, but 30 or 40 should be OK.
]]	
local list = {}
list = {
	["Q16"]="Canadá",
	["Q17"]="Xapón",
	["Q20"]="Noruega",
	["Q28"]="Hungría",
	["Q29"]="España",
	["Q30"]="Estaos Xuníos",
	["Q31"]="Bélxica",
	["Q32"]="Luxemburgu", 
	["Q33"]="Finlandia",
	["Q34"]="Suecia",
	["Q35"]="Dinamarca",
	["Q36"]="Polonia",
	["Q37"]="Lituania",
	["Q38"]="Italia",
	["Q39"]="Suiza",
	["Q40"]="Austria",
	["Q41"]="Grecia",
	["Q43"]="Turquía",
	["Q45"]="Portugal",
	["Q55"]="Países Baxos",
	["Q77"]="Uruguái",
	["Q96"]="Méxicu",
	["Q114"]="Kenia",
	["Q115"]="Etiopía",
	["Q142"]="Francia",
	["Q145"]="Reinu Xuníu",
	["Q148"]="China",
	["Q155"]="Brasil",
	["Q159"]="Rusia",
	["Q183"]="Alemaña",
	["Q213"]="Chequia",
	["Q214"]="Eslovaquia",
	["Q215"]="Eslovenia",
	["Q218"]="Rumanía",
	["Q219"]="Bulgaria",
	["Q227"]="Azerbaixán",
	["Q232"]="Kazakstán",
	["Q408"]="Australia",
	["Q414"]="Arxentina",
	["Q664"]="Nueva Zelanda",
	["Q717"]="Venezuela",
	["Q739"]="Colombia",
	["Q29999"]="Países Baxos"
} 
local value = list[item]
if value ~= nil then return value else return '' end
end

--[[
This is for the data in "official name" - qualifiers in team items. The first element in the list lang_priority has the highest priority. 
The code looks first in Wikidata team items if there is a translation in this language. If there is no such translation, the next language is taken. 
In case no matching "official name" - qualifier is available, the standard "official name" is printed, that is the one that is the value in that statement. 

If a wiki doesn´t have the lang module or this variable is not inserted into the lang module , the "official name" - qualifiers are ignored. 

It is used to print non latin team names in the cycling race tables and local team names, for example "Team Sky" instead of "Sky".
]]        

translations.lang_priority = {'ast'} 

return translations