Template:Translate/doc: Difference between revisionsGive feedback
m how to help translate |
mNo edit summary |
||
| Line 23: | Line 23: | ||
=Example= | =Example= | ||
Without providing lang_override, the language will be detected based on the subpage the user is on, i.e. /Abrams/es will be detected as a spanish page. | |||
<pre style="width: fit-content">{{Translate|Patch notes}}</pre> | <pre style="width: fit-content">{{Translate|Patch notes}}</pre> | ||
| Line 35: | Line 36: | ||
{{Translate|Patch notes|ru}} | {{Translate|Patch notes|ru}} | ||
If translation to that language does not yet exist, it will default to the english translation, and add <code><nowiki>{{NeedsTranslation}}</nowiki></code> at the end. | |||
<pre style="width: fit-content">{{Translate|Patch notes|zh}}</pre> | |||
Outputs | |||
{{Translate|Patch notes|zh}} | |||
=Parameters= | =Parameters= | ||