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-10-02 16:34] – [Discussion] 90.113.198.167plugin:translation [2023-12-14 23:50] (current) – version upped andi
Line 5: Line 5:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax, action type       : syntax, action
-lastupdate : 2021-08-23+lastupdate : 2023-12-14
 compatible : Angua, Adora Belle, Hrun, Frusterick Manners, Greebo, Hogfather compatible : Angua, Adora Belle, Hrun, Frusterick Manners, Greebo, Hogfather
 depends    :  depends    : 
Line 125: 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 136: 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 ===== 
- 
-How to set default language for visitor if there is not translate ? // 
-because it is not open /en/start or /fr/start but just /start if i set my browser as unknow lang. 
- 
- 
-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.1664721291.txt.gz · Last modified: 2022-10-02 16:34 by 90.113.198.167

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