Content deleted Content added
hide aliases in keys |
improve main language detection |
||
Line 201:
lang = lect
break
end
end
if not lang then
for _, lect in ipairs(lects) do
if lect.name:find(' languages') then
lang = lect
break
end
end
end
if not lang then
for _, lect in ipairs(lects) do
if not lect.code:find('-') then
lang = lect
break
end
end
end
|