Jump to content

Template:Translation table/testcases

From Wikipedia, the free encyclopedia

Missing one or both language codes

[edit]
Missing both language codes
{{Translation table|hola|hello}}

{{Translation table}}


error: hola not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help)
[hola] Error: {{Langx}}: unrecognized language tag: hola (help) [hello] Error: {{Langx}}: unrecognized language tag: hello (help)


{{Translation table/sandbox}}


error: hola not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help)
[hola] Error: {{Langx}}: unrecognized language tag: hola (help) [hello] Error: {{Langx}}: unrecognized language tag: hello (help)
Missing one language code
{{Translation table|hola|hello|lang1=es}}

{{Translation table}}


Spanish error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help)
hola [hello] Error: {{Langx}}: unrecognized language tag: hello (help)


{{Translation table/sandbox}}


Spanish error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help)
hola [hello] Error: {{Langx}}: unrecognized language tag: hello (help)

Valid input examples

[edit]
Spanish to English
{{Translation table|uno|one|dos|two|lang1=es |lang2=en}}

{{Translation table}}


Spanish English
uno one
dos two


{{Translation table/sandbox}}


Spanish English
uno one
dos two
English to Japanese, with romaji
{{Translation table|USA|amerika gasshuukoku|アメリカ合衆国|Japan|nihon|日本|Canada|kanada|カナダ|China|chuugoku|中国|lang1=en |lang2=ja |showromanization=true}}

{{Translation table}}


English Transliteration Japanese
USA amerika gasshuukoku アメリカ合衆国
Japan nihon 日本
Canada kanada カナダ
China chuugoku 中国


{{Translation table/sandbox}}


English Transliteration Japanese
USA amerika gasshuukoku アメリカ合衆国
Japan nihon 日本
Canada kanada カナダ
China chuugoku 中国
English to Hebrew
{{Translation table|one|אֶחָד|two|שְׁתַיִם|three|שְׁלוֹשָׁה|four|אַרבַּע|five|חָמֵשׁ|six|שֵׁשׁ|seven|שָׂבֵעַ|eight|שְׁמוֹנֶה|nine|תֵשַׁע|ten|עֶשֶׂר|lang1=en |lang2=he}}

{{Translation table}}


English Hebrew
one אֶחָד
two שְׁתַיִם
three שְׁלוֹשָׁה
four אַרבַּע
five חָמֵשׁ
six שֵׁשׁ
seven שָׂבֵעַ
eight שְׁמוֹנֶה
nine תֵשַׁע
ten עֶשֶׂר


{{Translation table/sandbox}}


English Hebrew
one אֶחָד
two שְׁתַיִם
three שְׁלוֹשָׁה
four אַרבַּע
five חָמֵשׁ
six שֵׁשׁ
seven שָׂבֵעַ
eight שְׁמוֹנֶה
nine תֵשַׁע
ten עֶשֶׂר
English to German, with longer phrases to demonstrate
{{Translation table|Hello, how are you? My name is Gommeh and I am the developer of this template.|Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage.|The goal of this template is to be able to more easily list many translations from one language to another at once.|Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten.|It was hard work creating this template, as I have never used Lua before.|Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe.|Please tell me how I did!|Bitte sag mir, wie ich mich geschlagen habe!|lang1=en |lang2=de}}

{{Translation table}}


English German
Hello, how are you? My name is Gommeh and I am the developer of this template. Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage.
The goal of this template is to be able to more easily list many translations from one language to another at once. Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten.
It was hard work creating this template, as I have never used Lua before. Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe.
Please tell me how I did! Bitte sag mir, wie ich mich geschlagen habe!


{{Translation table/sandbox}}


English German
Hello, how are you? My name is Gommeh and I am the developer of this template. Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage.
The goal of this template is to be able to more easily list many translations from one language to another at once. Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten.
It was hard work creating this template, as I have never used Lua before. Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe.
Please tell me how I did! Bitte sag mir, wie ich mich geschlagen habe!

Wikitext

