| 开发者 | Fairweb (Myriam Faulkner) |
|---|---|
| 更新时间 | 2009年12月19日 02:26 |
| 捐献地址: | 去捐款 |
| PHP版本: | 2.6 及以上 |
| WordPress版本: | 2.9 |
fw-quick-langswitch folder to the /wp-content/plugins/ directoryfw-quick-langswitch/fwqls-flags folder in your wp-content directory and delete flags you don't need. Add the flags you need and name them after the .mo files you are using in wp-content/languages and eventually your theme.
You then should have a wp-content/fwqls-flags containing all your flags named like, for example fr_FR.png and it_IT.png. If you do not create this directory, the default plugin flags will be loaded.<?php if (function_exists("fwqls_display_flags")) { fwqls_display_flags(); } ?> in your template where you want the flags to appear.This will be the default language you mentionned in your wp-config file.
fw-quick-langswitch/fwqls-flags directory. Where can I find other flags ?You can find other flags on http://www.famfamfam.com/lab/icons/flags/. Don't forget to rename them after full Wordpress locales (ie : fr_FR.gif)
No, this plugin only uses the .mo files loaded in your wp-content/languages and eventually your buddypress and theme directories.