Line | |
---|
1 | <p>Multilingual descriptions are placed between <code>[lang=xx]</code> and <code>[/lang]</code> tags, where xx is the language code (for example en, fr, es, ...).</p> |
---|
2 | |
---|
3 | <pre> |
---|
4 | [lang=en]Default description[/lang] |
---|
5 | [lang=fr]Description en français[/lang] |
---|
6 | [lang=de]Deutsche Beschreibung[/lang] |
---|
7 | </pre> |
---|
8 | |
---|
9 | <h4>Special language <i>default</i></h4> |
---|
10 | <p>The default description will be used if the description is not available in the connected user selected language.<br> |
---|
11 | If <code>[lang=default]</code> does not exists, anything outside the <code>[lang]</code> tags will be considered as the default description.</p> |
---|
12 | |
---|
13 | <pre> |
---|
14 | [lang=default]Default description[/lang] |
---|
15 | [lang=fr]Description en français[/lang] |
---|
16 | |
---|
17 | // OR |
---|
18 | |
---|
19 | Default description |
---|
20 | [lang=fr]Description en français[/lang] |
---|
21 | </pre> |
---|
22 | |
---|
23 | <h4>Special language <i>all</i></h4> |
---|
24 | <p>Anything inside <code>[lang=all]</code> will be included in the description, whatever the connected user defined language is.<br> |
---|
25 | This is mainly useful to include HTML/JavaScript code inside a description.</p> |
---|
26 | |
---|
27 | <pre> |
---|
28 | [lang=all]<p>[/lang] |
---|
29 | [lang=default]Default description[/lang] |
---|
30 | [lang=fr]Description en français[/lang] |
---|
31 | [lang=de]Deutsche Beschreibung[/lang] |
---|
32 | [lang=all]</p>[/lang] |
---|
33 | </pre> |
---|
Note: See
TracBrowser
for help on using the repository browser.