====== translation ====== 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 [[https://www.dokuwiki.org/plugin:translation]] ===== Translation menu ===== FIXME ※ 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: showTranslations(); ?>
It will look like this: {{:dokuwiki:plugin:pasted:20230621-014444.png}} ===== Hiding non-main language pages in the index menu ===== By using the "skipns" option, you can configure it so that only the main language pages are displayed. [[dokuwiki:memo]] {{tag>dokuwiki:plugins syntax}}