This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "Template:Top 10:LanguageFile"
From OWASP
m (typo) |
m (Typo) |
||
| Line 13: | Line 13: | ||
:<nowiki> |text=<parameter> <!-- take one of the defined parmeters, e.g. tableOfContents --></nowiki><br/> | :<nowiki> |text=<parameter> <!-- take one of the defined parmeters, e.g. tableOfContents --></nowiki><br/> | ||
:<nowiki> |language=<your language> <!-- actually only English (=en) and German (=de) are valid parameters) --></nowiki><br/> | :<nowiki> |language=<your language> <!-- actually only English (=en) and German (=de) are valid parameters) --></nowiki><br/> | ||
| − | :<nowiki> |year=<year> <!-- | + | :<nowiki> |year=<year> <!-- optional for some texts --></nowiki><br/> |
<nowiki>}}</nowiki><br/><br/> | <nowiki>}}</nowiki><br/><br/> | ||
====Example:==== | ====Example:==== | ||
Revision as of 18:59, 28 July 2015
Usage:
This File contains all the text that is used by OWASP Top 10 Templates
Please leave a message to Torsten Gigler @
if you liked to add a new localization
If you use an undefined language you will get English output (default language).
{{Top_10:LanguageFile
- |text=<parameter> <!-- take one of the defined parmeters, e.g. tableOfContents -->
- |language=<your language> <!-- actually only English (=en) and German (=de) are valid parameters) -->
- |year=<year> <!-- optional for some texts -->
}}
Example:
{{Top_10:LanguageFile|text=tableOfContents|language=de}} => Inhaltsverzeichnis
Healthcheck
tbd.
In the meantime, please check:
If you use an unknown parameter you will get the following Error message in your wiki page:
ERROR in the 'Language File' (Use of an unknown Object)