[wordpress插件] Calendar Translation日历翻译

wordpress 插件 文章 2020-03-15 19:40 550 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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安装是英语的,则可以仅将日期和时间翻译成巴西葡萄牙语。

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)。

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.

参数将被忽略。

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)。

安装步骤

    1. Upload calendar-translation directory to the /wp-content/plugins/ directory.
    2. calendar-translation 目录上传到 / wp-content / plugins / 目录。

    3. Activate the plugin through the Plugins menu in WordPress.
    4. 通过WordPress中的插件菜单激活插件。

下载地址
https://downloads.wordpress.org/plugin/calendar-translation.zip
-EOF-

AI助手支持GPT4.0