because {{lang-??}} templates share code in Module:Lang with {{transl}}, it seems appropriate that both should be tested here because they are slightly different; fixes to one must not break the other.

compare lang-ar/sandbox to transl/sandbox
lang-ar/sandbox transl/sandbox
code result code result
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib}} සැකිල්ල:Lang-ar/sandbox {{transl/sandbox|ar|nasu aleunsur alnnayib}} සැකිල්ල:Transl/sandbox
[[:සැකිල්ල:Lang-ar/sandbox]] [[:සැකිල්ල:Transl/sandbox]]
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN}} සැකිල්ල:Lang-ar/sandbox {{transl/sandbox|ar|DIN|nasu aleunsur alnnayib}} සැකිල්ල:Transl/sandbox
[[:සැකිල්ල:Lang-ar/sandbox]] [[:සැකිල්ල:Transl/sandbox]]
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=ALA}} සැකිල්ල:Lang-ar/sandbox {{transl/sandbox|ar|ALA|nasu aleunsur alnnayib}} සැකිල්ල:Transl/sandbox
[[:සැකිල්ල:Lang-ar/sandbox]] [[:සැකිල්ල:Transl/sandbox]]
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN|translit-script=arab}} සැකිල්ල:Lang-ar/sandbox {{transl/sandbox|Arab|DIN|nasu aleunsur alnnayib}} සැකිල්ල:Transl/sandbox
[[:සැකිල්ල:Lang-ar/sandbox]] [[:සැකිල්ල:Transl/sandbox]]
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Transliteration/testcases&oldid=580907" වෙතින් සම්ප්‍රවේශනය කෙරිණි