Die Dokumentation für dieses Modul kann unter Modul:Cycling race/lang/Doku erstellt werden

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"]="Kanada", ["Q17"]="Japan", ["Q20"]="Norwege", ["Q28"]="Ungarn", ["Q29"]="Spanie", ["Q30"]="Vereinigti Staate", ["Q31"]="Belgie", ["Q32"]="Luxemburg", 
	["Q33"]="Finnland", ["Q34"]="Schwede", ["Q35"]="Dänemark", ["Q36"]="Pole", ["Q37"]="Litaue", ["Q38"]="Italie", ["Q39"]="Schwyz", 
	["Q40"]="Eschtrych",["Q41"]="Griecheland",["Q43"]="Tirkei",["Q45"]="Portugal",
	["Q55"]="Niderlande", ["Q77"]="Uruguay", ["Q96"]="Mexiko", ["Q114"]="Kenia", ["Q115"]="Ethopie", ["Q142"]="Frankrych", 
	["Q145"]="Vereinigts Chenigrych", ["Q148"]="China", ["Q155"]="Brasilin", ["Q159"]="Russland", 
	["Q183"]="Dytschland", ["Q184"]="Wyssrussland", ["Q211"]="Lettland",["Q212"]="Ukraine",["Q213"]="Tschechie",
	['Q214']='Slowakei', ["Q215"]="Slowenie",["Q218"]="Rumänie",["Q219"]="Bulgarie",
	["Q222"]="Albanie", ["Q227"]="Aserbaidschan",["Q232"]="Kasachstan", ["Q241"]="Kuba",["Q252"]="Indonesie",["Q258"]="Sidafrika",
	["Q262"]="Algerie", ["Q265"]="Usbekistan",["Q298"]="Chile",["Q334"]="Singapur",["Q403"]="Serbie",
	["Q408"]="Auschtralie", ["Q414"]="Argentinie",	["Q664"]="Neiseeland", ["Q717"]="Venezuela", 
	["Q736"]="Ecuador",["Q739"]="Kolumbie",["Q750"]="Bolivie",["Q794"]="Iran",["Q800"]="Costa Rica",
	["Q801"]="Israel",["Q833"]="Malaysia",["Q846"]="Katar",["Q865"]="Taiwan",["Q869 "]="Thailand",
	["Q884"]="Sidkorea", ["Q928 "]="Phillipine",["Q948"]="Tunesie",
	["Q986"]="Eritrea", ["Q1028"]="Marokko", ["Q1037"]="Ruanda", ["Q29999"]="Niderlande",
	["Q8646"]="Hongkong"
} 
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 = {'fr'} 

return translations