DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:localization

Localization Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin

Last updated on
2019-02-27
Provides
Action
Repository
Source
Requires
translation

Tagged with config, language, tagline, title

By Victor

The main task of this plugin is to add the ability to translate the title and tagline for each language separately. Of course, you can translate and define various individual settings (for example, you can change the date and time representation according to the official date format for a specific language).

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Usage

Create or edit file ./lib/plugins/localization/locales/<language>/conf.php and add variables from ./conf/local.php or ./conf/dokuwiki.php you want to translate.

If you want to translate datetime strings (such as month or weekday names) or to set locale information for a specific country/region, add setlocale(LC_ALL, '<locale>.utf8'); into the same file.

For an example of usage, see file ro/conf.php or ru/conf.php.

Change Log

plugin/localization.txt · Last modified: 2019-02-27 08:07 by Aleksandr