plugin:multilingual
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:multilingual [2013-07-07 22:19] – [Requests/Issues] 124.110.12.173 | plugin:multilingual [2023-10-30 23:09] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : d.stonier@gmail.com | email : d.stonier@gmail.com | ||
type : syntax, | type : syntax, | ||
- | lastupdate : 2012-01-29 | + | lastupdate : 2020-12-15 |
- | compatible : 2008-05-05, 2011-11-10 | + | compatible : Greebo, Hogfather |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : language | + | tags : language, translation |
- | downloadurl: | + | downloadurl: |
- | sourcerepo : http://snorriheim.dnsdojo.com/redmine/repositories/show/ | + | sourcerepo : https://github.com/stonier/dokuwiki_plugins/tree/master/ |
- | bugtracker : http://snorriheim.dnsdojo.com/redmine/projects/ | + | bugtracker : https://github.com/stonier/dokuwiki_plugins/issues |
---- | ---- | ||
This plugin tries to collect and improve on a few multilingual plugins and tips that are floating around and collate them into a single plugin that provides a consistent interface for multilingual capabilities. | This plugin tries to collect and improve on a few multilingual plugins and tips that are floating around and collate them into a single plugin that provides a consistent interface for multilingual capabilities. | ||
- | ===== Links ===== | ||
- | * [[http:// | + | ===== Installation ===== |
- | * [[http://snorriheim.dnsdojo.com/doku/doku.php/en: | + | |
- | * [[http:// | + | Download and install the plugin using the Plugin Manager using the following url. |
- | * [[http:// | + | |
- | * [[http://snorriheim.dnsdojo.com/ | + | https://github.com/stonier/dokuwiki_plugins/raw/master/releases/ |
+ | |||
+ | Use the plugin manager, or alternatively, | ||
===== Configuration ===== | ===== Configuration ===== | ||
Line 32: | Line 33: | ||
===Template=== | ===Template=== | ||
+ | |||
Without hacking your template too much, the cleanest way is to create a file in your template directory called ''/ | Without hacking your template too much, the cleanest way is to create a file in your template directory called ''/ | ||
<code php show_languages.html> | <code php show_languages.html> | ||
Line 50: | Line 52: | ||
===Configuration Manager=== | ===Configuration Manager=== | ||
+ | |||
As admin, under the configuration settings page, there are some important configuration settings that are necessary to be configured before proceeding: | As admin, under the configuration settings page, there are some important configuration settings that are necessary to be configured before proceeding: | ||
Line 66: | Line 69: | ||
== Root Page Redirection == | == Root Page Redirection == | ||
- | Also, I figured I wanted the user to be redirected to a language page instead of page not found when visiting the top site without explicitly specifying the language namespace. (ex : http:// | + | Also, I figured I wanted the user to be redirected to a language page instead of page not found when visiting the top site without explicitly specifying the language namespace. (ex : http:// |
<code php> | <code php> | ||
Line 96: | Line 99: | ||
</ | </ | ||
- | Also interface language could be switched to a different one from the document' | + | Also interface language could be switched to a different one from the document' |
< | < | ||
- | array_unshift($languages, | + | array_unshift($languages, |
</ | </ | ||
Line 113: | Line 116: | ||
</ | </ | ||
- | A note to developer but there is a small bug in ' | + | A note to developer but there is a small bug in ' |
< | < | ||
$languages = preg_split("/,/", | $languages = preg_split("/,/", |
plugin/multilingual.1373228396.txt.gz · Last modified: by 124.110.12.173