====== Localization Plugin ====== ---- plugin ---- description: Translate the title and tagline for each language separately author : Victor email : kvp@live.com type : action lastupdate : 2019-02-27 compatible : Greebo depends : translation conflicts : similar : tags : language, config, tagline, title, localization downloadurl: https://github.com/kondurake/dokuwiki-plugin-localization/zipball/master bugtracker : https://github.com/kondurake/dokuwiki-plugin-localization/issues sourcerepo : https://github.com/kondurake/dokuwiki-plugin-localization/ donationurl: screenshot_img : ---- The main task of this plugin is to add the ability to translate the [[config:title|title]] and [[config:tagline|tagline]] for each language separately. Of course, you can translate and define various individual [[:config|settings]] (for example, you can change the [[wp>Date_format_by_country|date and time representation]] according to the official date format for a specific language). ===== Installation ===== Install the plugin using the [[plugin:plugin|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/****/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, '****.utf8');'' into the same file. For an example of usage, see file [[https://github.com/kondurake/dokuwiki-plugin-localization/blob/master/locales/ro/conf.php|ro/conf.php]] or [[https://github.com/kondurake/dokuwiki-plugin-localization/blob/master/locales/ru/conf.php|ru/conf.php]]. === Change Log === {{rss>https://github.com/kondurake/dokuwiki-plugin-localization/commits/master.atom date}}