Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Date Translate» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.1

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

1.0

  • Allows translating by inserting the hook on functions.php