DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:localization

Localization Plugin

Compatible with DokuWiki

Greebo

plugin Translate the title and tagline for each language separately

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

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with config, language, localization, tagline, title

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: 2024-01-16 22:40 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki