[WordPress] 外掛分享: DeutschDate

首頁外掛目錄 › DeutschDate
10+
安裝啟用
尚無評分
3639 天前
最後更新
問題解決
WordPress 1.5.1+ v1.3 上架:2008-06-22

內容簡介

注意:這款外掛原本是用來快速修復顯示德文中的各種英文日期。但它不幸地沒有完全涵蓋所有日期顯示的情況。

你是在英文版的 WordPress 中發佈德文文章嗎?顯示出那些煩人的英文日期讓你很困擾?這款外掛就是為此而生的。它會自動將英文月份和日期(除了首字母外)轉換成對應的德文單字。

使用方法:

將日期顯示從 ‘Thursday, October 22nd’ 改為德文顯示,例如在自訂建置的主題中,或在僅使用日期(沒有 ‘posted by..’)的主題中。

請注意:它並不能完全「德國化」你的主題日期呈現方式。

例如,有些主題可能會說 ‘Posted by Annemarie on Thursday, October 22nd’,但只有日期部分會被翻譯,而最後的結果是 ‘Posted by Annemarie on Donnerstag, Oktober 22.’。如果要完全「德國化」你的主題,你需要依據你的情況選擇以下其中一種方法:

在 WordPress 管理區的『設定』>『一般』中修改日期格式設定。
根據需要修改你的主題模板檔案,適當地修改 <?php the_time(); ?> 標籤。如需修改時間標籤的方法,請參閱「樣板標籤/the_time」Codex 頁面。
或者,作為這款外掛的替代方案,您可以使用德文的.po語言文件。

改「荷蘭化」而不是「德國化」?

如果您需要這款外掛的荷蘭版,請訪問「Dutchdate Plugin Page」。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DeutschDate」→ 直接安裝(推薦)

原文外掛簡介

Note: This plugin was intended as a quick fix for displaying various english dates in german. It unfortunately does not fully cover all date displays.
Using an english WordPress install and publishing posts in german? Those pesky English dates produced by were getting on my nerves too, hence this plugin. Automagically converts english months and days (except for the initials, so far) to their german equivalent.
Intended usage:
Replacing dates like ‘Thursday, October 22nd’, for instance in your custom built theme or themes that just use the date without ‘posted by..’. Please note: It doesn’t completely ‘deutschify’ your theme’s date representation.
Example: Where some themes would say ‘Posted by Annemarie on Thursday, October 22nd’ only the date part is translated, resulting in ‘Posted by Annemarie on Donnerstag, Oktober 22.’. For complete deutschification one would either, depending on your specific situation:

Edit Date Format settings under the Settings > General tab in your WordPress admin area.
Edit your theme’s template files, adapting the template tag appropriately. For a howto on editing the time template tag, check the Template Tags/the time Codex page.
Or, as an alternative to this plugin, use a german .po language file.

Dutchify in stead of Deutschify?
For the Dutch version of this plugin, visit the Dutchdate Plugin Page

延伸相關外掛

文章
Filter
Apply Filters
Mastodon