Template:Rtl-lang

From Wikipedia, the free encyclopedia

 This high-risk template has been protected from editing to prevent vandalism. Please discuss changes on the talk page. You may use {{editprotected}} on the talk page to ask for an administrator to make an edit for you.

{{{2}}}

Usage

Like {{lang}} but for right-to-left scripts like Arabic or Hebrew alphabet.

* {{rtl-lang|ar|اللغة العربية}}
* {{rtl-lang|he|עברית}}

gives:

  • اللغة العربية
  • עברית

Of course, transliterations of these languages are in the Latin script, therefore in these cases the adequate template is {{lang}} and not {{rtl-lang}}:

* The transliteration of "{{rtl-lang|ar|اللغة العربية}}" is "{{lang|ar-Latn|''al-‘arabiyyah''}}".
* The transliteration of "{{rtl-lang|he|עברית}}" is "{{lang|he-Latn|''‘Ivrit''}}".
  • The transliteration of "اللغة العربية‎" is "al-‘arabiyyah".
  • The transliteration of "עברית‎" is "‘Ivrit".
In other languages