plugin:translation3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:translation3 [2010-12-06 13:39] – [Known bugs] 150.254.79.30 | plugin:translation3 [2023-10-30 23:32] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Translation3 | + | ====== Translation3 |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : scx.mail@gmail.com | email : scx.mail@gmail.com | ||
type : syntax, action | type : syntax, action | ||
- | lastupdate : 2010-11-05 | + | lastupdate : 2010-12-05 |
- | compatible : 2009-12-25 | + | compatible : Lemming |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : | + | tags : |
downloadurl: | downloadurl: | ||
- | bugtracker : # eg. http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
---- | ---- | ||
- | This is a fork of [[plugin:translation|translation | + | In December 2010 the extras added to this fork (based on features |
- | There are a few limitations: | ||
- | * separate namespaces are used to store translations | ||
- | * translated pages need to have the same [[: | ||
- | |||
- | See also [[# | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[: | + | Repositories: |
- | + | * [[https:// | |
- | URL: | + | |
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | ===== Installation ===== | ||
- | Similar to [[plugin|translation]] (version 2009-10-25) or [[plugin|multilingual]] (version 2009-02-11). | ||
- | * Download and install the plugin through the [[plugin: | ||
- | * Configure it through the [[plugin: | ||
- | * Add the following code in your template' | ||
- | <code php> | ||
- | <?php | ||
- | $translation_plugin = & | ||
- | if ( $translation_plugin ) { | ||
- | if ( !plugin_isdisabled($translation_plugin-> | ||
- | print $translation_plugin-> | ||
- | } | ||
- | } | ||
- | ?> | ||
- | </ | ||
- | |||
- | //Note:// add this piece of code not at the top or the bottom of '' | ||
- | |||
- | In default template it should be beetwen: | ||
- | <code php> | ||
- | <?php if($conf[' | ||
- | <div class=" | ||
- | <?php tpl_breadcrumbs()?> | ||
- | <?php // | ||
- | </ | ||
- | and | ||
- | <code php> | ||
- | </ | ||
- | <?php }?> | ||
- | |||
- | <?php if($conf[' | ||
- | <div class=" | ||
- | <?php tpl_youarehere() ?> | ||
- | </ | ||
- | <?php }?> | ||
- | </ | ||
- | |||
- | If you have several themes or skins installed you need to add this piece of code into each '' | ||
- | |||
- | ===== Configuration ===== | ||
- | You should use [[plugin: | ||
- | |||
- | <code php> | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | </ | ||
- | |||
- | See: [[# | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Menu: DropDown List|Menu: DropDown List]] | ||
- | * [[#Menu: DropDown List with Current Flag|Menu: DropDown List with Current Flag]] | ||
- | Screenshots related to '' | ||
- | * [[#Menu: Flags|Menu: Flags]] | ||
- | * [[#Menu: Flags with blank flag|Menu: Flags with blank flag]] | ||
- | * [[#Desc: description with link|Desc: description with link]] | ||
- | * [[#Desc: description without link|Desc: description without link]] | ||
- | * [[#Desc: only link right|Desc: only link right]] | ||
- | * [[#Menu: DropDown List with Current Flag|Menu: DropDown List with Current Flag]] | ||
- | Screenshots related to dropdown off and'' | ||
- | * [[#Menu: List|Menu: List]] | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Menu: Flags with blank flag|Menu: Flags with blank flag]] | ||
- | Screenshots related to '' | ||
- | * [[#Menu: Flags|Menu: Flags]] | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Desc: description with link|Desc: description with link]] | ||
- | * [[#Desc: description without link|Desc: description without link]] | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Desc: only link right|Desc: only link right]] | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Desc: description with link|Desc: description with link]] | ||
- | * [[#Desc: only link right|Desc: only link right]] | ||
- | |||
- | Screenshots related to '' | ||
- | * [[#Desc: description without link|Desc: description without link]] | ||
- | |||
- | See also [[plugin: | ||
===== Changes ===== | ===== Changes ===== | ||
* 2010-11-05: 1.0 First public version. | * 2010-11-05: 1.0 First public version. | ||
- | * 2010-12-05: 1.1 +[[#Menu: DropDown List with Current Flag|Menu: DropDown List with Current Flag]]; Change repo to github | + | * 2010-12-05: 1.1 +Menu: DropDown List with Current Flag; Change repo to github |
+ | * 2010-12-10: Merge this fork back in to Translation Plugin. | ||
+ | |||
+ | Development halted. [[Translation]] Plugin is recommended. | ||
===== Screenshots ==== | ===== Screenshots ==== | ||
- | [[plugin: | ||
- | ==== Config ==== | + | See [[plugin:translation3: |
- | {{http:// | + | * Dropdown list |
+ | * Horizontal list | ||
+ | * Switcher using Flags icons | ||
+ | * Adding description above switcher | ||
+ | * Adding an explanation link to that description | ||
- | ==== Menu ==== | + | These features are integrated todays into [[Translation]] Plugin. |
- | === Menu: DropDown List === | + | |
- | {{http:// | + | See also [[plugin:translation# |
- | + | ||
- | === Menu: DropDown List with Current Flag === | + | |
- | {{http:// | + | |
- | + | ||
- | === Menu: List === | + | |
- | {{http:// | + | |
- | + | ||
- | === Menu: Flags === | + | |
- | {{http:// | + | |
- | + | ||
- | === Menu: Flags with blank flag === | + | |
- | {{http:// | + | |
- | + | ||
- | ==== Desc ==== | + | |
- | + | ||
- | === Desc: description with link === | + | |
- | + | ||
- | {{http:// | + | |
- | + | ||
- | === Desc: description without link === | + | |
- | + | ||
- | {{http:// | + | |
- | + | ||
- | === Desc: only link right === | + | |
- | {{http:// | ||
===== Advantages ===== | ===== Advantages ===== | ||
Advantages over the: | Advantages over the: | ||
- | * [[plugin|translation]] | + | * [[plugin:translation]] |
- | * support for flags (similar to [[plugin|multilingual]], | + | * support for flags (similar to [[plugin:multilingual]], |
* support for local about translation page (and global) | * support for local about translation page (and global) | ||
* show/hide link to about translation page | * show/hide link to about translation page | ||
Line 184: | Line 61: | ||
* improved CSS styles | * improved CSS styles | ||
- | * [[plugin|multilingual]] | + | * [[plugin:multilingual]] |
* good work with redirections | * good work with redirections | ||
* support for change wiki ui language (language of the user interface may be switched in foreign language namespaces) | * support for change wiki ui language (language of the user interface may be switched in foreign language namespaces) | ||
Line 190: | Line 67: | ||
* faster rendering flags (not use '' | * faster rendering flags (not use '' | ||
* support for non-ISO languages in flag mode (text or blank flag image) | * support for non-ISO languages in flag mode (text or blank flag image) | ||
- | * support for selected or all namespaces (like [[plugin|translation]]) | + | * support for selected or all namespaces (like [[plugin:translation]]) |
* support for local and global about translation page | * support for local and global about translation page | ||
* support for link to about translation page | * support for link to about translation page | ||
Line 197: | Line 74: | ||
===== Comparison of translation plugins ==== | ===== Comparison of translation plugins ==== | ||
- | ^ Plugin | + | Not up to date anymore. e.g. Translation3 is merged into Translation. Date: end 2010 |
- | ^ Author | + | |
- | ^ First version | + | ^ Plugin ^ [[plugin: |
- | ^ Last updated | + | ^ Author |Daniel Stonier | Andreas Gohr | Markus Birth | Tomasz Tomasik | |
- | ^ Compatibility | + | ^ First version | 2009-02-11 | 2007-06-04 | 2009-02-12 | 2010-11-05 | |
- | ^ Demo | | [[http:// | + | ^ Last updated | 2009-02-11 | 2010-07-18 | 2009-02-12 | 2010-12-05 | |
- | ^ Position in template | + | ^ Compatibility | DW 2008-05-05 | DW 2009-12-25 | DW 2009-12-25 -/+ | DW 2009-12-25 | |
- | ^ Popularity | 3/10128 | 24/10128 | 340/10128 | 19/10128 | 0/10128 | | + | ^ Demo | [[http:// |
- | ^ Global translation | + | ^ Position in template | '' |
- | ^ Local translation | + | ^ Popularity | 3 24/10128 | 340/10128 | 19/10128 | 0/10128 | |
- | ^ Allow limited namespaces | | | Yes ('' | + | ^ Global translation | Yes | Yes | Yes | Yes | |
- | ^ Exceptions (config) | + | ^ Local translation | No | No | No | No | |
- | ^ Exceptions (page) | + | ^ Allow limited namespaces | | Yes ('' |
- | ^ Warn about outdated translations | + | ^ Exceptions (config) | Yes ('' |
- | ^ Language integration | + | ^ Exceptions (page) | | < |
- | ^ Change wiki ui lang | | Not work :?: ('' | + | ^ Warn about outdated translations | No | Yes ('' |
- | ^ Start page redirection | + | ^ Language integration |
- | ^ Menu | + | ^ Change wiki ui lang | Not work :?: ('' |
- | ^ List | | Yes ('' | + | ^ Start page redirection | Buggy | Yes ('' |
- | ^ DropDown List | | No | Yes ('' | + | ^ Menu ^^^^^ |
- | ^ DropDown List with Flag | | No | No | | Yes ('' | + | ^ List | Yes ('' |
- | ^ Flags | | Yes ('' | + | ^ DropDown List | No | Yes ('' |
- | ^ Blank flag | | Not work | | | Yes ('' | + | ^ DropDown List with Flag | No | No | | Yes ('' |
- | ^ __About translation__ page(s) and description | + | ^ Flags | Yes ('' |
- | ^ __About translation__ page | - | Not work :?: ('' | + | ^ Blank flag | Not work | | | Yes ('' |
- | ^ Global __about translation__ page | - | | Yes | | Yes | | + | ^ __About translation__ page(s) and description |
- | ^ Multilang __about translation__ pages | - | | No | | Yes ('' | + | ^ __About translation__ page | Not work :?: ('' |
- | ^ Show/hide link to __about__ page | - | | Always show | | Yes ('' | + | ^ Global __about translation__ page | | Yes | | Yes | |
- | ^ Show/hide description | + | ^ Multilang __about translation__ pages | | No | | Yes ('' |
+ | ^ Show/hide link to __about__ page | | Always show | | Yes ('' | ||
+ | ^ Show/hide description | ||
Notes: | Notes: | ||
- | * [[plugin: | + | * [[plugin: |
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
- | * [[plugin: | + | * [[plugin: |
- | ===== See also ===== | + | |
- | * [[plugin|translation]] | + | |
- | * [[plugin|multilingual]] | + | |
- | ===== Known bugs ===== | ||
- | I didn't change original author (see [[plugin: | ||
- | I think it should be merged with original plugin. | ||
- | > *sigh* was it really necessary to have yet another for of the same plugin? why not send patches, or better fork at github and send pull requests? | ||
- | >> +1 --- [[user> | ||
- | >>> | ||
+ | ===== Known bugs ===== | ||
It isn't possible to install/use both [[plugin: | It isn't possible to install/use both [[plugin: | ||
- | |||
- | ===== Requests/ | ||
- | Section for [[plugin: |
plugin/translation3.1291639171.txt.gz · Last modified: 2010-12-06 13:39 by 150.254.79.30