Skip to content

arthurkao/WooCommerce-Mr-Tailor-Chinese-Translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

WooCommerce-Mr-Tailor-Chinese-Translation

WooCommerce Mr. Tailor Theme Traditional Chinese (Taiwan) Translation

WooCommerce Mr. Tailor 佈景主題 繁體中文翻譯檔

Mr. Tailor 是由 getbowtied 所製作發佈的 WooCommerce 收費佈景主題. 中文化翻譯檔由 Arthur C. Kao 編譯, 免費發佈.

系統要求

  • WooCommerce 版本 2.3.11 或以上, 安裝於相容之 WordPress 系統上.
  • Mr. Tailor Theme 版本 1.5 或以上
  • 啟用 Mr. Tailor Child Theme. 如果不知道什麼是Child Theme(子佈景主題), 請參考本教學.

安裝

  • 下載並解壓縮檔案
  • Poedit開啟zh_TW.po, 再直接儲存檔案. Poedit 會自動在同一個資料夾生成zh_TW.mo.
  • zh_TW.pozh_TW.mo 上傳到 wp-content/themes/mrtailor-child/ 目錄.
  • 複製下方的程式碼貼在wp-content/themes/mrtailor-child/functions.php
/**
 * load mr tailor child theme translation file (zh_TW.mo)
 */
add_action( 'after_setup_theme', 'my_child_theme_setup' );
function my_child_theme_setup() {
    load_child_theme_textdomain( 'mr_tailor' );
}
  • 搞定

更新

使用 Poedit 開啟目前使用的翻譯檔, ie. zh_TW.po. 點選 Catalog > Update from POT File > 選取對應的更新版翻譯檔 > 存檔

發現Bug或譯文錯誤

請編輯zh_TW.po後以github pull request 通知作者.

版權資訊

MIT

About

WooCommerce Mr Tailor Theme Traditional Chinese (Taiwan) Translation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published