Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

ARCHIVED: This project has been moved tohttps://github.com/python/python-docs-zh-tw

NotificationsYou must be signed in to change notification settings

python-doc-tw/python-docs-zh-tw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

本 GitHub repository 含有 Python 官方說明文件的 zh_TW 翻譯。實際的翻譯內容在這個 repository 裡以 Python 的穩定發行版本作為 branch 名稱,請參考 3.6 等branch 以查看目前的翻譯內容。此 master branch 則為專案的貢獻說明。

您可以在https://python-doc-tw.github.io/ 瀏覽目前翻譯的成果。目前以Python 3.6 為翻譯的對象,暫時不考慮 Python 2.7 的翻譯工作。未來有新的Python 發行版本時,也將會將翻譯滾動至新的版本。

Wiki 中有更多關於參加翻譯、翻譯風格規範、自行編譯文件等說明。

想問問題、認識翻譯同好,歡迎加入 Telegram 聊天室t.me/PyDocTW

參加翻譯

如何參加翻譯

實際的翻譯即為修改 po 檔,流程遵照標準的GitHub Flow,請 fork 此專案並在您自己的 fork 裡新增一個 branch,修改 po 檔內容並 commit、push 以後對此專案發出pull request(記得 base 是此專案的其中一個 branch;目前只有 3.6),至少有一人審查過翻譯以後,才可以 merge 進入此 repository 中。

在對任何檔案進行貢獻之前,請先在本專案新增一個 issue,註明您正在翻譯的頁面名稱,並將該 issueassign 給自己,讓大家知道您正在修改該頁面,以避免多人同時貢獻同一個檔案的衝突。

編輯 po 檔的方式主要可以分為兩種,以 Transifex 作為工具或是使用其他翻譯工具:

1. 使用 Transifex 作為翻譯工具

您可以註冊 Transifex 帳號並加入我們的Transifex 專案,並且在上面編輯您所要翻譯的頁面,並且在您本機上透過 command line 從此專案的 clone 的根目錄位置執行以下指令:

$ ./txpull<po 檔的路徑>

此指令會需要 PyPI 上的transifex-clientpoindentgettexttac 等指令。這個小工具可以幫您把您在 Transifex 上針對特定檔案的翻譯 pull下來,並且修正換行格式的錯誤。您在使用 txpull 以後就可以 commit 以及 push 了。

2. 使用其他翻譯工具

使用 Transifex 並非強迫性,您可以使用其他翻譯工具,如:

  • 推薦:poedit
  • gted
  • gtranslator
  • lokalize
  • betterpoeditor
  • 適當模式底下的 vim 或 emacs
  • Vé on Android
  • 可能還有更多其他的

編輯完檔案以後,請執行以下指令以確保檔案的換行格式一致(需要安裝poindent):

$ poindent<po 檔的路徑>

執行完poindent 以後即可 commit、push 等。

問題回報與討論

如果有需要共同討論的問題,請開設一個新的Issue。如果是翻譯上遇到困難需要幫助,則可以使用Telegram

另外,此翻譯的領導人為`adrianliaw<https://github.com/adrianliaw>`_,您也可以透過此 email 聯繫:adrianliaw2000 at gmail dot com

額外翻譯資源

授權與 License

以下為 Documentation Contribution Agreement,說明文件貢獻協議,請在貢獻以前務必詳讀以下內容。(後面有中文翻譯)

Documentation Contribution Agreement

NOTE REGARDING THE LICENSE FOR TRANSLATIONS: Python's documentation ismaintained using a global network of volunteers. By posting thisproject on Transifex, Github, and other public places, and invitingyou to participate, we are proposing an agreement that you willprovide your improvements to Python's documentation or the translationof Python's documentation for the PSF's use under the CC0 license(available athttps://creativecommons.org/publicdomain/zero/1.0/legalcode). Inreturn, you may publicly claim credit for the portion of thetranslation you contributed and if your translation is accepted by thePSF, you may (but are not required to) submit a patch including anappropriate annotation in the Misc/ACKS or TRANSLATORS file. Althoughnothing in this Documentation Contribution Agreement obligates the PSFto incorporate your textual contribution, your participation in thePython community is welcomed and appreciated.

You signify acceptance of this agreement by submitting your work tothe PSF for inclusion in the documentation.

中文翻譯(請盡量以原文為準)

請注意此予翻譯專案的授權:Python 的說明文件是以全球的志工社群來維護。透過張貼此專案在 Transifex、GitHub 以及其他公眾場合,以及邀請您參與,我們向您提出一個協議:您必須將您對於 Python 說明文件或是 Python 說明文件翻譯的貢獻以 CC0(請參考https://creativecommons.org/publicdomain/zero/1.0/legalcode)的方式授權給 PSF 使用。您可以公開地聲明您所貢獻翻譯的部分,並且如果您的翻譯被 PSF採用,您可以(但並不須要)送出一個修改,其包含在 Misc/ACKS 或是 TRANSLATORS檔案裡增加合適的注釋。雖然這個說明文件貢獻協議並沒有說明 PSF 有義務納入您的文本貢獻,您在 Python 社群的參與是受歡迎且受感激的。

您在對 PSF 送出說明文件貢獻的同時,即表示同意上述的協議。

Acknowledgement

This translation project is highly influenced bypython-doc-ja andpython-doc-fr's translation architecture and workflow (i.e. a shamelesscopy). We truly appreciate their contributions.

About

ARCHIVED: This project has been moved tohttps://github.com/python/python-docs-zh-tw

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp