DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:translation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:translation [2018-04-23 00:13] – [Discussion] Dr-Yukonplugin:translation [2023-12-14 23:50] (current) – version upped andi
Line 1: Line 1:
 ====== Translation Plugin ====== ====== Translation Plugin ======
- 
 ---- plugin ---- ---- plugin ----
 description: Help with translation efforts in a multilingual wiki description: Help with translation efforts in a multilingual wiki
Line 6: Line 5:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax, action type       : syntax, action
-lastupdate : 2017-06-13 +lastupdate : 2023-12-14 
-compatible : Angua, Adora Belle, Hrun, Frusterick Manners+compatible : Angua, Adora Belle, Hrun, Frusterick Manners, Greebo, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : language+tags       : language, translation
  
 downloadurl: https://github.com/splitbrain/dokuwiki-plugin-translation/zipball/master downloadurl: https://github.com/splitbrain/dokuwiki-plugin-translation/zipball/master
Line 26: Line 25:
 ===== Download ===== ===== Download =====
  
-Use the download link given above to download the file manually or through the plugin manager. +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
 ==== Changes ==== ==== Changes ====
  
Line 34: Line 32:
 ===== Installation ===== ===== Installation =====
  
-  - Download and install the plugin through the [[plugin:Plugin]] Manager.+  - Search and install the plugin using the [[plugin:Extension]] Manager.
   - Configure it through the [[plugin:config|Config Manager]]   - Configure it through the [[plugin:config|Config Manager]]
   - Add the following code in your template's ''main.php'' in the directory ''lib/tpl/<yourTemplate>/'' (or put it in a ''lib/tpl/default/pageheader.html'' file for the old default template)   - Add the following code in your template's ''main.php'' in the directory ''lib/tpl/<yourTemplate>/'' (or put it in a ''lib/tpl/default/pageheader.html'' file for the old default template)
Line 59: Line 57:
   - no pages in the top namespace and all languages in sub namespaces   - no pages in the top namespace and all languages in sub namespaces
  
-Here at dokuwiki.org the first method is used. Certain features OTOH will only work with second method.+Here at dokuwiki.org the first method is used. Certain features OTOH will only work with the second method.
  
 There are several config options, all accessible through the config manager. There are several config options, all accessible through the config manager.
Line 127: Line 125:
 I added support for flags because of the high demand for it but I strongly advise against using it. If you do, remember that your choice of flags will most probably annoy one group of your users, regardless what you chose. I added support for flags because of the high demand for it but I strongly advise against using it. If you do, remember that your choice of flags will most probably annoy one group of your users, regardless what you chose.
  
-Please note that flag support isn't 100% working when using the ''dropdown'' option in all Browsers. +New flags can be placed in SVG format in the ''flags'' directory of the plugin and need to be named after the language ISO code. 
- +
-New flags can be placed in the ''flags'' directory of the plugin and need to be named after the ISO code. Only .gif is supported currently.+
  
 ===== Namespace template variables ===== ===== Namespace template variables =====
Line 139: Line 135:
  
  
-===== Discussion ===== 
- 
-==== How can I use correct userewrite? ==== 
- 
-I use userewrite=1, but this plugin put ''start?id='' in URI, and it's dusgusting for perfectionists and does not matter that URI is corrected on the next click. How can I fix it? 
-==== Old translation warning based on ACL ==== 
-I use translation for a public website, and would like a means to only show old translations only to registered users: As I also use the publish plugin, the translation page shows the "old translation" warning if there is a draft of the original. 
- 
-I am using an ugly hack now, which works, but would very much welcome a proper and maintainable implementation in the future. 
- 
-==== Loading language selector ==== 
- 
-Would be great if the language selector could be loaded without modifying the template (and losing the changes with the next update and then trying hard to remember where you added it the last time). Don't know if there's a hook for that in the default template, but would definitely be helpful. Thanks! 
plugin/translation.1524435180.txt.gz · Last modified: 2018-04-23 00:13 by Dr-Yukon

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