- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 2 / 昨日: 0
総計: 343
- Dokuwiki.fl8.jp(188)
- 13 CentOS6メール設定(13)
- 02 ProFTPD(10)
- 14 rsync(9)
- dig(8)
最近の更新
このページへのアクセス
今日: 2 / 昨日: 0
総計: 343
Creating multilingual pages using language codes
For example, when creating a multilingual page, add the language code at the beginning as follows:
Here we create an English version of the “start” page.
https://hogehoge.com/start English page https://hogehoge.com/en:start
※ When displaying with the js option of indexmenu, if it is too close to the indexmenu, the mouseover overlaps and cannot be clicked, so you need to adjust it with a line break.
In my case, I added one line break.
Add the following code to sidebarheader.html, and the translation menu will be displayed like the main page:
lib/tpl/dokuwiki/sidebarheader.html
<?php $translation = plugin_load('helper','translation'); if ($translation) echo $translation->showTranslations(); ?> <br>
By using the “skipns” option, you can configure it so that only the main language pages are displayed.