Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.m florea1 +XWiki.ThomasMortagne - Content
-
... ... @@ -1,26 +1,27 @@ 1 1 = Example = 2 + 2 2 == Code == 4 + 3 3 {{code}} 4 4 {{language codes='de, fr, it, lv, nl, ru, sv, zh'/}} 5 5 {{/code}} 6 6 7 7 == Result == 8 -{{language codes='de, fr, it, lv, nl, ru, sv, zh'/}} 9 9 10 - = Parameters11 +{{language codes="de, fr, it, lv, nl, ru, sv, zh"/}} 11 11 13 += Parameters = 14 + 12 12 |= Parameter name |= Description 13 13 | codes | indicates the code list for the language 14 14 15 15 Codes that can be used: 16 -{{velocity}} 17 -|= Code |= Flag |= Language name 19 +{{velocity}}|= Code |= Flag |= Language name 18 18 #foreach($attachment in $doc.attachmentList) 19 19 #set($locale = $attachment.filename.substring(0, $attachment.filename.indexOf('.')).replace('-', '_')) 20 20 | $locale | image:$attachment.filename | $!{languages.get($locale).get(0)} 21 -#end 22 -{{/velocity}} 23 +#end{{/velocity}} 23 23 24 24 == References == 25 - This macro uses [[http://www.famfamfam.com/lab/icons/flags/]] icons and the language names are based on [[http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt]].26 - XWikisupportedlanguages areinconcordancewithhttp://l10n.xwiki.org/xwiki/bin/view/L10N/Flags26 + 27 +This macro uses [[http://www.famfamfam.com/lab/icons/flags/]] icons and the language names are based on [[http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt]].