Module talk:Lang/testcases
Module Talk
Add topic
< Module talk:Lang
In these tests, the expected column is the live module; the actual column is the module sandbox.
All tests passed.
test_01_lang_italic
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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
TextExpectedActual
{{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=arab}}<span title="Arabic-language text"><i lang="ar">text</i></span><span title="Arabic-language text"><i lang="ar">text</i></span>
{{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=latn}}<span title="Arabic-language text"><i lang="ar">text</i></span><span title="Arabic-language text"><i lang="ar">text</i></span>
{{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no|script=arab}}<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>
{{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no|script=latn}}<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>
test_03_lang_rtl
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#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>
{{#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
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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
TextExpectedActual
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes}}[[Arabic language|Arabic]]: <i lang="ar">text</i>[[Arabic language|Arabic]]: <i lang="ar">text</i>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no}}[[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>[[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Arabic language|Arabic]]: <span lang="ar">''text''</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=italic}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=whatever}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
test_07_lang_xx_italic_with_script
TextExpectedActual
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=latn}}[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[[Arabic language|Arabic]]: <span lang="ar-Latn" style="font-style: normal;">text</span>
test_08_lang_xx_script
TextExpectedActual
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=latn}}[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|script=latn}}[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>
test_09_lang_xx_rtl
TextExpectedActual
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=yes}}[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=no}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=whatever}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
test_10_lang_xx_translit
TextExpectedActual
{{#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>[[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>
{{#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>[[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>
{{#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>[[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>
{{#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>[[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>
{{#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>[[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>
{{#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;[[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;
{{#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;[[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;
{{#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;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;
{{#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;[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
{{#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;Arabic: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;
{{#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>[[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>
{{#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>[[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>
{{#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>[[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>
{{#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;[[Germanic languages]]: <span lang="gem">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
{{#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;[[Athapascan languages]]: <span lang="ath">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
test_11_lang_xx_link_and_label
TextExpectedActual
{{#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;<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;
{{#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;<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;
{{#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><span title="Fula-language text"><span lang="ff">test</span></span>
{{#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>test label: <span lang="ff">test</span>
test_12_lang_xx_invert_italics
TextExpectedActual
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Arabic language|Arabic]]: <span lang="ar">''text''</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text''|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">text</span>[[Arabic language|Arabic]]: <span lang="ar">text</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''''text'''''|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>[[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''text'''|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>[[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text's''|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>[[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>
{{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text's|italic=invert}}[[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>[[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>
test_13_transl_formats
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#invoke:Lang/sandbox|transl|nocat=yes|xsux|test}}<span title="Cuneiform transliteration"><span>test</span></span><span title="Cuneiform transliteration"><span>test</span></span>
{{#invoke:Lang/sandbox|transl|nocat=yes|Cyrl|š}}<span title="Cyrillic-script transliteration"><span>š</span></span><span title="Cyrillic-script transliteration"><span>š</span></span>
{{#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>
{{#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_14_transl_italics
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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_15_category_from_tag
TextExpectedActual
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr|link=yes}}Category:Articles containing French-language textCategory:Articles containing French-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber|link=yes}}Category:Articles with text in Berber languagesCategory:Articles with text in Berber languages
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en|link=yes}}Category:Articles containing explicitly cited English-language textCategory:Articles containing explicitly cited English-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb|link=yes}}Category:Articles containing explicitly cited British English-language textCategory:Articles containing explicitly cited British English-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr}}Category:Articles containing French-language textCategory:Articles containing French-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|FR}}Category:Articles containing French-language textCategory:Articles containing French-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber}}Category:Articles with text in Berber languagesCategory:Articles with text in Berber languages
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|BER}}Category:Articles with text in Berber languagesCategory:Articles with text in Berber languages
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en}}Category:Articles containing explicitly cited English-language textCategory:Articles containing explicitly cited English-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN}}Category:Articles containing explicitly cited English-language textCategory:Articles containing explicitly cited English-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb}}Category:Articles containing explicitly cited British English-language textCategory:Articles containing explicitly cited British English-language text
{{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN-GB}}Category:Articles containing explicitly cited British English-language textCategory:Articles containing explicitly cited British English-language text
test_16_name_from_tag
TextExpectedActual
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr|link=yes}}FrenchFrench
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber|link=yes}}Berber languagesBerber languages
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en|link=yes}}EnglishEnglish
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb|link=yes}}British EnglishBritish English
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr}}FrenchFrench
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|FR}}FrenchFrench
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber}}Berber languagesBerber languages
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|BER}}Berber languagesBerber languages
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en}}EnglishEnglish
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN}}EnglishEnglish
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb}}British EnglishBritish English
{{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN-GB}}British EnglishBritish English
test_17_tag_from_name
TextExpectedActual
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|french}}frfr
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|French}}frfr
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|FRENCH}}frfr
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber Languages}}berber
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber languages}}berber
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|British English}}en-gben-gb
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|en}}encenc
{{#invoke:Lang/sandbox|tag_from_name|nocat=yes|EN}}encenc
test_18_is_ietf_tag
TextExpectedActual
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|french}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|French}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FRENCH}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber Languages}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber languages}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|British English}}
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|fr}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FR}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|ber}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|BER}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en-gb}}truetrue
{{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN-GB}}truetrue
test_19_is_lang_name
TextExpectedActual
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|french}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|French}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FRENCH}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber Languages}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber languages}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|British English}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|fr}}
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FR}}
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|ber}}
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|BER}}
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN}}truetrue
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en-gb}}
{{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN-GB}}
test_20_lang_errors
TextExpectedActual
{{#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>
{{#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>
{{#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>
{{#invoke:Lang/sandbox|lang|nocat=yes|fr|code=fr|text}}[undefined] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span>[undefined] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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>
{{#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_21_lang_xx_errors
TextExpectedActual
{{#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>[] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[undefined] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{1}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{2}}} and |translit= ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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;[[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;lit&#39;
{{#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;[[French language|French]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;translation&#39;
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: |lit= and |translation= ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[[French language|French]]: <span lang="fr"><span title="French-language text"><i lang="fr">text</i></span></span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[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>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[نص العنصر النائب] <span style="color:#d33">Error: {{Lang-xx}}: invalid translit-std: 'bob ([[:Category:Lang and lang-xx template errors|help]])</span>
{{#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>[[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>
test_22_transl_errors
TextExpectedActual
{{#invoke:Lang/sandbox|transl|nocat=yes|al-Khwarizmi}}[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: missing language / script code ([[:Category:Transl template errors|help]])</span>[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: missing language / script code ([[:Category:Transl template errors|help]])</span>
{{#invoke:Lang/sandbox|transl|nocat=yes|ar}}[undefined] <span style="color:#d33">Error: {{Transl}}: no text ([[:Category:Transl template errors|help]])</span>[undefined] <span style="color:#d33">Error: {{Transl}}: no text ([[:Category:Transl template errors|help]])</span>
{{#invoke:Lang/sandbox|transl|nocat=yes|at|al-Khwarizmi}}[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: unrecognized language / script code: at ([[:Category:Transl template errors|help]])</span>[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: unrecognized language / script code: at ([[:Category:Transl template errors|help]])</span>
{{#invoke:Lang/sandbox|transl|nocat=yes|ar|AL|al-Khwarizmi}}[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: unrecognized transliteration standard: al ([[:Category:Transl template errors|help]])</span>[al-Khwarizmi] <span style="color:#d33">Error: {{Transl}}: unrecognized transliteration standard: al ([[:Category:Transl template errors|help]])</span>
{{#invoke:Lang/sandbox|transl|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}}[nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transl}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transl template errors|help]])</span>[nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transl}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transl template errors|help]])</span>
test_23_category_from_tag_errors
TextExpectedActual
{{#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_24_name_from_tag_errors
TextExpectedActual
{{#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_25_tag_from_name_errors
TextExpectedActual
{{#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>
Last edited on 3 November 2020, at 13:37
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
HomeRandom Nearby Log in Settings DonateAbout WikipediaDisclaimers
WatchEdit