]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2F_WikiTranslationPlugin
function _PageList_Column* are not private
[SourceForge/phpwiki.git] / pgsrc / Help%2F_WikiTranslationPlugin
1 Date: Fri,  7 Dec 2012 14:58:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2F_WikiTranslationPlugin;
5   flags=PAGE_LOCKED;
6   markup=2;
7   charset=UTF-8
8 Content-Transfer-Encoding: binary
9
10 Display pagenames and other internal strings in various languages.
11
12 Can also be used to let a favorite translation service translate a whole page.
13 Current favorite: translate.google.com if from_lang = en or fr
14
15 == Usage ==
16 {{{
17   <<_WikiTranslation languages=de,en,sv string="" page=""
18                             what=pages from_lang=0 nolinks=0 noT=0 debug=0
19  >>
20 }}}
21
22 == Arguments ==
23
24 All [[Help:PageList|PageList]] arguments, plus the following ones:
25
26 languages:
27   comma delimited string of de,en,sv,...
28 string:
29   string defined in a <lang>.po file to be translated
30 page:
31   A whole page to translate by the currently defined external translation service.
32 what:
33   One of pages, buttons, plugins or wikiwords
34 match:
35   Filter. Default: *
36 from_lang:
37   Override the current lang.
38 nolinks:
39   Do not display any links (for development only)
40 noT:
41   Do not display the T link (for development only)
42
43 == Example ==
44
45 {{{
46   <<_WikiTranslation page=HomePage languages=fr>>
47      Translation service for HomePage into french (redirect to translate.google.com)
48   <<_WikiTranslation what=pages>>
49      Translation matrix of all pages with proper translations (all in pgsrc)
50   <<_WikiTranslation what=wikiwords match="W*" limit=20>>
51      Translation matrix of the first 20 wikiwords matching "W*"
52   <<_WikiTranslation string=HomePage languages=fr,de,sv>>
53      Translation matrix for all given languages
54   <<_WikiTranslation string=HomePage>>
55      Translation matrix for all supported languages
56   <<_WikiTranslation string=HomePage languages=fr>>
57      Just return the translated string for this language.
58 }}}
59
60 == Author ==
61 * [[Help:Reini Urban|Reini Urban]]
62
63 == See Also ==
64
65 <noinclude>
66 ----
67 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
68 </noinclude>