Complete Language Switcher is a plugin that allows you to setup your blog with multilingual support.
It also allows you to switch between languages with a nice list of flag which are easily styled.
Complete Language Switcher filters out the posts tagged with a certain language to displayed. Other languages will be hidden in the listings.
Note that this plugin requires the xili-language plugin in order to work.
Installing this plugin is easy.
- Install and activate the xili-language plugin
- Upload the
complete-language-switchfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
<?php cls_langs_html(); ?>in anywhere your templates or hook it in your template using
<?php add_action('hook_name', 'cls_langs_html'); ?>.
A few notes:
- Make sure you put en_US.mo files in the language folders when using the default language.
- Check the /flags/ directory in the plugin to see if your flag is in there. Naming is the 2 last characters of the locale (eg. en_US) in lowercase in PNG format. So en_US would be: us.png
以下人員參與了開源軟體〈Complete Language Switcher〉的開發相關工作。參與者
將〈Complete Language Switcher〉外掛本地化為台灣繁體中文版
- first stable version is online