Linux 软件免费装

YD Setup Locale

开发者 ydubois
更新时间 2010年4月26日 07:00
捐献地址: 去捐款
PHP版本: 2.0.0 及以上
WordPress版本: 2.7.1

标签

translate language header xml lang i18n l10n country translation localization international multilingual internationalization translating

下载

详情介绍:

This very simple Wordpress plugin automatically sets up the WP language environment based on the first part of the url of any page. It will automatically setup the right XML header lang attribute + the internal Wordpress $locale variable that is used to load the right language files for i18n and l10n (.po, .mo). Usage: Your blog URL structure should always begin with an official two-letter langage code, for example: Please use only lower-case codes. Pages that don’t comply to this URL scheme will still get your blog’s default locale setting, as configured in your wp-config.php file. Sometimes you need to rename or copy some of your po/mo files, for example French language PO files are usually named like this: fr_FR.po; just copy it to fr.po to make it work with a two-letter code. Example This plugin is used for extended multi-language support on the Post2Peer.com open posts directory. Français Ce plugin permet très simplement de faire fonctionner un blog multilingue ou bilingue, français/anglais par exemple. Active support Drop me a line on my YD Setup Locale plugin support site to report bugs, ask for specific feature or improvement, or just tell me how you're using the plugin.

安装:

  1. Unzip yd-setup-locale.zip
  2. Upload the yd-setup-local directory and all its contents into your /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress

常见问题:

Where should I ask questions?

http://www.yann.com/wp-plugins/yd-setup-locale Use comments. I will answer only on that page so that all users can benefit from the answer. So please come back to see the answer or subscribe to that page's post comments.