Template:Lang

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

Allows including some text written in another specified language.

Usage

  • {{Lang|lang-code|text}}
  • {{Lang|lang-code|text=text}}

Lang-codes are available here: Wiki_Translation#OSM_Wiki_language_codes

Examples

  • Way may be translated in German as ''{{Lang|de|Weg}}''.
Way may be translated in German as Weg.
  • An example in Arabic: {{Lang|ar|اتمنى لك يوم جيد!}} (''Have a good day!'') which should display in the correct order.
An example in Arabic: اتمنى لك يوم جيد! (Have a good day!) which should display in the correct reading order.

See also