Template:Lang/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Lang. It contains usage information, categories and other content or metadata that is not part of the original template. |
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
- {{Dir}}