Difference between revisions of "Template:Lang date"
m (Unprotected "Template:Lang date") |
(fixes) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{lang<!-- |
// To translate, just copy and paste a language and replace it with your own language. Add it to the list in alphabetical order. | // To translate, just copy and paste a language and replace it with your own language. Add it to the list in alphabetical order. | ||
Line 270: | Line 270: | ||
| 12 = 十二月 | | 12 = 十二月 | ||
}} | }} | ||
− | + | | en = {{#switch:{{{1|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | en | ||
− | |||
| 1 = January | | 1 = January | ||
| 2 = February | | 2 = February | ||
Line 292: | Line 285: | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
− | {{translation switching| | + | {{translation switching|all languages except: ar}}{{doc begin}} |
== Usage == | == Usage == |
Revision as of 07:31, 12 January 2011
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Lang date/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: all languages except: ar (add) |
Documentation for Lang date
Usage
- Add the following code to the template (in alphabetical order)
- Replace xx with your language's code
- Replace the month names with translations
| xx = {{#switch:{{{1|}}} | 1 = January | 2 = February | 3 = March | 4 = April | 5 = May | 6 = June | 7 = July | 8 = August | 9 = September | 10 = October | 11 = November | 12 = December }}