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
(changed= '| forwardTranslation = ') |
(Extended Usage Description) |
||
| Line 3: | Line 3: | ||
<!-- Please add a new language solely here!!! --> | <!-- Please add a new language solely here!!! --> | ||
<!----------------------------------------------------------------------------> | <!----------------------------------------------------------------------------> | ||
| + | ==='''Usage:''' === | ||
This File contains all the text that is used by OWASP Top 10 Templates<br/> | This File contains all the text that is used by OWASP Top 10 Templates<br/> | ||
| − | Please add a new language solely here!!! | + | Please leave a message to {{Template:Contact | name = Torsten Gigler | email [email protected] | username = T.Gigler}} |
| + | if you liked to add a new localization<br> | ||
| + | <!--- Please add a new language solely here!!! --> | ||
If you use an undefined language you will get English output (default language).<br/> | If you use an undefined language you will get English output (default language).<br/> | ||
| + | <br/> | ||
| + | <nowiki>{{Top_10:LanguageFile</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> |year=<year> <!-- opinal for some texts --></nowiki><br/> | ||
| + | <nowiki>}}</nowiki><br/><br/> | ||
| + | ====Example:==== | ||
| + | <nowiki>{{Top_10:LanguageFile|text=tableOfContents|language=de}} =></nowiki> {{Top_10:LanguageFile|text=tableOfContents|language=de}} | ||
| + | ---- | ||
| + | ==='''Healthcheck'''=== | ||
| + | tbd.<br/> | ||
| + | In the meantime, check: | ||
| + | * [[Top_10_2013-Table_of_Contents | English Top 10 Wiki]] | ||
| + | * [[Germany/Projekte/Top_10-2013-Inhaltsverzeichnis | German Top 10 Wiki]] | ||
| + | ---- | ||
If you use an unknown parameter you will get the following Error message in your wiki page:<br/> | If you use an unknown parameter you will get the following Error message in your wiki page:<br/> | ||
| + | <!--- Please add a new language solely here!!! --> | ||
<onlyinclude>{{#switch: {{{language}}} | <onlyinclude>{{#switch: {{{language}}} | ||
| de = <!-- German --> | | de = <!-- German --> | ||
Revision as of 10:26, 16 June 2013
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> <!-- opinal for some texts -->
}}
Example:
{{Top_10:LanguageFile|text=tableOfContents|language=de}} => Inhaltsverzeichnis
Healthcheck
tbd.
In the meantime, 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)