From 5b77ced25c706e981e73e0f42a2d14fdc5bcf014 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 6 May 2019 23:06:35 +0200 Subject: [PATCH] Translation article: to a table. --- content/blog/python-docs-translation.md | 156 +++++++++--------------- pelicanconf.py | 47 +++---- 2 files changed, 81 insertions(+), 122 deletions(-) diff --git a/content/blog/python-docs-translation.md b/content/blog/python-docs-translation.md index fb56c4a..b57429d 100644 --- a/content/blog/python-docs-translation.md +++ b/content/blog/python-docs-translation.md @@ -50,115 +50,73 @@ And a directory for your repo, initialized for example with my Makefile: # Current status -- ja +Language | Contact | Links +----------------------------------------|------------------------------------|------------------------------------------- +Arabic (ar) | Abdur-Rahmaan Janhangeer | [github][github-ar] +Bengali as spoken in Bangladesh (bn_BD) | | [tweet][tweet-bn-bd] +Bengali as spoken in India (bn_IN) | [Kushal Das](kushal) | [github][github-bn-in] +[French (fr)][fr] | [Julien Palard (mdk)][mdk] | [github][github-fr] +Hindi as spoken in India (hi_IN) | | [github][github-hi-in] +Hungarian (hu) | [Tamás Bajusz (gbtami)][gbtami] | [github][github-hu] [doc][doc-hu] [list][list-hu] +Italian (it) | | [mail][mail-it] +[Japanese (ja)][ja] | [Inada Naoki (methane)][methane] | [github][github-ja] +[Korean (ko)][ko] | | [github][github-ko] +Polish (pl) | | [mail][mail-pl] +Portuguese (pt) | Gustavo Toffo | +Portuguese as spoken in Brasil (pt-br) | [Marco Rougeth][rougeth] | [github][github-pt-br] [wiki][wiki-pt-br] [telgram][telegram-pt-br] [article][article-pt-br] +[Simplified Chinese (zh-cn)][zh-cn] | [Shengjing Zhu][shengjing] | [transifex][tx-zh-cn] [github][github-zh-cn] +Spanish (es) | Raul Cumplido | [github][github-es] [old repo][github-old-es] +[Traditional Chinese (zh-tw)][zh-tw] | 廖偉涵 Adrian Liaw | [github][github-zh-tw] [transifex][tx-zh-tw] +Turkish (tr) | | [github][github-tr] - - https://docs.python.org/ja/3.6/ - - Coordinator: [Inada Naoki (methane)](http://bugs.python.org/user10371) - - Translated: 92.77% (as of 2017-12) - - Repository: https://github.com/python/python-docs-ja/ +[tweet-bn-bd]: https://twitter.com/auvipy/status/867370828408569856 +[mail-pl]: https://mail.python.org/pipermail/doc-sig/2019-April/004106.html +[mail-it]: https://mail.python.org/pipermail/doc-sig/2019-April/004114.html +[tx-zh-cn]: https://www.transifex.com/python-doc/python-newest/language/zh_CN/ +[tx-zh-tw]: https://www.transifex.com/python-tw-doc/python-36-tw -- fr +[doc-hu]: http://harp.pythonanywhere.com/python_doc/tutorial/index.html +[list-hu]: https://mail.python.org/pipermail/python-hu/ - - https://docs.python.org/fr/3.6/ - - Coordinator: [Julien Palard (mdk)](http://bugs.python.org/user23063) - - Translated: 28% (as of 2017-12) - - Repository: https://github.com/python/python-docs-fr/ - -- ko - - - https://docs.python.org/ko/3.6/ - - Coordinator: To be designated. - - Translated: flowdas is working on it - - Repository: https://github.com/python/python-docs-ko - -- zh-cn - - - Transifex: https://www.transifex.com/python-doc/python-newest/language/zh_CN/ - - Repository: https://github.com/python/python-docs-zh-cn/ - - Temporary hosting: https://zhsj.github.io/python-docs-zh-cn/ - - Coordinator: [Shengjing Zhu](https://bugs.python.org/user24811) (was [Xiang Zhang](http://bugs.python.org/user21530)) - - Translated: 8.08% (as of 2018-10) - -- pt-br - - - Coordinator: [Marco Rougeth](https://mail.python.org/pipermail/doc-sig/2017-June/003975.html) - - Translated: 19.6% (as of 2017-12). - [transifex](https://www.transifex.com/python-doc/public/). - - Repository: https://github.com/python/python-docs-pt-br/ - - Wiki: http://python.org.br/traducao - - Telegram group: https://t.me/pybr_i18n - - Blog post: http://rgth.co/blog/python-ptbr-cenario-atual - -- pt - - - Coordinator: To be designated. - - Translator: Gustavo Toffo. - - Translated: 0% (as of 2017-12) - -- es - - - Coordinator: To be designated. - - Translated: 1.42% (as of 2017-12) - - [Current repo](https://github.com/raulcd/python-docs.es) - - [Old repo github.com/PyAr/tutorial/](https://github.com/PyAr/tutorial/commits/master). - -- zh-tw - - - Coordinator: 廖偉涵 Adrian Liaw - - Translated: 2.8% (as of 2018-05) - - Github: [github.com/python-doc-tw/](https://github.com/python-doc-tw/cpython-tw/tree/tw-3.6). - - Transifex: https://www.transifex.com/python-tw-doc/python-36-tw - -- hu - - - Corrdinator: [Tamás Bajusz (gbtami)](http://bugs.python.org/user25857) - - Translated: 1.82% on transifed as of 2017-12, - - [their translation](http://harp.pythonanywhere.com/python_doc/tutorial/index.html) - - [their mailing list](https://mail.python.org/pipermail/python-hu/) - - Repository: https://github.com/python/python-docs-hu/ - -- ru - - - Coordinator: To be designated. - - Translated: ? - - [python-lab.ru](http://python-lab.ru/documentation/index.html) - -- hi_IN - - - Hindi as spoken in India - - https://github.com/CuriousLearner/python-docs-hi-in +[tweet-bn-bd]: https://twitter.com/auvipy/status/867370828408569856 +[mail-pl]: https://mail.python.org/pipermail/doc-sig/2019-April/004106.html +[mail-it]: https://mail.python.org/pipermail/doc-sig/2019-April/004114.html +[tx-zh-cn]: https://www.transifex.com/python-doc/python-newest/language/zh_CN/ +[tx-zh-tw]: https://www.transifex.com/python-tw-doc/python-36-tw -- bn_IN - - Bengali as spoken in India - - Coordinator: [Kushal Das](http://bugs.python.org/user16382) - - Translated: ? - - Repository: https://github.com/python/python-docs-bn-in +[wiki-pt-br]: http://python.org.br/traducao +[telegram-pt-br]: https://t.me/pybr_i18n +[article-pt-br]: http://rgth.co/blog/python-ptbr-cenario-atual -- bn_BD - - Bengali as spoken in Bangladesh - - Coordinator: To be designated. - - Translated: ? - - see: [https://twitter.com/auvipy/status/867370828408569856](https://twitter.com/auvipy/status/867370828408569856) +[github-ar]: https://github.com/Abdur-rahmaanJ/py-docs-ar +[github-hu]: https://github.com/python/python-docs-hu/ +[github-tr]: https://github.com/alaeddingurel/python-docs-tr +[github-es]: https://github.com/raulcd/python-docs.es/ +[github-old-es]: https://github.com/PyAr/tutorial/ +[github-ja]: https://github.com/python/python-docs-ja/ +[github-fr]: https://github.com/python/python-docs-fr/ +[github-ko]: https://github.com/python/python-docs-ko/ +[github-bn-in]: https://github.com/python/python-docs-bn-in +[github-hi-in]: https://github.com/CuriousLearner/python-docs-hi-in +[github-pt-br]: https://github.com/python/python-docs-pt-br/ +[github-zh-tw]: https://github.com/python/python-docs-zh-tw/ +[github-zh-cn]: https://github.com/python/python-docs-zh-cn/ -- ar +[methane]: https://bugs.python.org/user10371 +[mdk]: https://bugs.python.org/user23063 +[shengjing]: https://bugs.python.org/user24811 +[rougeth]: https://mail.python.org/pipermail/doc-sig/2017-June/003975.html +[gbtami]: http://bugs.python.org/user25857 +[kushal]: http://bugs.python.org/user16382 - - Coordinator: Abdur-Rahmaan Janhangeer - - Repository: https://github.com/Abdur-rahmaanJ/py-docs-ar - -- tr - - - Repository: https://github.com/alaeddingurel/python-docs-tr - -- pl - - - https://mail.python.org/pipermail/doc-sig/2019-April/004106.html - -- it - - - https://mail.python.org/pipermail/doc-sig/2019-April/004114.html +[ja]: https://docs.python.org/ja/ +[fr]: https://docs.python.org/fr/ +[ko]: https://docs.python.org/ko/ +[zh-cn]: https://docs.python.org/zh-cn/ +[zh-tw]: https://docs.python.org/zh-tw/ diff --git a/pelicanconf.py b/pelicanconf.py index ee64a72..e6175c0 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -2,22 +2,22 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -AUTHOR = 'Julien Palard' -SITENAME = 'mdk.fr' -SITEURL = 'https://mdk.fr' +AUTHOR = "Julien Palard" +SITENAME = "mdk.fr" +SITEURL = "https://mdk.fr" -PATH = 'content' +PATH = "content" -TIMEZONE = 'Europe/Paris' +TIMEZONE = "Europe/Paris" -DEFAULT_LANG = 'fr' +DEFAULT_LANG = "fr" # Feed generation is usually not desired when developing -FEED_ALL_ATOM = 'feeds/all.atom.xml' -CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' +FEED_ALL_ATOM = "feeds/all.atom.xml" +CATEGORY_FEED_ATOM = "feeds/%s.atom.xml" TRANSLATION_FEED_ATOM = None -AUTHOR_FEED_ATOM = 'feeds/%s.atom.xml' -AUTHOR_FEED_RSS = 'feeds/%s.rss.xml' +AUTHOR_FEED_ATOM = "feeds/%s.atom.xml" +AUTHOR_FEED_RSS = "feeds/%s.rss.xml" # Blogroll # LINKS = (('Pelican', 'http://getpelican.com/'), @@ -26,24 +26,25 @@ AUTHOR_FEED_RSS = 'feeds/%s.rss.xml' # ('You can modify those links in your config file', '#'),) # Social widget -SOCIAL = (('twitter', 'https://twitter.com/sizeof'), - ('github', 'https://github.com/julienpalard'), - ('so', 'https://stackoverflow.com/users/232831/julien-palard'), - ) +SOCIAL = ( + ("twitter", "https://twitter.com/sizeof"), + ("github", "https://github.com/julienpalard"), + ("so", "https://stackoverflow.com/users/232831/julien-palard"), +) DEFAULT_PAGINATION = 10 -THEME = 'theme' -THEME_STATIC_DIR = 'theme' -ARTICLE_URL = '{category}/{slug}.html' -STATIC_PATHS = ['images', '0x000000/gif', '0x000000/jpg'] -ARTICLE_SAVE_AS = '{category}/{slug}.html' -CATEGORY_URL = '{slug}/' -CATEGORY_SAVE_AS = '{slug}/index.html' +THEME = "theme" +THEME_STATIC_DIR = "theme" +ARTICLE_URL = "{category}/{slug}.html" +STATIC_PATHS = ["images", "0x000000/gif", "0x000000/jpg"] +ARTICLE_SAVE_AS = "{category}/{slug}.html" +CATEGORY_URL = "{slug}/" +CATEGORY_SAVE_AS = "{slug}/index.html" # Uncomment following line if you want document-relative URLs when developing -#RELATIVE_URLS = True +# RELATIVE_URLS = True MARKDOWN = { - 'extensions': ['toc', 'markdown.extensions.codehilite'] + "extensions": ["toc", "markdown.extensions.codehilite", "markdown.extensions.extra"] }