DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:translation2

This is an old revision of the document!


Translation2 plugin

Compatible with DokuWiki

rc2009-02-06, previous and newer

plugin Displays flags which link to different language versions of the page.

Last updated on
2009-02-12
Provides
Action
Requires
jquery

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to translation

Tagged with language

Information and Download

How to install

open main.php of your template (for ex lib/tpl/default/main.php) insert this line at the top of the script <PHP> plugin_load('action','translation2'); </PHP>

Problems

[xtian, 22 July 2009] When the translation for the browser language doesn't exist, the plugin shows the default language page (which is good) but clicking on the selected flag (the browser language flag is selected, not the default language flag) is uneffective, so a user can't add a page in the browser language (which should be what all translators do).

[ulco, 22 July 2009] It seems that this plugin doesn't work with the monobook template. As far as I can figure out the flags are linked to an entity which not exists in that template and therefore the flags don't show up.

[xtian, 23 July 2009] I confirm what ulco says: doesn't work in monobook. I modified action.php changing “bar__topleft” with “siteNotice P” and the flags now appear in the siteNotice. Not very elegant but quick :-\ See the outcome in my VilloNanny wiki

[V-12, 18 December 2009] This plugin works for sure on default template. I've tried to run it on others, like lilas, battlehorse and terre and I couldn't see any flags on the screen. Anyone can provide a list of templates on which ones this plugin works well? Or any ideas how to have it working on lilas for example?

Requests

Please implement an option like suggested for translation too “no pages in the top namespace and all languages in sub namespaces”, or please describe how to configure your plugin manually for that. Sincerely Rolf Hemmerling 2009-10-11 12:00

plugin/translation2.1274257206.txt.gz · Last modified: 2010-05-19 10:20 by 69.108.222.201

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki