Replaces the_time, get_the_time, the_date and get_the_date functions to translate date and time.
Author: | Willian Gustavo Veiga (profile at wordpress.org) |
WordPress version required: | 3.1 |
WordPress version tested: | 3.2.1 |
Plugin version: | 0.2 |
Added to WordPress repository: | 23-03-2011 |
Last updated: | 30-08-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.simplemix.com.br/extends/wordpress... |
Total downloads: | 1 912 |
Active installs: | 10+ |
Click to start download |
With this plugin you can translate date and time, using the_time, get_the_time, the_date and get_the_date in your themes. For example: If your WordPress installation is in English, you can translate just date and time to Brazilian Portuguese.
In the file configuration.php you can set the locale, charset, and date / time format. The format key must follow the strftime format parameter (http://php.net/manual/en/function.strftime.php).
You must call the_time, get_the_time, the_date or get_the_date in you theme, within The Loop. Parameters are going to be ignored.
This plugin uses set_locale function and it will fail if you don't have the desired locale/charset installed on your server. For more information, please read the manual (http://php.net/manual/en/function.setlocale.php).
ChangeLog