DokuWiki

It's better when it's simple

User Tools

Site Tools


localization

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
localization [2021-03-07 23:50] – Howto a new language Klap-inlocalization [2023-12-11 20:15] (current) – old revision restored (2023-09-24 01:09) oiv
Line 19: Line 19:
  
 ==== Howto add a new language ==== ==== Howto add a new language ====
-To prevent spam, https://translate.dokuwiki.org/ only has languages which exist in the source code DokuWiki. To initiate a new language you can send a pull request with some translated lines or if you do not program you can open an issue in our Bug tracker. See ... for the desired language code format. When accepted the language becomes available for easier translation via the translation tool.+To prevent spam, https://translate.dokuwiki.org/ only has languages which exist in the source code DokuWiki. To initiate a new language you can send a pull request with some translated lines or if you do not program you can open an issue in our Bug tracker. Please use ISO 639-1 (2-letter) and ISO 639-3 (3-letter) language code format, see... When accepted the language becomes available for easier translation via the translation tool.
  
 ==== Directions for consistent translations ==== ==== Directions for consistent translations ====
Line 29: Line 29:
 ==== Plugins ==== ==== Plugins ====
  
-Plugin authors can register their plugin at the [[https://translate.dokuwiki.org/|DokuWiki Localization Hub]] where you can easily help to translate the plugin.+Plugin authors can register their plugin at [[https://translate.dokuwiki.org/]] where you can easily help to translate the plugin.
  
-If a plugin is not translatable via the hub you can do it manually:+If a plugin is not translatable via the translation tool you can do it manually:
  
   * Copy the content of ''lib/plugins/<pluginname>/lang/en/'' to\\ ''lib/plugins/<pluginname>/lang/<ISO-lang-code>/''   * Copy the content of ''lib/plugins/<pluginname>/lang/en/'' to\\ ''lib/plugins/<pluginname>/lang/<ISO-lang-code>/''
Line 57: Line 57:
 Copy only strings from ''lang.php'' which you will modify. The remaining strings are read from the original file. Copy only strings from ''lang.php'' which you will modify. The remaining strings are read from the original file.
  
-Translating txt-files is possible since "Rincewind" 2011-04-22. Translating some strings from ''lang.php'' since Release 2014-09-29 "Hrun". 
  
 === Example === === Example ===
localization.1615157405.txt.gz · Last modified: 2021-03-07 23:50 by Klap-in

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