With this plugin you can translate date and time, using the_time, get_the_time, the_date and get_the_date in your themes.
使用此插件,您可以在主题中使用the_time,get_the_time,the_date和get_the_date转换日期和时间。
For example: If your WordPress installation is in English, you can translate just date and time to Brazilian Portuguese.
例如:如果您的WordPress安装是英语的,则可以仅将日期和时间翻译成巴西葡萄牙语。 p>
In the file configuration.php you can set the locale, charset, and date / time format.
在文件configuration.php中,您可以设置区域设置,字符集和日期/时间格式。
The format key must follow the strftime format parameter (http://php.net/manual/en/function.strftime.php).
格式键必须遵循strftime格式参数(http://php.net/manual/en/function.strftime.php)。 p>
You must call the_time, get_the_time, the_date or get_the_date in you theme, within The Loop.
您必须在The Loop中的主题中调用the_time,get_the_time,the_date或get_the_date。
Parameters are going to be ignored.
参数将被忽略。 p>
This plugin uses set_locale function and it will fail if you don’t have the desired locale/charset installed on your server.
此插件使用set_locale函数,如果您的服务器上未安装所需的语言环境/字符集,它将失败。
For more information, please read the manual (http://php.net/manual/en/function.setlocale.php).
有关更多信息,请阅读手册(http://php.net/manual/zh/function.setlocale.php)。 p>