Translating
This guide is about translating WackoWiki to another language.WackoWiki‘s userinterface can be configured to use any language by setting the appropriate option. Have a look in the
lang/
directory to see which languages are already available. To translate WackoWiki to your own language, copy the lang/en/
directory to a new one named after your two-letter ISO language code[link1].1. Supported Languages
# | Language tag | User Documentation | Localization | Locale | Maintainer |
---|---|---|---|---|---|
1 | bg | Български | ((!/bg )) | bg_BG.UTF-8 | |
2 | da | Danish | Danish[link2] | da_DK.UTF-8 | |
3 | de | Deutsch[link3] | Deutsch[link4] | de_DE.UTF-8 | WikiAdmin[link5] |
4 | el | Ελληνικά[link6] | Ελληνικά[link7] | el_GR.UTF-8 | Evaggelos Balaskas[link8] |
5 | en | English[link9] | English[link10] | en.UTF-8 | brianko[link11] |
6 | es | Español[link12] | Español | es_ES.UTF-8 | KlePy[link13] |
7 | et | Eesti | ((!/et )) | et_EE.UTF-8 | |
8 | fa | فارسی | ((!/fa )) | fa_IR.UTF-8 | |
9 | fr | Français[link14] | Français[link15] | fr_FR.UTF-8 | |
10 | hi | हिन्दी[link16] | ((!/hi )) | hi_IN.UTF-8 | |
11 | hu | Magyar[link17] | ((!/hu )) | hu_HU.UTF-8 | |
12 | it | Italiano[link18] | ((!/it )) | it_IT.UTF-8 | |
13 | ja | 日本語[link19] | ((!/ja )) | ja_JP.UTF-8 | |
14 | ko | 한국어[link20] | ((!/ko )) | ko_KR.UTF-8 | |
15 | nl | Nederlands[link21] | ((!/nl )) | nl_NL.UTF-8 | |
16 | pl | Polski[link22] | ((!/pl )) | pl_PL.UTF-8 | |
17 | pt | Português[link23] | ((!/pt )) | pt_PT.UTF-8 | |
18 | ru | Русский[link24] | ((!/ru )) | ru_RU.UTF-8 | Elar9000[link25] |
19 | ta | தமிழ் | தமிழ்[link26] | ta_IN.UTF-8 | தமிழ் நேரம் |
20 | zh | 简体中文[link27] | 简体中文[link28] | zh_CN.UTF-8 | qianmengnet[link29] |
21 | zh-tw | 正體中文[link30] | ((!/zh-tw )) | zh_TW.UTF-8 |
Important: Please note that we have not verified those translations. If you believe that a translation is false or misleading, please contact us[link31].
2. Message sets
WackoWiki supports thefi
and pt-br
language tag sub-code[link32] scheme in the language file name, only lower case characters are allowed. 2.1. Locations
Message sets can be found under the following locations:Repo: https://bitbucket.org/wackowiki/wackowiki/
wacko/[link33]
-
admin/lang/
-
js/lang/
-
lang/
-
setup/lang/
-
theme/yourtheme/lang/
2.2. To Localize
Please check your language files whether the following message sets have yet to be translated into your language or whether the wording can be improved.2.2.1. Main
lang/[link34]-
lang/wacko.en.php
- default language file- default language definition
'lang_scheme' => [ 'name' => 'English', 'code' => 'en', 'dir' => 'ltr', 'locale' => 'en_US.UTF-8', ],
- default language definition
2.2.2. Installer
setup/lang/[link35]
-
setup/lang/inserts.en.php
-
setup/lang/installer.en.php
– default language file
2.2.3. Admin panel
admin/lang/[link36]
-
admin/lang/ap.en.php
– default language file
2.2.4. JavaScript
js/lang/[link37]
-
js/lang/wikiedit.en.js
– default language file
2.2.5. Theme
theme/[link38]
-
theme/yourtheme/lang/
– default language file
3. Help to improve translation
Don't see your native language here? Is a translation incomplete or improper?
If your ability in English is sufficient to produce high-quality translations of English texts in a formal style, you can volunteer to translate WackoWiki.
Forum: Translation[link31]
- you want to start a new translation or continue an existing one and you want to avoid duplicating your work with someone else
- you're looking for other people who want to work with you on translating
- you're having technical questions about tools, the source tree, the meaning of terms, etc.
- Localizations[link39]
Send us your translations or corrections via E-Mail, Bugtracker, Pullreqest or add them at Crowdin.
3.1. Online Translation
Register and login at Crowdin[link40]
- translate
- proofread
If you'd like a new language to be added to Crowdin, for you to be able to provide translations for, please open a new issue here[link31].
4. Documentation
Core pages to translate
# | Page | Languages | Notes |
---|---|---|---|
1 | Features[link41] | de[link42], es[link43], fr[link44], ru[link45], zh[link46] | |
2 | Requirements[link47] | de[link48], es[link49], fr[link50], ru[link51], zh[link52] | |
3 | Installation[link53] | de[link54], es[link55], fr[link56], ru[link57], zh[link58] | |
4 | Upgrade[link59] | de[link60], es[link61], fr[link62], ru[link63], zh[link64] | |
5 | Configuration[link65] | de[link66], es[link67], fr[link68], ru[link69] | |
6 | Themes[link70] | de[link71], es[link72], fr[link73], ru[link74], zh[link75] | |
7 | Formatting[link76] | de[link77], es[link78], fr[link79], ru[link80], zh[link81] | |
8 | Actions[link82] | de[link83], es[link84], fr[link85], ru[link86], zh[link87] | |
9 | Access Control[link88] | de[link89], es[link90], fr[link91], ru[link92], zh[link93] | |
10 | Admin Panel[link94] | de[link95], es[link96], fr[link97], ru[link98], zh[link99] | |
11 | WikiConcept[link100] | de[link101], es[link102], ru[link103] | |
12 | Markup[link104] | de[link105], es[link106], ru[link107], zh[link108] | |
13 | Wabi-sabi[link109] | de[link110], es[link111], fr[link112], ru[link113], zh[link114] | |
14 | File Permissions[link115] | de[link116], es[link117], ru[link118], zh[link119] | |
15 | Localizations[link39] |
It is desirable to have all essential pages available at least in Chinese, German, English, French, Russian and Spanish.
5. Localize your action, handler or module
5.1. Action and Handler
lang/wacko.en.php'UserName' => 'User name',
usage
<?php echo $this->_t('UserName');
5.2. Template
pull in templates[ ' _t: UserName ' ]
5.3. Admin Panel
admin/lang/ap.en.php'BackupCompleted' => 'Backing up and archiving completed.<br>' . 'The Backup package files were stored in the sub-directory %1.<br>' . 'To download it use FTP (maintain the directory structure and file names when copying).<br>' . 'To restore a backup copy or remove a package, go to <a href="%2">Restore database</a>.',
usage
<?php echo Ut::perc_replace( $engine->_t('BackupCompleted'), '<code>' . $pack . '</code>', $engine->href('', '', ['mode' => 'db_restore']));
6. Tools
6.1. relang.php
- Relang[link120] - sync message sets in all language files based on default file (en)
6.2. Machine translation
- https://www.deepl.com/translator
- https://translate.google.com/
- https://translate.yandex.ru/
- https://www.bing.com/translator/
- https://mozilla.github.io/translate/ - On-device browser translations
- Firefox Addon
7. Suggestions
- Proposed Specifications For Languages Holding[link122]
- Language Links[link123]
- [link1] https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
- [link2] https://wackowiki.org/doc/Dev/Translations/da
- [link3] https://wackowiki.org/doc/Doc/Deutsch
- [link4] https://wackowiki.org/doc/Dev/Translations/de
- [link5] https://wackowiki.org/doc/Users?profile=WikiAdmin
- [link6] https://wackowiki.org/doc/Doc/Ελληνικά
- [link7] https://wackowiki.org/doc/Dev/Translations/el
- [link8] https://wackowiki.org/doc/Users?profile=EvaggelosBalaskas
- [link9] https://wackowiki.org/doc/Doc/English
- [link10] https://wackowiki.org/doc/Dev/Translations/en
- [link11] https://wackowiki.org/doc/Users?profile=brianko
- [link12] https://wackowiki.org/doc/Doc/Español
- [link13] https://wackowiki.org/doc/Users?profile=KlePy
- [link14] https://wackowiki.org/doc/Doc/Français
- [link15] https://wackowiki.org/doc/Dev/Translations/fr
- [link16] https://wackowiki.org/doc/Doc/हिन्दी
- [link17] https://wackowiki.org/doc/Doc/Magyar
- [link18] https://wackowiki.org/doc/Doc/Italiano
- [link19] https://wackowiki.org/doc/Doc/日本語
- [link20] https://wackowiki.org/doc/Doc/한국어
- [link21] https://wackowiki.org/doc/Doc/Nederlands
- [link22] https://wackowiki.org/doc/Doc/Polski
- [link23] https://wackowiki.org/doc/Doc/Português
- [link24] https://wackowiki.org/doc/Doc/Русский
- [link25] https://wackowiki.org/doc/Users?profile=Elar9000
- [link26] https://wackowiki.org/doc/Dev/Translations/ta
- [link27] https://wackowiki.org/doc/Doc/简体中文
- [link28] https://wackowiki.org/doc/Dev/Translations/zh
- [link29] https://wackowiki.org/doc/Users?profile=qianmengnet
- [link30] https://wackowiki.org/doc/Doc/正體中文
- [link31] https://wackowiki.org/doc/Forum/Development/Translation
- [link32] https://en.wikipedia.org/wiki/Language_localisation#Language_tags_and_codes
- [link33] https://bitbucket.org/wackowiki/wackowiki/src/master/src/
- [link34] https://bitbucket.org/wackowiki/wackowiki/src/master/src/lang/
- [link35] https://bitbucket.org/wackowiki/wackowiki/src/master/src/setup/lang/
- [link36] https://bitbucket.org/wackowiki/wackowiki/src/master/src/admin/lang/
- [link37] https://bitbucket.org/wackowiki/wackowiki/src/master/src/js/lang/
- [link38] https://bitbucket.org/wackowiki/wackowiki/src/master/src/theme/
- [link39] https://wackowiki.org/doc/Doc/English/Localizations
- [link40] https://crowdin.com/project/wackowiki
- [link41] https://wackowiki.org/doc/Doc/English/Features
- [link42] https://wackowiki.org/doc/Doc/Deutsch/Funktionen
- [link43] https://wackowiki.org/doc/Doc/Español/Características
- [link44] https://wackowiki.org/doc/Doc/Français/Fonctionnalités
- [link45] https://wackowiki.org/doc/Doc/Русский/Особенности
- [link46] https://wackowiki.org/doc/Doc/简体中文/软件特色
- [link47] https://wackowiki.org/doc/Doc/English/Requirements
- [link48] https://wackowiki.org/doc/Doc/Deutsch/Voraussetzungen
- [link49] https://wackowiki.org/doc/Doc/Español/Requisitos
- [link50] https://wackowiki.org/doc/Doc/Français/Prérequis
- [link51] https://wackowiki.org/doc/Doc/Русский/Требования
- [link52] https://wackowiki.org/doc/Doc/简体中文/系统要求
- [link53] https://wackowiki.org/doc/Doc/English/Installation
- [link54] https://wackowiki.org/doc/Doc/Deutsch/Installation
- [link55] https://wackowiki.org/doc/Doc/Español/Instalación
- [link56] https://wackowiki.org/doc/Doc/Français/Installation
- [link57] https://wackowiki.org/doc/Doc/Русский/Инсталляция
- [link58] https://wackowiki.org/doc/Doc/简体中文/安装指南
- [link59] https://wackowiki.org/doc/Doc/English/Upgrade
- [link60] https://wackowiki.org/doc/Doc/Deutsch/Upgrade
- [link61] https://wackowiki.org/doc/Doc/Español/Actualizar
- [link62] https://wackowiki.org/doc/Doc/Français/MiseAJour
- [link63] https://wackowiki.org/doc/Doc/Русский/Обновление
- [link64] https://wackowiki.org/doc/Doc/简体中文/升级
- [link65] https://wackowiki.org/doc/Doc/English/Configuration
- [link66] https://wackowiki.org/doc/Doc/Deutsch/Konfiguration
- [link67] https://wackowiki.org/doc/Doc/Español/Configuración
- [link68] https://wackowiki.org/doc/Doc/Français/Configuration
- [link69] https://wackowiki.org/doc/Doc/Русский/ФайлКонфигурации
- [link70] https://wackowiki.org/doc/Doc/English/Themes
- [link71] https://wackowiki.org/doc/Doc/Deutsch/Layouts
- [link72] https://wackowiki.org/doc/Doc/Español/Temas
- [link73] https://wackowiki.org/doc/Doc/Français/Themes
- [link74] https://wackowiki.org/doc/Doc/Русский/Темы
- [link75] https://wackowiki.org/doc/Doc/简体中文/主题
- [link76] https://wackowiki.org/doc/Doc/English/Formatting
- [link77] https://wackowiki.org/doc/Doc/Deutsch/Formatierung
- [link78] https://wackowiki.org/doc/Doc/Español/ReglasFormato
- [link79] https://wackowiki.org/doc/Doc/Français/MiseEnForme
- [link80] https://wackowiki.org/doc/Doc/Русский/WackoСинтаксис
- [link81] https://wackowiki.org/doc/Doc/简体中文/格式化
- [link82] https://wackowiki.org/doc/Doc/English/Actions
- [link83] https://wackowiki.org/doc/Doc/Deutsch/Aktionen
- [link84] https://wackowiki.org/doc/Doc/Español/Acciones
- [link85] https://wackowiki.org/doc/Doc/Français/Fonctions
- [link86] https://wackowiki.org/doc/Doc/Русский/Действия
- [link87] https://wackowiki.org/doc/Doc/简体中文/Actions组件
- [link88] https://wackowiki.org/doc/Doc/English/AccessControl
- [link89] https://wackowiki.org/doc/Doc/Deutsch/Zugriffssteuerung
- [link90] https://wackowiki.org/doc/Doc/Español/ControlAcceso
- [link91] https://wackowiki.org/doc/Doc/Français/GestionDesDroits
- [link92] https://wackowiki.org/doc/Doc/Русский/ПраваДоступа
- [link93] https://wackowiki.org/doc/Doc/简体中文/访问控制表
- [link94] https://wackowiki.org/doc/Doc/English/AdminPanel
- [link95] https://wackowiki.org/doc/Doc/Deutsch/AdminPanel
- [link96] https://wackowiki.org/doc/Doc/Español/AdminPanel
- [link97] https://wackowiki.org/doc/Doc/Français/AdminPanel
- [link98] https://wackowiki.org/doc/Doc/Русский/АдминПанель
- [link99] https://wackowiki.org/doc/Doc/简体中文/管理面板
- [link100] https://wackowiki.org/doc/Doc/English/WikiConcept
- [link101] https://wackowiki.org/doc/Doc/Deutsch/WikiKonzeption
- [link102] https://wackowiki.org/doc/Doc/Español/ConceptoWiki
- [link103] https://wackowiki.org/doc/Doc/Русский/WikiКонцепции
- [link104] https://wackowiki.org/doc/Doc/English/Markup
- [link105] https://wackowiki.org/doc/Doc/Deutsch/Markup
- [link106] https://wackowiki.org/doc/Doc/Español/Markup
- [link107] https://wackowiki.org/doc/Doc/Русский/Разметка
- [link108] https://wackowiki.org/doc/Doc/简体中文/Markup
- [link109] https://wackowiki.org/doc/Doc/English/WabiSabi
- [link110] https://wackowiki.org/doc/Doc/Deutsch/WabiSabi
- [link111] https://wackowiki.org/doc/Doc/Español/WabiSabi
- [link112] https://wackowiki.org/doc/Doc/Français/WabiSabi
- [link113] https://wackowiki.org/doc/Doc/Русский/ВабиCаби
- [link114] https://wackowiki.org/doc/Doc/简体中文/侘寂
- [link115] https://wackowiki.org/doc/Doc/English/FilePermissions
- [link116] https://wackowiki.org/doc/Doc/Deutsch/Dateiberechtigungen
- [link117] https://wackowiki.org/doc/Doc/Español/PermisosDeArchivos
- [link118] https://wackowiki.org/doc/Doc/Русский/ФайловыеРазрешения
- [link119] https://wackowiki.org/doc/Doc/简体中文/文件系统权限
- [link120] https://wackowiki.org/doc/Dev/Translations/Relang
- [link121] https://addons.mozilla.org/en-US/firefox/addon/dictcc-translation/
- [link122] https://wackowiki.org/doc/Users/DidierSpaier/ProposedSpecificationsForLanguagesHolding
- [link123] https://wackowiki.org/doc/Dev/NewFeatures/LanguageLinks