Localizations of WackoWiki
Also available in Deutsch[link1], Español[link2], Française[link3], Русский[link4], 简体中文[link5]Good news for you using WackoWiki is that it supports as many language schemes[link6] as you dare to create. More than 20 languages are already supported. Wacko allows for a complete translation of the interface into any number of languages. Switching between languages is done in the user settings.
1. Create your own language scheme
WackoWiki language files are separated from code and stored in the lang/ sub-folder. If you untar/unzip installation pack[link7], you will find them. In that folder you`ll find wacko.en.php, wacko.ru.php and some more files for other languages.
-
lang/wacko.en.php
If you want to create your own language scheme, e.g. for Finnish, you need to do the next three simple actions:
- Copy one of the existing schemes (that one you most familiar with) to a new file (wacko.fi.php for Finnish)
- Open your newly created file and edit it, changing the translation values after "
=>
" according to the target language (this takes the time). - Adapt the array (wacko.fi.php for Finnish) for you language scheme
'lang_scheme' => [ 'name' => 'Finnish', 'code' => 'fi', 'dir' => 'ltr', 'locale' => 'fi_FI.UTF-8', ],
When finished point 3, your language scheme is complete & it will automatically appear in your user settings as a choice for language.
If you want to use your language scheme as default in your Wacko installation, simply change the
language
parameter in your configuration[link8] via the Admin panel[link9].Note that if you want to have installer of WackoWiki works with your language, you also need to translate:
-
setup/lang/inserts.en.php
-
setup/lang/installer.en.php
Admin panel
-
admin/ap.en.php
WikiEdit
-
js/lang/wikiedit.en.js
If you are done creating scheme for a new language, not yet supported by WackoWiki, it would be great & honorous to send us[link10] your language file (wacko.fi.php according to the example above), so we could add one more language into installation pack[link7] and make WackoWiki one step more international. Thanks in advance.
The easiest way to create a new language scheme is to copy an existing (see Repository[link11]) one and edit it.
2. Contribute to WackoWiki translation at Crowdin.
Help to translate WackoWiki for other community members. We need your help to translate WackoWiki into different languages. We have set up a repository at crowdin.com/project/wackowiki[link12], where users can contribute translations.3. Custom message sets' translations
You can add custom message sets for your own scripts under
lang/custom.<lang>.php
The user must create these files themselves, e.g.
custom.de.php
using $custom_translation = [];
<?php $custom_translation = [ // my coffee action 'BuyMilk' => 'Milch kaufen', 'MakeCoffee' => 'Kaffee machen', 'AddSugar' => 'Zucker hinzufügen', ]
This way, the user's own message sets are not accidentally overwritten by updates.
Referring pages:
- Dev/Guidelines/ContributingPatches[link13]
- Dev/Translations[link14]
- Dev/Translations/el[link15]
- Doc/Deutsch/Lokalisierung[link16]
- Doc/English[link17]
- Doc/English/Features[link18]
- Doc/Español/Localización[link19]
- Doc/Français/Localisation[link20]
- Doc/Ελληνικά[link21]
- Doc/Русский/Локализация[link22]
- Doc/日本語[link23]
- Doc/简体中文/本地化[link24]
- Doc/한국어[link25]
- [link1] https://wackowiki.org/doc/Doc/Deutsch/Lokalisierung
- [link2] https://wackowiki.org/doc/Doc/Español/Localización
- [link3] https://wackowiki.org/doc/Doc/Français/Localisation
- [link4] https://wackowiki.org/doc/Doc/Русский/Локализация
- [link5] https://wackowiki.org/doc/Doc/简体中文/本地化
- [link6] https://wackowiki.org/doc/Dev/Translations
- [link7] https://wackowiki.org/doc/Download
- [link8] https://wackowiki.org/doc/Doc/English/Configuration
- [link9] https://wackowiki.org/doc/Doc/English/AdminPanel
- [link10] https://wackowiki.org/bugs/
- [link11] https://wackowiki.org/doc/Org/Tools/Repository
- [link12] https://crowdin.com/project/wackowiki
- [link13] https://wackowiki.org/doc/Dev/Guidelines/ContributingPatches#a-177
- [link14] https://wackowiki.org/doc/Dev/Translations#a-177
- [link15] https://wackowiki.org/doc/Dev/Translations/el#a-177
- [link16] https://wackowiki.org/doc/Doc/Deutsch/Lokalisierung#a-177
- [link17] https://wackowiki.org/doc/Doc/English#a-177
- [link18] https://wackowiki.org/doc/Doc/English/Features#a-177
- [link19] https://wackowiki.org/doc/Doc/Español/Localización#a-177
- [link20] https://wackowiki.org/doc/Doc/Français/Localisation#a-177
- [link21] https://wackowiki.org/doc/Doc/Ελληνικά#a-177
- [link22] https://wackowiki.org/doc/Doc/Русский/Локализация#a-177
- [link23] https://wackowiki.org/doc/Doc/日本語#a-177
- [link24] https://wackowiki.org/doc/Doc/简体中文/本地化#a-177
- [link25] https://wackowiki.org/doc/Doc/한국어#a-177