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 [2022-07-19 01:32] – [Installation] rgleasonplugin:translation [2024-05-01 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 : 2021-08-23+lastupdate : 2024-04-30
 compatible : Angua, Adora Belle, Hrun, Frusterick Manners, Greebo, Hogfather compatible : Angua, Adora Belle, Hrun, Frusterick Manners, Greebo, Hogfather
 depends    :  depends    : 
Line 50: Line 49:
 //Suggestion 2:// For the "dokuwiki"-template you can create ''sidebarheader.html'' within ''lib/tpl/dokuwiki'' with the code above. Then it looks like the "DokuWiki.org" Homepage and you need not redo this after a dokuwiki update. //Suggestion 2:// For the "dokuwiki"-template you can create ''sidebarheader.html'' within ''lib/tpl/dokuwiki'' with the code above. Then it looks like the "DokuWiki.org" Homepage and you need not redo this after a dokuwiki update.
  
-NOTE: Inserting this code into lib/tpl/bootstrap3/main.php   
-Note: I am not sure this plugin or Hogfather are compatible with Translation Plugin. See https://forum.dokuwiki.org/d/17909-translation-plugin-causing-error-500-after-upgrade-to-hogfather/4 https://forum.dokuwiki.org/d/20302-changing-two-files-made-dokuwiki-come-up-blank 
  
 ===== Configuration ===== ===== Configuration =====
Line 128: 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 134:
 | @TRANS@ | The currently used language. This variable will be empty, if your default language has no sub namespace. | en:start -> en, start -> <blank> | | @TRANS@ | The currently used language. This variable will be empty, if your default language has no sub namespace. | en:start -> en, start -> <blank> |
  
-===== Discussion ===== 
- 
-Please add %%~~TRANS~~%% syntax, because of page about [[.:imagebox]] and many other plugins here don't show this.  --- [[user>Dr-Yukon|Dr-Yukon]] //2018-05-13 02:39// 
- 
-Language pre-namespaces in ACL rules can't be replaced to * mask. So '''*:folder:* @user 8''' will not work --- [[user>Dr-Yukon|Dr-Yukon]] //2019-02-15 19:43// 
  
-The list of languages is found in lib/plugins/translation/lang/langnames.txt (which doe not exist). Just add this file, and add a line for each language: code name 
---- [[user>z3dev|Z3Dev]] //2020-11-27// 
plugin/translation.1658187162.txt.gz · Last modified: 2022-07-19 01:32 by rgleason

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