WackoWiki: Translating

https://wackowiki.org/doc     Version: 208 (02.07.2024 06:45)


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 the fi 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/

  1. admin/lang/
  2. js/lang/
  3. lang/
  4. setup/lang/
  5. 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

  1. lang/wacko.en.php - default language file
    • default language definition
      'lang_scheme'	=> [
      	'name'		=> 'English',
      	'code'		=> 'en',
      	'dir'		=> 'ltr',
      	'locale'	=> 'en_US.UTF-8',

2.2.2. Installer

  1. setup/lang/inserts.en.php
  2. setup/lang/installer.en.php – default language file

2.2.3. Admin panel

  1. admin/lang/ap.en.php – default language file

2.2.4. JavaScript

  1. js/lang/wikiedit.en.js – default language file

2.2.5. Theme

  1. theme/yourtheme/lang/ – default language file

3. Help to improve translation

Translate WackoWiki into your language.
WackoWiki translations progress at Crowdin

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]
  1. you want to start a new translation or continue an existing one and you want to avoid duplicating your work with someone else
  2. you're looking for other people who want to work with you on translating
  3. you're having technical questions about tools, the source tree, the meaning of terms, etc.

Send us your translations or corrections via E-Mail, Bugtracker, Pullreqest or add them at Crowdin.

3.1. Online Translation

translate a source string
Computer Assisted Translation

Register and login at Crowdin[link40]

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]

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

'UserName'	=> 'User name',	


5.2. Template

pull in templates
 [ ' _t: UserName ' ]	

5.3. Admin Panel

'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>.',	

	'<code>' . $pack . '</code>', 
	$engine->href('', '', ['mode' => 'db_restore']))	

6. Tools

6.1. relang.php

6.2. Machine translation

  1. https://www.deepl.com/translator
  2. https://translate.google.com/
  3. https://translate.yandex.ru/
  4. https://www.bing.com/translator/
  5. https://mozilla.github.io/translate/ - On-device browser translations
  6. Firefox Addon

7. Suggestions

  1. Proposed Specifications For Languages Holding[link122]
  2. Language Links[link123]