compare transl to transl/sandbox
live
sandbox
code
result
code
result
{{transl|ar|al-Khwarizmi}}
al-Khwarizmi
{{transl/sandbox|ar|al-Khwarizmi}}
al-Khwarizmi
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">al-Khwarizmi</span>
<span title="阿拉伯語"><span lang="ar-Latn">al-Khwarizmi</span></span>
{{transl|Ogam|MAQI}}
MAQI
{{transl/sandbox|Ogam|MAQI}}
MAQI
<span lang="Ogam-Latn" xml:lang="Ogam-Latn" title="Ogam转写" class="Unicode" style="white-space:normal; text-decoration: none">MAQI</span>
<span title="Ogham-字母转写"><span>MAQI</span></span>
{{transl|Cyrl|š}}
š
{{transl/sandbox|Cyrl|š}}
š
<span lang="Cyrl-Latn" xml:lang="Cyrl-Latn" title="Cyrl转写" class="Unicode" style="white-space:normal; text-decoration: none">š</span>
<span title="Cyrillic-字母转写"><span>š</span></span>
{{transl|cu|š}}
š
{{transl/sandbox|cu|š}}
š
<span lang="cu-Latn" xml:lang="cu-Latn" title="教会斯拉夫语转写" class="Unicode" style="white-space:normal; text-decoration: none">š</span>
<span title="教會斯拉夫語"><span lang="cu-Latn">š</span></span>
{{transl|ru|š}}
š
{{transl/sandbox|ru|š}}
š
<span lang="ru-Latn" xml:lang="ru-Latn" title="俄语转写" class="Unicode" style="white-space:normal; text-decoration: none">š</span>
<span title="俄語"><span lang="ru-Latn">š</span></span>
{{transl|ar|DIN|al-Ḫawārizmī}}
al-Ḫawārizmī
{{transl/sandbox|ar|DIN|al-Ḫawārizmī}}
al-Ḫawārizmī
<span lang="ar-Latn" xml:lang="ar-Latn" title="DIN 31635 阿拉伯语" class="Unicode" style="white-space:normal; text-decoration: none">al-Ḫawārizmī</span>
<span title="DIN 31635 Arabic(阿拉伯語)转写"><span lang="ar-Latn">al-Ḫawārizmī</span></span>
{{transl|ar|ALA|al-Khawārizmī}}
al-Khawārizmī
{{transl/sandbox|ar|ALA|al-Khawārizmī}}
al-Khawārizmī
<span lang="ar-Latn" xml:lang="ar-Latn" title="arALA转写" class="Unicode" style="white-space:normal; text-decoration: none">al-Khawārizmī</span>
<span title="American Library Association – Library of Congress transliteration"><span lang="ar-Latn">al-Khawārizmī</span></span>
{{transl|Arab|DIN|Ḫ}}
Ḫ
{{transl/sandbox|Arab|DIN|Ḫ}}
Ḫ
<span lang="Arab-Latn" xml:lang="Arab-Latn" title="DIN 31635 阿拉伯语" class="Unicode" style="white-space:normal; text-decoration: none">Ḫ</span>
<span title="DIN 31635 Arabic(Arabic)转写"><span>Ḫ</span></span>
{{transl|Arab|ALA|Kh}}
Kh
{{transl/sandbox|Arab|ALA|Kh}}
Kh
<span lang="Arab-Latn" xml:lang="Arab-Latn" title="ArabALA转写" class="Unicode" style="white-space:normal; text-decoration: none">Kh</span>
<span title="American Library Association – Library of Congress transliteration"><span>Kh</span></span>
error messages; compare transl to transl/sandbox
live
sandbox
code
result
code
result
{{transl|al-Khwarizmi}}
{{{2}}}
{{transl/sandbox|al-Khwarizmi}}
[al-Khwarizmi] 错误:{{Transl}}:缺少语言/字母代码(帮助 )
<span lang="al-Khwarizmi-Latn" xml:lang="al-Khwarizmi-Latn" title="al-Khwarizmi转写" class="Unicode" style="white-space:normal; text-decoration: none">{{{2}}}</span>
[al-Khwarizmi] <span style="color:#d33">错误:{{Transl}}:缺少语言/字母代码([[:Category:Transliteration模板错误|帮助]])</span>[[Category:Transliteration模板错误]]
{{transl|ar}}
{{{2}}}
{{transl/sandbox|ar}}
[未定义] 错误:{{Transl}}:无文本(帮助 )
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">{{{2}}}</span>
[未定义] <span style="color:#d33">错误:{{Transl}}:无文本([[:Category:Transliteration模板错误|帮助]])</span>[[Category:Transliteration模板错误]]
{{transl|at|al-Khwarizmi}}
al-Khwarizmi
{{transl/sandbox|at|al-Khwarizmi}}
[al-Khwarizmi] 错误:{{Transl}}:无法识别的语言/字母代码:at(帮助 )
<span lang="at-Latn" xml:lang="at-Latn" title="at转写" class="Unicode" style="white-space:normal; text-decoration: none">al-Khwarizmi</span>
[al-Khwarizmi] <span style="color:#d33">错误:{{Transl}}:无法识别的语言/字母代码:at([[:Category:Transliteration模板错误|帮助]])</span>[[Category:Transliteration模板错误]]
{{transl|ar|AL|al-Khwarizmi}}
al-Khwarizmi
{{transl/sandbox|ar|AL|al-Khwarizmi}}
[al-Khwarizmi] 错误:{{Transl}}:无法识别的转译标准:al(帮助 )
<span lang="ar-Latn" xml:lang="ar-Latn" title="arAL转写" class="Unicode" style="white-space:normal; text-decoration: none">al-Khwarizmi</span>
[al-Khwarizmi] <span style="color:#d33">错误:{{Transl}}:无法识别的转译标准:al([[:Category:Transliteration模板错误|帮助]])</span>[[Category:Transliteration模板错误]]
italic style: compare transl to transl/sandbox
transl
transl/sandbox
code
result
code
result
{{transl|ar|nasu aleunsur alnnayib|italic=}}
nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu aleunsur alnnayib|italic=}}
nasu aleunsur alnnayib
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu aleunsur alnnayib</span>
<span title="阿拉伯語"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{transl|ar|nasu aleunsur alnnayib|italic=yes}}
nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu aleunsur alnnayib|italic=yes}}
nasu aleunsur alnnayib
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu aleunsur alnnayib</span>
<span title="阿拉伯語"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{transl|ar|nasu aleunsur alnnayib|italic=no}}
nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu aleunsur alnnayib|italic=no}}
nasu aleunsur alnnayib
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu aleunsur alnnayib</span>
<span title="阿拉伯語"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{transl|ar|nasu aleunsur alnnayib|italic=default}}
nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu aleunsur alnnayib|italic=default}}
nasu aleunsur alnnayib
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu aleunsur alnnayib</span>
<span title="阿拉伯語"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{transl|ar|nasu ''aleunsur'' alnnayib|italic=unset}}
nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu ''aleunsur'' alnnayib|italic=unset}}
nasu aleunsur alnnayib
<span lang="ar-Latn" xml:lang="ar-Latn" title="阿拉伯语转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu ''aleunsur'' alnnayib</span>
<span title="阿拉伯語"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span>
{{transl|Arab|nasu ''aleunsur'' alnnayib|italic=unset}}
nasu aleunsur alnnayib
{{transl/sandbox|Arab|nasu ''aleunsur'' alnnayib|italic=unset}}
nasu aleunsur alnnayib
<span lang="Arab-Latn" xml:lang="Arab-Latn" title="Arab转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu ''aleunsur'' alnnayib</span>
<span title="Arabic-字母转写"><span>nasu ''aleunsur'' alnnayib</span></span>
{{transl|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}}
nasu aleunsur alnnayib
{{transl/sandbox|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}}
[nasu aleunsur alnnayib] 错误:{{Transl}}:只能指定 |italic=、|italics= 或 |i= 中的一个(帮助 )
<span lang="Arab-Latn" xml:lang="Arab-Latn" title="Arab转写" class="Unicode" style="white-space:normal; text-decoration: none">nasu ''aleunsur'' alnnayib</span>
[nasu ''aleunsur'' alnnayib] <span style="color:#d33">错误:{{Transl}}:只能指定 |italic=、|italics= 或 |i= 中的一个([[:Category:Transliteration模板错误|帮助]])</span>[[Category:Transliteration模板错误]]
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}}
阿拉伯语:نص العنصر النائب ,羅馬化 :nasu aleunsur alnnayib
{{transl/sandbox|ar|nasu aleunsur alnnayib}}
nasu aleunsur alnnayib
阿拉伯语:<span lang="ar" dir="rtl">نص العنصر النائب</span>‎,<small>[[阿拉伯語羅馬化|羅馬化]]:</small><span lang="ar-Latn" title="阿拉伯語羅馬化">nasu aleunsur alnnayib</span>
<span title="阿拉伯語"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN}}
阿拉伯语:نص العنصر النائب ,羅馬化 :nasu aleunsur alnnayib
{{transl/sandbox|ar|DIN|nasu aleunsur alnnayib}}
nasu aleunsur alnnayib
阿拉伯语:<span lang="ar" dir="rtl">نص العنصر النائب</span>‎,<small>[[阿拉伯語羅馬化|羅馬化]]:</small><span lang="ar-Latn" title="DIN 31635 Arabic(阿拉伯語)转写">nasu aleunsur alnnayib</span>
<span title="DIN 31635 Arabic(阿拉伯語)转写"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=ALA}}
阿拉伯语:نص العنصر النائب ,羅馬化 :nasu aleunsur alnnayib
{{transl/sandbox|ar|ALA|nasu aleunsur alnnayib}}
nasu aleunsur alnnayib
阿拉伯语:<span lang="ar" dir="rtl">نص العنصر النائب</span>‎,<small>[[阿拉伯語羅馬化|羅馬化]]:</small><span lang="ar-Latn" title="American Library Association – Library of Congress transliteration">nasu aleunsur alnnayib</span>
<span title="American Library Association – Library of Congress transliteration"><span lang="ar-Latn">nasu aleunsur alnnayib</span></span>
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN|translit-script=arab}}
Module:Lang第1220行Lua错误:invalid value (nil) at index 1 in table for 'concat'
{{transl/sandbox|Arab|DIN|nasu aleunsur alnnayib}}
nasu aleunsur alnnayib
<strong class="error"><span class="scribunto-error mw-scribunto-error-535084de">Module:Lang第1220行Lua错误:invalid value (nil) at index 1 in table for 'concat'</span></strong>
<span title="DIN 31635 Arabic(Arabic)转写"><span>nasu aleunsur alnnayib</span></span>
error messages: compare lang-ar to lang-ar/sandbox
live
sandbox
code
result
code
result
{{lang-ar|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=bob}}
[نص العنصر النائب] 错误:{{Lang-xx}}:invalid translit-std: 'bob(帮助 )
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=bob}}
[نص العنصر النائب] 错误:{{Lang-xx}}:invalid translit-std: 'bob(帮助 )
[نص العنصر النائب] <span style="font-size: 100%; font-style: normal;" class="error">错误:{{Lang-xx}}:invalid translit-std: 'bob([[:Category:Lang和lang-xx模板错误|帮助]])</span>[[Category:Lang和lang-xx模板错误]]
[نص العنصر النائب] <span style="font-size: 100%; font-style: normal;" class="error">错误:{{Lang-xx}}:invalid translit-std: 'bob([[:Category:Lang和lang-xx模板错误|帮助]])</span>[[Category:Lang和lang-xx模板错误]]
{{lang-ar|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN|translit-script=ara}}
阿拉伯语:نص العنصر النائب ,羅馬化 :nasu aleunsur alnnayib
{{lang-ar/sandbox|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN|translit-script=ara}}
阿拉伯语:نص العنصر النائب ,羅馬化 :nasu aleunsur alnnayib
阿拉伯语:<span lang="ar" dir="rtl">نص العنصر النائب</span>‎,<small>[[阿拉伯語羅馬化|羅馬化]]:</small><span lang="ar-Latn" title="DIN transliteration">nasu aleunsur alnnayib</span>
阿拉伯语:<span lang="ar" dir="rtl">نص العنصر النائب</span>‎,<small>[[阿拉伯語羅馬化|羅馬化]]:</small><span lang="ar-Latn" title="DIN transliteration">nasu aleunsur alnnayib</span>