localization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
localization [2013-03-28 23:13] – [Changing localized texts in your installation] layouting Klap-in | localization [2020-11-22 06:59] – old revision restored (2019-07-14 14:53) Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Localizing DokuWiki (the engine) ====== | + | ====== Localizing DokuWiki (the Software) ====== |
[[DokuWiki]]' | [[DokuWiki]]' | ||
- | A list of available interface translations is available at the [[http:// | + | You can help translating DokuWiki to your language by visiting |
- | To translate | + | ===== Localizing |
- | Some easy to fix translation bugs are shown after running a few [[teams: | + | Most of DokuWiki and its plugins and templates only provide localization for English and some other languages. |
+ | We encourage you to translate them into your native language. | ||
- | If you did a translation | + | Important things to keep in mind when translating: |
+ | * Please try to **complete your countries main official language** before starting another dialect. | ||
+ | * If you do major translation | ||
+ | * In some languages words and sentences tend to get longer than the original English words. Keep in mind that **your translation needs to work on any screen size** | ||
+ | * When translating technical descriptions of external origin like the API's delivered by Github, | ||
+ | * As DokuWiki wants to be **standards-compliant**, | ||
+ | * Always **keep the format strings intact**, i.e. identical. Strings like these ''< | ||
- | Translators should join the [[mailinglist# | + | ==== Directions for consistent translations ==== |
+ | At the [[teams: | ||
+ | * some preferred translations for regularly used words | ||
+ | * and how to handle placeholder order in non-english | ||
- | ===== Localizing the plugins ===== | + | ==== Plugins |
- | Most of the plugins only provide localizations for English and one other language. If you would like to contribute missing localizations in any language, feel free to do it. It doesn' | + | Plugin authors can register their plugin at the [[http:// |
- | The following short How-to describes how you can create the needed files and where to save them. | + | If a plugin is not translatable via the hub you can do it manually: |
- | * Copy the content of "lib/ | + | * Copy the content of '' |
- | * You will find the ISO-code of well-known languages at http:// | + | * Edit the contained '' |
- | * The are several ways to provide your translation | + | * Zip up the new language folder and send it to the author |
- | | + | |
- | - Insert your translation content to the appropriate plugin page (create a section " | + | |
- | - Contact | + | |
- | - Send an e-mail to the i18n Mailinglist | + | |
For any further questions or general help you could send a mail to the [[mailinglist# | For any further questions or general help you could send a mail to the [[mailinglist# | ||
- | ===== Changing localized texts in your installation ===== | + | ===== Changing |
- | Available | + | There are many localized texts in DokuWiki like emails that are sent on registration, |
+ | |||
+ | You can change these texts by copying the ''< | ||
+ | * from '' | ||
+ | * to '' | ||
+ | and editing the copied content. | ||
+ | |||
+ | You can do the same thing for plugins and templates by copying ''< | ||
+ | * from '' | ||
+ | * to '' | ||
+ | |||
+ | * from '' | ||
+ | * to '' | ||
+ | |||
+ | Copy only strings from '' | ||
+ | |||
+ | Translating txt-files is possible | ||
+ | |||
+ | ===Example=== | ||
+ | Example of an English '' | ||
+ | <code php conf/ | ||
+ | <?php | ||
+ | /** | ||
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | |||
+ | $lang[' | ||
+ | |||
+ | </ | ||
- | There are many localized texts in DokuWiki like emails that are sent on registration, | ||
- | * '' | ||
- | and editing the copied file. This way your changes aren't overwritten on upgrades. You can do the same thing for plugins (e.g. the help text for permissions in the ACL editor) by copying the files from '' | ||
- | :!: This method cannot be used for '' | ||
====== Translating DokuWiki.org (the documentation) ====== | ====== Translating DokuWiki.org (the documentation) ====== | ||
- | Translating the DokuWiki documentation here at dokuwiki.org is encouraged. Translated pages are to be named like their English counterparts and stored in a separate namespace based on their ISO code. To make this easier the [[plugin: | + | Translating the DokuWiki documentation here at dokuwiki.org is encouraged. Translated pages are to be named like their English counterparts and stored in a separate namespace based on their ISO code. To make this easier the [[plugin: |
Only languages manually configured by the administrator are shown in the selector. If you want to add translations for a language currently not shown, just manually create the pages in the appropriate language subnamespace and send a mail to the [[mailinglist# | Only languages manually configured by the administrator are shown in the selector. If you want to add translations for a language currently not shown, just manually create the pages in the appropriate language subnamespace and send a mail to the [[mailinglist# | ||
Line 63: | Line 94: | ||
* [[Romanization]] | * [[Romanization]] | ||
* [[plugin: | * [[plugin: | ||
+ | * [[devel: | ||
+ | * Directions for [[teams: | ||
+ | * The [[teams: |
localization.txt · Last modified: 2023-12-11 20:15 by oiv