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
Next revisionBoth sides next revision
localization [2016-02-08 04:02] – old revision restored (2015-10-29 14:57) spam 125.255.136.190localization [2018-08-28 07:34] – [Changing some localized texts and strings in your installation] ISO 639-1, right? Samana Johann
Line 29: Line 29:
 If a plugin is not translatable via the hub you can do it manually: If a plugin is not translatable via the hub you can do it manually:
  
-  * Copy the content of ''lib/plugins/<pluginname>/lang/en/'' to\\ ''lib/plugins/<pluginname>/lang/<ISO-code>/''+  * Copy the content of ''lib/plugins/<pluginname>/lang/en/'' to\\ ''lib/plugins/<pluginname>/lang/<ISO-lang-code>/''
   * Edit the contained ''.php'' and ''.txt'' files in a [[utf-8|UTF-8 capable]] text editor   * Edit the contained ''.php'' and ''.txt'' files in a [[utf-8|UTF-8 capable]] text editor
   * Zip up the new language folder and send it to the author for inclusion in future releases   * Zip up the new language folder and send it to the author for inclusion in future releases
Line 40: Line 40:
  
 You can change these texts by copying the ''<name>.txt'' files or copying some strings from ''lang.php'': You can change these texts by copying the ''<name>.txt'' files or copying some strings from ''lang.php'':
-  * from ''inc/lang/<ISO-code>/'' +  * from ''inc/lang/<[[https://www.loc.gov/standards/iso639-2/php/English_list.php|ISO 639-1]]-lang-code>/'' 
-  * to ''**conf/lang/**<ISO-code>/''+  * to ''**conf/lang/**<ISO-lang-code>/''
 and editing the copied content.  and editing the copied content. 
  
 You can do the same thing for plugins and templates by copying ''<name>.txt'' or some strings from ''lang.php'': You can do the same thing for plugins and templates by copying ''<name>.txt'' or some strings from ''lang.php'':
-  * from ''lib/plugins/<plugin>/lang/<ISO-code>/'' +  * from ''lib/plugins/<plugin>/lang/<ISO-lang-code>/'' 
-  * to ''**conf/plugin_lang/**<plugin>/<ISO-code>/''+  * to ''**conf/plugin_lang/**<plugin>/<ISO-lang-code>/''
  
-  * from ''lib/tpl/<template>/lang/<ISO-code>/'' +  * from ''lib/tpl/<template>/lang/<ISO-lang-code>/'' 
-  * to ''**conf/template_lang/**<template>/<ISO-code>/''+  * to ''**conf/template_lang/**<template>/<ISO-lang-code>/''
  
 :!: Copy only strings from ''lang.php'' which you will modify. The remains strings are read from the original file. :!: Copy only strings from ''lang.php'' which you will modify. The remains strings are read from the original file.
Line 95: Line 95:
   * [[plugin:translation|Translation Plugin]]   * [[plugin:translation|Translation Plugin]]
   * [[devel:localization|Development info about localization]]   * [[devel:localization|Development info about localization]]
-  * Directions for [[[[teams:i18n:consistenttranslations|consistent translations]]+  * Directions for [[teams:i18n:consistenttranslations|consistent translations]]
   * The [[teams:I18N]] Team (translation team)   * The [[teams:I18N]] Team (translation team)
localization.txt · Last modified: 2023-12-11 20:15 by oiv

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