WackoWiki: Localizations of WackoWiki

https://wackowiki.org/doc     Version: 58 (13.08.2024 06:40)

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.


If you want to create your own language scheme, e.g. for Finnish, you need to do the next three simple actions:
  1. Copy one of the existing schemes (that one you most familiar with) to a new file (wacko.fi.php for Finnish)
  2. Open your newly created file and edit it, changing the translation values after "=>" according to the target language (this takes the time).
  3. 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].
Language settings in the system administration

Note that if you want to have installer of WackoWiki works with your language, you also need to translate:

Admin panel

WikiEdit

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:

  1. Dev/Guidelines/ContributingPatches[link13]
  2. Dev/Translations[link14]
  3. Dev/Translations/el[link15]
  4. Doc/Deutsch/Lokalisierung[link16]
  5. Doc/English[link17]
  6. Doc/English/Features[link18]
  7. Doc/Español/Localización[link19]
  8. Doc/Français/Localisation[link20]
  9. Doc/Ελληνικά[link21]
  10. Doc/Русский/Локализация[link22]
  11. Doc/日本語[link23]
  12. Doc/简体中文/本地化[link24]
  13. Doc/한국어[link25]