Title: Date Translate
Author: Gezim Basha
Published: <strong>2013 年 9 月 19 日</strong>
Last modified: 2013 年 9 月 20 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/date-translate.svg)

# Date Translate

 作者：[Gezim Basha](https://profiles.wordpress.org/gezimb/)

[下载](https://downloads.wordpress.org/plugin/date-translate.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/date-translate/#description)
 * [评价](https://cn.wordpress.org/plugins/date-translate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/date-translate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/date-translate/#developers)

 [支持](https://wordpress.org/support/plugin/date-translate/)

## 描述

Allows the user to insert a hook to WordPress and replace english version of the
dates and translate them to their own language.

It uses a modular function that takes as input 3 arguments:

 1. Days
 2. Months
 3. Months (shorthand)

It then searches for the English versions and replaces them.

## 安装

 1. Upload `date_translate.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Array-ize the days `<?php $days = (Sunday, Monday, ...) ?>`
 4. Repeat procedure for months and shorthand (Jan, Feb, …)
 5. Finalize by hooking `<?php qnt_date_translate($days,$months,$months_shorthand)?
    >` – of course, replace array names with your own.

Examples at plugin GitHub page.

## 常见问题

  Does the week begin with Sunday?

Yes. Please arrange the array so your week begins in Sunday and ends in Saturday.

  No shorthand for days?

There is no need, date formats take full day name and use shorthand for months.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Date Translate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Gezim Basha ](https://profiles.wordpress.org/gezimb/)

[帮助将「Date Translate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/date-translate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/date-translate/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/date-translate/)，或通过[RSS](https://plugins.trac.wordpress.org/log/date-translate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/date-translate/)。

## 更新日志

#### 1.0.1

 * Fixed issue with date-translate not intercepting get_date()

#### 1.0

 * Allows translating by inserting the hook on functions.php

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.6.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/date-translate/)
 * 标签
 * [date translation](https://cn.wordpress.org/plugins/tags/date-translation/)[dates](https://cn.wordpress.org/plugins/tags/dates/)
   [local language](https://cn.wordpress.org/plugins/tags/local-language/)[time](https://cn.wordpress.org/plugins/tags/time/)
   [translation](https://cn.wordpress.org/plugins/tags/translation/)
 *  [高级视图](https://cn.wordpress.org/plugins/date-translate/advanced/)

## 评级

 1 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/date-translate/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/date-translate/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/date-translate/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/date-translate/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/date-translate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/date-translate/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/date-translate/reviews/)

## 贡献者

 *   [ Gezim Basha ](https://profiles.wordpress.org/gezimb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/date-translate/)