Jump to content

Module talk:Lang/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

In these tests, the expected column is the live module; the actual column is the module sandbox.

All 226 tests passed.

test_01_lang_italic
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no}} <span title="Arabic-language text"><span lang="ar" style="font-style: normal;">text</span></span> <span title="Arabic-language text"><span lang="ar" style="font-style: normal;">text</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text''</span></span> <span title="Arabic-language text"><span lang="ar">''text''</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=italic}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=whatever}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
test_02_lang_italic_with_script
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|text=text|italic=yes|code=ar-Cyrl}} <span title="Arabic-language text"><i lang="ar-Cyrl">text</i></span> <span title="Arabic-language text"><i lang="ar-Cyrl">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|italic=yes|code=ar-latn}} <span title="Arabic-language text"><i lang="ar-Latn">text</i></span> <span title="Arabic-language text"><i lang="ar-Latn">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|italic=no|code=ar-Cyrl}} <span title="Arabic-language text"><span lang="ar-Cyrl" style="font-style: normal;">text</span></span> <span title="Arabic-language text"><span lang="ar-Cyrl" style="font-style: normal;">text</span></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|italic=no|code=ar-latn}} <span title="Arabic-language text"><span lang="ar-Latn" style="font-style: normal;">text</span></span> <span title="Arabic-language text"><span lang="ar-Latn" style="font-style: normal;">text</span></span>
test_03_lang_rtl
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=yes}} <span title="Arabic-language text"><i lang="ar" dir="rtl">text</i></span> <span title="Arabic-language text"><i lang="ar" dir="rtl">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=no}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=whatever}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
test_04_lang_ietf
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|text=text|code=de}} <span title="German-language text"><i lang="de">text</i></span> <span title="German-language text"><i lang="de">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=nav}} <span title="Navajo-language text"><i lang="nv">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: nav promoted to code: nv </span> <span title="Navajo-language text"><i lang="nv">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: nav promoted to code: nv </span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=1ca}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=cmn-Latn}} <span title="Mandarin Chinese-language text"><i lang="cmn-Latn">text</i></span> <span title="Mandarin Chinese-language text"><i lang="cmn-Latn">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=he-hebr}} [text] <span style="color:#d33">Error: {{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=de-ch}} <span title="Swiss Standard German-language text"><i lang="de-CH">text</i></span> <span title="Swiss Standard German-language text"><i lang="de-CH">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=de-1901}} <span title="German-language text"><i lang="de-1901">text</i></span> <span title="German-language text"><i lang="de-1901">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=ru-petr1708}} <span title="Russian-language text"><i lang="ru-petr1708">text</i></span> <span title="Russian-language text"><i lang="ru-petr1708">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=ca-valencia}} <span title="Valencian-language text"><i lang="ca-valencia">text</i></span> <span title="Valencian-language text"><i lang="ca-valencia">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=ru-ru-petr1708}} <span title="Russian-language text"><i lang="ru-RU-petr1708">text</i></span> <span title="Russian-language text"><i lang="ru-RU-petr1708">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=es-419}} <span title="Spanish-language text"><i lang="es-419">text</i></span> <span title="Spanish-language text"><i lang="es-419">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=ru-Cyrl-RU}} [text] <span style="color:#d33">Error: {{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=ca-419-valencia}} <span title="Catalan-language text"><i lang="ca-419-valencia">text</i></span> <span title="Catalan-language text"><i lang="ca-419-valencia">text</i></span>
checkY {{#invoke:Lang/sandbox|lang|text=text|code=cel-x-proto}} <span title="Proto-Celtic-language text">&#42;<i lang="cel">text</i></span> <span title="Proto-Celtic-language text">&#42;<i lang="cel">text</i></span>
test_05_lang_invert_italics
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text''</span></span> <span title="Arabic-language text"><span lang="ar">''text''</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=''text''|italic=invert}} <span title="Arabic-language text"><span lang="ar">text</span></span> <span title="Arabic-language text"><span lang="ar">text</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text='''''text'''''|italic=invert}} <span title="Arabic-language text"><span lang="ar">'''text'''</span></span> <span title="Arabic-language text"><span lang="ar">'''text'''</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text='''text'''|italic=invert}} <span title="Arabic-language text"><span lang="ar">'''''text'''''</span></span> <span title="Arabic-language text"><span lang="ar">'''''text'''''</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=''text's''|italic=invert}} <span title="Arabic-language text"><span lang="ar">text&#39;s</span></span> <span title="Arabic-language text"><span lang="ar">text&#39;s</span></span>
checkY {{#invoke:Lang/sandbox|lang|code=ar|text=text's|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text&#39;s''</span></span> <span title="Arabic-language text"><span lang="ar">''text&#39;s''</span></span>
test_06_lang_xx_italic
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes}} [[Arabic language|Arabic]]: <i lang="ar">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no}} [[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=italic}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=whatever}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
test_07_lang_xx_italic_with_script
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=latn}} [[Arabic language|Arabic]]: <span lang="ar-Latn" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar-Latn" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]]
test_08_lang_xx_script
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]
test_09_lang_xx_rtl
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=yes}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=no}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=whatever}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
test_10_lang_xx_translit
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-script=Arab}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=ALA}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|translation=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic|links=no}} Arabic: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] Arabic: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic|links=no}} Arabic: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] Arabic: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm}} [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="Fula-script transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]] [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="Fula-script transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm|translit-std=ALA}} [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]] [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=arab}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=gem|text=test|translit=ʿarabī|translation=Arabic}} [[Germanic languages]]: <span lang="gem">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Germanic languages]]: <span lang="gem">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ath|text=test|translit=ʿarabī|translation=Arabic}} [[Athapascan languages]]: <span lang="ath">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Athapascan languages]]: <span lang="ath">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]]
test_11_lang_xx_engvar
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=au}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=ca}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=gb}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=ie}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=in}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=nz}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=us}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=za}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=nv}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
test_12_lang_xx_link_and_label
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none}} <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]] <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none|link=no}} <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]] <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=none}} <span title="Fula-language text"><span lang="ff">test</span></span>[[Category:Pages using Lang-xx templates]] <span title="Fula-language text"><span lang="ff">test</span></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=test label}} test label: <span lang="ff">test</span>[[Category:Pages using Lang-xx templates]] test label: <span lang="ff">test</span>[[Category:Pages using Lang-xx templates]]
test_13_lang_xx_invert_italics
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''''text'''''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''text'''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text's''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text's|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>[[Category:Pages using Lang-xx templates]]
test_14_transl_formats
Text Expected Actual
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|iso|test}} <span title="ISO 3602 Japanese (Japanese language) transliteration"><i lang="ja-Latn">test</i></span> <span title="ISO 3602 Japanese (Japanese language) transliteration"><i lang="ja-Latn">test</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|kana|iso|test}} <span title="ISO 3602 Japanese (Katakana script) transliteration"><span>test</span></span> <span title="ISO 3602 Japanese (Katakana script) transliteration"><span>test</span></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|oto|iso|test}} <span title="ISO transliteration"><i lang="oto-Latn">test</i></span> <span title="ISO transliteration"><i lang="oto-Latn">test</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|xsux|test}} <span title="Cuneiform transliteration"><span>test</span></span> <span title="Cuneiform transliteration"><span>test</span></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|Cyrl|š}} <span title="Cyrillic-script transliteration"><span>š</span></span> <span title="Cyrillic-script transliteration"><span>š</span></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|test}} <span title="Arabic-language romanization"><i lang="ar-Latn">test</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">test</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|oto|test}} <span title="Otomian languages romanization"><i lang="oto-Latn">test</i></span> <span title="Otomian languages romanization"><i lang="oto-Latn">test</i></span>
test_15_transl_italics
Text Expected Actual
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=yes}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=no}} <span title="Arabic-language romanization"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span> <span title="Arabic-language romanization"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=default}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=whatever}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="Arabic-language romanization"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-language romanization"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span>
test_16_transl_engvar
Text Expected Actual
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|Tōkyō tawā}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|Tōkyō tawā|envar=}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|Tōkyō tawā|engvar=ca}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|Tōkyō tawā|engvar=ie}} <span title="Japanese-language romanisation"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanisation"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|rr|seongmyeong}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|rr|seongmyeong|engvar=}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|rr|seongmyeong|engvar=us}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|rr|seongmyeong|engvar=in}} <span title="Revised Romanisation of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanisation of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|yaleko|seongmyeong}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|yaleko|seongmyeong|engvar=}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|yaleko|seongmyeong|engvar=us}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ko|yaleko|seongmyeong|engvar=in}} <span title="Yale romanisation of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanisation of Korean"><i lang="ko-Latn">seongmyeong</i></span>
test_17_category_from_tag
Text Expected Actual
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr|link=yes}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber|link=yes}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en|link=yes}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb|link=yes}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|FR}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|BER}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN-GB}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text
test_18_name_from_tag
Text Expected Actual
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr|link=yes}} French French
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber|link=yes}} Berber languages Berber languages
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en|link=yes}} English English
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb|link=yes}} British English British English
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr}} French French
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|FR}} French French
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber}} Berber languages Berber languages
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|BER}} Berber languages Berber languages
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en}} English English
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN}} English English
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb}} British English British English
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN-GB}} British English British English
test_19_tag_from_name
Text Expected Actual
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|french}} fr fr
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|French}} fr fr
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|FRENCH}} fr fr
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber Languages}} ber ber
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber languages}} ber ber
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|British English}} en-gb en-gb
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|en}} enc enc
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|EN}} enc enc
test_20_is_ietf_tag
Text Expected Actual
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|french}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|French}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FRENCH}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber Languages}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber languages}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|British English}}
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|fr}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FR}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|ber}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|BER}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en-gb}} true true
checkY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN-GB}} true true
test_21_is_lang_name
Text Expected Actual
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|french}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|French}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FRENCH}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber Languages}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber languages}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|British English}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|fr}}
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FR}}
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|ber}}
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|BER}}
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN}} true true
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en-gb}}
checkY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN-GB}}
test_22_lang_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|}} [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr}} [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|code=fr|text}} [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|text|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{2}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{2}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|proto=proto-y-bad|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: invalid |proto=: ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: invalid |proto=: ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|''italics''}} [''italics''] <span style="color:#d33">Error: {{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span> [''italics''] <span style="color:#d33">Error: {{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|text={{lang|fr|text=text}}}} <span title="French-language text"><i lang="fr"><span title="French-language text"><i lang="fr">text</i></span></i></span> <span title="French-language text"><i lang="fr"><span title="French-language text"><i lang="fr">text</i></span></i></span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|malformed''''''}} [malformed''''''] <span style="color:#d33">Error: {{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span> [malformed''''''] <span style="color:#d33">Error: {{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|1ca|text}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|zz|text}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|glg|text}} <span title="Galician-language text"><i lang="gl">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: glg promoted to code: gl </span> <span title="Galician-language text"><i lang="gl">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: glg promoted to code: gl </span>
checkY {{#invoke:Lang/sandbox|lang|nocat=yes|iw|text}} <span title="Hebrew-language text"><i lang="iw">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: iw is deprecated </span> <span title="Hebrew-language text"><i lang="iw">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: iw is deprecated </span>
test_23_lang_xx_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|}} [] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr}} [undefined] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [undefined] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|text=text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|text=text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{1}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{1}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translit|translit=translit}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{2}}} and |translit= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{2}}} and |translit= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit|lit=lit}} [[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;lit&#39;[[Category:Pages using Lang-xx templates]] [[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;lit&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translation|translation=translation}} [[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;translation&#39;[[Category:Pages using Lang-xx templates]] [[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;translation&#39;[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit=lit|translation=translation}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: |lit= and |translation= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: |lit= and |translation= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|{{lang|fr|text}}}} [[French language|French]]: <span lang="fr"><span title="French-language text"><i lang="fr">text</i></span></span>[[Category:Pages using Lang-xx templates]] [[French language|French]]: <span lang="fr"><span title="French-language text"><i lang="fr">text</i></span></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr-Latn|script=Latn|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|script=nonsense|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|script=Arab|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=en-US|region=US|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-XL|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-1901|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-19022|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de|script=Armn|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code-script pair: de-armn ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code-script pair: de-armn ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=en|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=es-x-419|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=bob}} [نص العنصر النائب] <span style="color:#d33">Error: {{Lang-xx}}: invalid translit-std: 'bob ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [نص العنصر النائب] <span style="color:#d33">Error: {{Lang-xx}}: invalid translit-std: 'bob ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=ar}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
test_24_transl_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar}} [undefined] <span style="color:#d33">Error: {{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|at|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|AL|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:Lang/sandbox|transl|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}} [nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transliteration}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transliteration template errors|help]])</span> [nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transliteration}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transliteration template errors|help]])</span>
test_25_category_from_tag_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span> <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span>
test_26_name_from_tag_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span> <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span>
test_27_tag_from_name_errors
Text Expected Actual
checkY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: language: sfsfsfs not found</span> <span style="color:#d33">Error: language: sfsfsfs not found</span>
test_28_html_tag_select
Text Expected Actual
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|نص العنصر النائب}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|نص العنصر النائب}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|{{rtl-para|نص العنصر النائب}}}} [[Arabic language|Arabic]]: <div lang="ar"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <div lang="ar"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|{{rtl-para|نص العنصر النائب}}}} [[Arabic language|Arabic]]: <div lang="ar" dir="rtl"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <div lang="ar" dir="rtl"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=en|<poem>a test fails<br>Lua</poem>}} [[English language|English]]: <div lang="en">'"`UNIQ--poem-00000002-QINU`"'</div>[[Category:Pages using Lang-xx templates]] [[English language|English]]: <div lang="en">'"`UNIQ--poem-00000000-QINU`"'</div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:Lang/sandbox|lang_xx_inherit|code=en|Text with...

implied paragraph breaks.}}

[[English language|English]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>[[Category:Pages using Lang-xx templates]] [[English language|English]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>[[Category:Pages using Lang-xx templates]]

Start a discussion about improving the Module:Lang/testcases page

Start a discussion