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