- Timestamp:
- Aug 2, 2014, 4:33:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ExtendedDescription/language/en_UK/help.lang.html
r29129 r29147 1 <p>Multilingual descriptions are placed between [lang=xx] and [/lang] tags, where xx is the language code (for example en, es, fr). There are also 2 special languages : [lang=default] and [lang=all]</p> 1 <p>Multilingual descriptions are placed between <code>[lang=xx]</code> and <code>[/lang]</code> tags, 2 where xx is the language code (for example en, es, fr).</p> 2 3 3 <p>The default description will be used if the description is not available in the connected user selected language. 4 If [lang=default] does not exists, anything outside the [lang] tags will be considered as the default description.</p> 4 <pre> 5 [lang=en]Default description[/lang] 6 [lang=fr]Description en français[/lang] 7 [lang=de]Deutsche Beschreibung[/lang] 8 </pre> 5 9 6 <p><u>Special language <i>all</i></u>: anything inside [lang=all] will be included in the description, whatever the connected user defined language is. 10 <h4>Special language <i>default</i></h4> 11 <p>The default description will be used if the description is not available in the connected user selected language.<br> 12 If <code>[lang=default]</code> does not exists, anything outside the <code>[lang]</code> tags will be considered as the default description.</p> 13 14 <pre> 15 [lang=default]Default description[/lang] 16 [lang=fr]Description en français[/lang] 17 18 // OR 19 20 Default description 21 [lang=fr]Description en français[/lang] 22 </pre> 23 24 <h4>Special language <i>all</i></h4> 25 <p>Anything inside <code>[lang=all]</code> will be included in the description, whatever the connected user defined language is.<br> 7 26 This is mainly useful to include HTML/JavaScript code inside a description.</p> 8 27 9 <p><b>Example</b>:<br> 10 <code>[lang=default] default description [/lang]<br> 11 [lang=en] description in english [/lang]<br> 12 [lang=de] deutsche Beschreibung [/lang]</code> 13 </p> 28 <pre> 29 [lang=all]<p>[/lang] 30 [lang=default]Default description[/lang] 31 [lang=fr]Description en français[/lang] 32 [lang=de]Deutsche Beschreibung[/lang] 33 [lang=all]</p>[/lang] 34 </pre>
Note: See TracChangeset
for help on using the changeset viewer.