[edit]
Wikitext demonstration using Italian
{{Translation table|This is to demonstrate that this template allows for the use of '''bold''', ''italics'', and <u>underlines</u>.|Questo serve a dimostrare che questo modello consente l'uso di '''grassetto''', ''corsivo'' e <u>sottolineato</u>.|[[Wikilink|Links]] are also okay.|Sono accettati anche i [[Wikilink|collegamenti wiki]].|The following translation will also demonstrate that templates are also accepted.|La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli.|7=[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Gommeh|Gommeh]]. I wanted to let you know that one or more of [[Special:Contributions/Example|your recent contributions]] have been undone because they did not appear constructive. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If you have any questions, you can ask for assistance at the [[Wikipedia:Teahouse|Teahouse]] or the [[Wikipedia:Help desk|Help desk]]. Thanks. |8=[[File:Information.svg|25px|alt=Information icon]]Ciao, sono [[User:Gommeh|Gommeh]]. Volevo informarti che uno o più dei [[Special:Contributions/Example|tuoi recenti contributi]] sono stati annullati perché non ritenuti costruttivi. Se vuoi fare degli esperimenti, usa la [[Wikipedia:Sandbox|sandbox]]. Per qualsiasi domanda, puoi chiedere assistenza alla [[Wikipedia:Teahouse|Teahouse]] o all'[[Wikipedia:Help desk|Help Desk]]. Grazie. |lang1=en |lang2=it}}

{{Translation table}}


English Italian
This is to demonstrate that this template allows for the use of bold, italics, and underlines. Questo serve a dimostrare che questo modello consente l'uso di grassetto, corsivo e sottolineato.
Links are also okay. Sono accettati anche i collegamenti wiki.
The following translation will also demonstrate that templates are also accepted. La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli.
Information icon Hello, I'm Gommeh. I wanted to let you know that one or more of your recent contributions have been undone because they did not appear constructive. If you would like to experiment, please use the sandbox. If you have any questions, you can ask for assistance at the Teahouse or the Help desk. Thanks. Information iconCiao, sono Gommeh. Volevo informarti che uno o più dei tuoi recenti contributi sono stati annullati perché non ritenuti costruttivi. Se vuoi fare degli esperimenti, usa la sandbox. Per qualsiasi domanda, puoi chiedere assistenza alla Teahouse o all'Help Desk. Grazie.


{{Translation table/sandbox}}


English Italian
This is to demonstrate that this template allows for the use of bold, italics, and underlines. Questo serve a dimostrare che questo modello consente l'uso di grassetto, corsivo e sottolineato.
Links are also okay. Sono accettati anche i collegamenti wiki.
The following translation will also demonstrate that templates are also accepted. La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli.
Information icon Hello, I'm Gommeh. I wanted to let you know that one or more of your recent contributions have been undone because they did not appear constructive. If you would like to experiment, please use the sandbox. If you have any questions, you can ask for assistance at the Teahouse or the Help desk. Thanks. Information iconCiao, sono Gommeh. Volevo informarti che uno o più dei tuoi recenti contributi sono stati annullati perché non ritenuti costruttivi. Se vuoi fare degli esperimenti, usa la sandbox. Per qualsiasi domanda, puoi chiedere assistenza alla Teahouse o all'Help Desk. Grazie.
Wikitext demonstration using Japanese with romaji
{{Translation table|This is to demonstrate that this template allows for the use of '''bold''', ''italics'', and <u>underlines</u>.|Kore wa, kono tenpurēto de '''futoji''','' shatai'', oyobi <u>kasen</u> o shiyō dekiru koto o shimesu tame no demodesu.|これは、このテンプレートで'''太字'''、''斜体''、および<u>下線</u>を使用できることを示すためのデモです。|[[Wikilink|Links]] are also okay.|[[Wikilink|Rinku]] mo OK desu.|[[Wikilink|リンク]]もOKです。|The following translation will also demonstrate that templates are also accepted.|Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu.|次の翻訳は、テンプレートも受け入れられることを示しています。|10=[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Gommeh|Gommeh]]. I wanted to let you know that one or more of [[Special:Contributions/Example|your recent contributions]] have been undone because they did not appear constructive. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If you have any questions, you can ask for assistance at the [[Wikipedia:Teahouse|Teahouse]] or the [[Wikipedia:Help desk|Help desk]]. Thanks. |11=[[File:Information.svg|25px|alt=jōhō aikon]] Kon'nichiwa, [[User:Gommeh|Gommeh]] desu. [[Special:Contributions/ Example|Saikin no tōkō]] no ichibu ga, kensetsu-tekide wa nai to handan sa reta tame, torikesa remashitanode oshirase shimasu. Jikken shite mitai kata wa,[[Wikipedia:Sandbox|Sandobokkusu]] o go riyō kudasai. Go shitsumon ga arimashitara, [[Wikipedia:Teahouse|tīhausu]] mata wa [[Wikipedia:Help desk|herupudesuku]] made o toiawase kudasai. Yoroshikuonegai itashimasu. |12=[[File:Information.svg|25px|alt=情報アイコン]] こんにちは、[[User:Gommeh|Gommeh]]です。[[Special:Contributions/Example|最近の投稿]]の一部が、建設的ではないと判断されたため、取り消されましたのでお知らせします。実験してみたい方は、[[Wikipedia:Sandbox|サンドボックス]]をご利用ください。ご質問がありましたら、[[Wikipedia:Teahouse|ティーハウス]]または[[Wikipedia:Help desk|ヘルプデスク]]までお問い合わせください。よろしくお願いいたします。 |lang1code=en |lang2code=ja |showromanization=true}}

{{Translation table}}


English Transliteration Japanese
This is to demonstrate that this template allows for the use of bold, italics, and underlines. Kore wa, kono tenpurēto de futoji, shatai, oyobi kasen o shiyō dekiru koto o shimesu tame no demodesu. これは、このテンプレートで太字斜体、および下線を使用できることを示すためのデモです。
Links are also okay. Rinku mo OK desu. リンクもOKです。
The following translation will also demonstrate that templates are also accepted. Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu. 次の翻訳は、テンプレートも受け入れられることを示しています。
Information icon Hello, I'm Gommeh. I wanted to let you know that one or more of your recent contributions have been undone because they did not appear constructive. If you would like to experiment, please use the sandbox. If you have any questions, you can ask for assistance at the Teahouse or the Help desk. Thanks. jōhō aikon Kon'nichiwa, Gommeh desu. Saikin no tōkō no ichibu ga, kensetsu-tekide wa nai to handan sa reta tame, torikesa remashitanode oshirase shimasu. Jikken shite mitai kata wa,Sandobokkusu o go riyō kudasai. Go shitsumon ga arimashitara, tīhausu mata wa herupudesuku made o toiawase kudasai. Yoroshikuonegai itashimasu. 情報アイコン こんにちは、Gommehです。最近の投稿の一部が、建設的ではないと判断されたため、取り消されましたのでお知らせします。実験してみたい方は、サンドボックスをご利用ください。ご質問がありましたら、ティーハウスまたはヘルプデスクまでお問い合わせください。よろしくお願いいたします。


{{Translation table/sandbox}}


English Transliteration Japanese
This is to demonstrate that this template allows for the use of bold, italics, and underlines. Kore wa, kono tenpurēto de futoji, shatai, oyobi kasen o shiyō dekiru koto o shimesu tame no demodesu. これは、このテンプレートで太字斜体、および下線を使用できることを示すためのデモです。
Links are also okay. Rinku mo OK desu. リンクもOKです。
The following translation will also demonstrate that templates are also accepted. Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu. 次の翻訳は、テンプレートも受け入れられることを示しています。
Information icon Hello, I'm Gommeh. I wanted to let you know that one or more of your recent contributions have been undone because they did not appear constructive. If you would like to experiment, please use the sandbox. If you have any questions, you can ask for assistance at the Teahouse or the Help desk. Thanks. jōhō aikon Kon'nichiwa, Gommeh desu. Saikin no tōkō no ichibu ga, kensetsu-tekide wa nai to handan sa reta tame, torikesa remashitanode oshirase shimasu. Jikken shite mitai kata wa,Sandobokkusu o go riyō kudasai. Go shitsumon ga arimashitara, tīhausu mata wa herupudesuku made o toiawase kudasai. Yoroshikuonegai itashimasu. 情報アイコン こんにちは、Gommehです。最近の投稿の一部が、建設的ではないと判断されたため、取り消されましたのでお知らせします。実験してみたい方は、サンドボックスをご利用ください。ご質問がありましたら、ティーハウスまたはヘルプデスクまでお問い合わせください。よろしくお願いいたします。