Module talk:Lang/testcases
මාතෘකාවක් එක්කරන්නපෙනුම
In these tests, the expected column is the live module; the actual column is the module sandbox.
95 of 203 tests failed.
test_01_lang_italic
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no}} | <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> | <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">''text''</span></span> | <span title="අරාබි-language text"><span lang="ar">''text''</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=italic}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=whatever}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> |
test_02_lang_italic_with_script
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=arab}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=latn}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no|script=arab}} | <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> | <span title="අරාබි-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="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> | <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> |
test_03_lang_rtl
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=yes}} | <span title="අරාබි-language text"><i lang="ar" dir="rtl">text</i></span> | <span title="අරාබි-language text"><i lang="ar" dir="rtl">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=no}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=whatever}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text}} | <span title="අරාබි-language text"><i lang="ar">text</i></span> | <span title="අරාබි-language text"><i lang="ar">text</i></span> |
test_04_lang_ietf
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|lang|text=text|code=de}} | <span title="ජර්මන්-language text"><i lang="de">text</i></span> | <span title="ජර්මන්-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="ජර්මන්-language text"><i lang="de-1901">text</i></span> | <span title="ජර්මන්-language text"><i lang="de-1901">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|text=text|code=ru-petr1708}} | <span title="රුසියානු-language text"><i lang="ru-petr1708">text</i></span> | <span title="රුසියානු-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="රුසියානු-language text"><i lang="ru-RU-petr1708">text</i></span> | <span title="රුසියානු-language text"><i lang="ru-RU-petr1708">text</i></span> | |
| {{#invoke:Lang/sandbox|lang|text=text|code=es-419}} | <span title="ස්පාඤ්ඤ-language text"><i lang="es-419">text</i></span> | <span title="ස්පාඤ්ඤ-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">*<i lang="cel">text</i></span> | <span title="Proto-Celtic-language text">*<i lang="cel">text</i></span> |
test_05_lang_invert_italics
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">''text''</span></span> | <span title="අරාබි-language text"><span lang="ar">''text''</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=''text''|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">text</span></span> | <span title="අරාබි-language text"><span lang="ar">text</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text='''''text'''''|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">'''text'''</span></span> | <span title="අරාබි-language text"><span lang="ar">'''text'''</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text='''text'''|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">'''''text'''''</span></span> | <span title="අරාබි-language text"><span lang="ar">'''''text'''''</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=''text's''|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">text's</span></span> | <span title="අරාබි-language text"><span lang="ar">text's</span></span> | |
| {{#invoke:Lang/sandbox|lang|code=ar|text=text's|italic=invert}} | <span title="අරාබි-language text"><span lang="ar">''text's''</span></span> | <span title="අරාබි-language text"><span lang="ar">''text's''</span></span> |
test_06_lang_xx_italic
test_07_lang_xx_italic_with_script
test_08_lang_xx_script
test_09_lang_xx_rtl
test_10_lang_xx_translit
test_11_lang_xx_link_and_label
test_12_lang_xx_invert_italics
test_13_transl_formats
test_14_transl_italics
test_15_category_from_tag
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr|link=yes}} | ප්රවර්ගය:ප්රංශ-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ප්රංශ-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber|link=yes}} | ප්රවර්ගය:Articles with text in Berber languages | Category:Articles with text in Berber languages | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en|link=yes}} | ප්රවර්ගය:ඉංග්රීසි-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ඉංග්රීසි-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb|link=yes}} | ප්රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing British English-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr}} | ප්රවර්ගය:ප්රංශ-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ප්රංශ-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|FR}} | ප්රවර්ගය:ප්රංශ-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ප්රංශ-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber}} | ප්රවර්ගය:Articles with text in Berber languages | Category:Articles with text in Berber languages | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|BER}} | ප්රවර්ගය:Articles with text in Berber languages | Category:Articles with text in Berber languages | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en}} | ප්රවර්ගය:ඉංග්රීසි-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ඉංග්රීසි-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN}} | ප්රවර්ගය:ඉංග්රීසි-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing ඉංග්රීසි-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb}} | ප්රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing British English-language text | |
| {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN-GB}} | ප්රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි | Category:Articles containing British English-language text |
test_16_name_from_tag
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr|link=yes}} | ප්රංශ | ප්රංශ | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber|link=yes}} | Berber languages | Berber languages | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en|link=yes}} | ඉංග්රීසි | ඉංග්රීසි | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb|link=yes}} | British English | British English | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr}} | ප්රංශ | ප්රංශ | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|FR}} | ප්රංශ | ප්රංශ | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber}} | Berber languages | Berber languages | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|BER}} | Berber languages | Berber languages | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en}} | ඉංග්රීසි | ඉංග්රීසි | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN}} | ඉංග්රීසි | ඉංග්රීසි | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb}} | British English | British English | |
| {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN-GB}} | British English | British English |
test_17_tag_from_name
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|french}} | Error: language: french not found | Error: language: french not found | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|French}} | Error: language: French not found | Error: language: French not found | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|FRENCH}} | Error: language: FRENCH not found | Error: language: FRENCH not found | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber Languages}} | ber | ber | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber languages}} | ber | ber | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|British English}} | en-gb | en-gb | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|en}} | enc | enc | |
| {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|EN}} | enc | enc |
test_18_is_ietf_tag
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FR}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|ber}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|BER}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en-gb}} | true | true | |
| {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN-GB}} | true | true |
test_19_is_lang_name
| Text | Expected | Actual | |
|---|---|---|---|
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|french}} | |||
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|French}} | |||
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FRENCH}} | |||
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber Languages}} | true | true | |
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber languages}} | true | true | |
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|British English}} | true | true | |
| {{#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}} | true | true | |
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN}} | true | true | |
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en-gb}} | |||
| {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN-GB}} |
test_20_lang_errors
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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="ප්රංශ-language text"><span lang="fr"><span title="ප්රංශ-language text"><i lang="fr">text</i></span></span></span> | <span title="ප්රංශ-language text"><span lang="fr"><span title="ප්රංශ-language text"><i lang="fr">text</i></span></span></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
test_22_transl_errors
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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> | |
| {{#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> | |
| {{#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> | |
| {{#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> | |
| {{#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_23_category_from_tag_errors
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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
| Text | Expected | Actual | |
|---|---|---|---|
| {{#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> |