Skip to content

您好,中文文档的翻译是否有人认领?我想组织一些人来对 vue-ssr 英文文档进行翻译 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dear-lizhihua opened this issue Apr 27, 2017 · 39 comments

Comments

@dear-lizhihua
Copy link
Collaborator

您好,尤大,对您编写 vue-ssr 英文文档表示致敬!
之前 @dingyiming 和我组织一些人翻译了 Vue.js 2 和 vuex 2 的中文文档,之后我们还翻译了 webpack 2 文档
对此我们很有兴趣继续翻译您编写的文档,希望能够得到您的支持,谢谢!

@yyx990803
Copy link
Member

欢迎!

@dear-lizhihua
Copy link
Collaborator Author

OK,可以的话,麻烦建立一个 cn 分支,便于我们进行基于不同分支做文件对比,以及提 pr 到官方仓库 cn 分支。
或者有其他的对比差异的翻译方案也可以考虑。

@yyx990803
Copy link
Member

开好了 👌

@dear-lizhihua
Copy link
Collaborator Author

好的,谢谢。

@kazupon
Copy link
Member

kazupon commented Apr 28, 2017

@yyx990803 @dear-lizhihua
We started the translation project with GitLocalize.
See #3

If you are interested in it, please tell the us. 😉

@a1029563229
Copy link

@dear-lizhihua
请问中文文档的翻译现在完成了吗..我也想参与一下

@dear-lizhihua
Copy link
Collaborator Author

@a1029563229
还差这几节

可以先 fork 我的仓库,然后给我提 pr,我再统一合并到 GitLocalize 里面

@a1029563229
Copy link

@dear-lizhihua 好的,翻译完成后我给你提个pr,现在有翻译好的能给我做个参考吗

@dear-lizhihua
Copy link
Collaborator Author

@a1029563229 已经完成的翻译都在我的仓库的 cn 分支,我是在 master 分支上建立的 cn 分支,这样 master 有更新时候,可以及时合并更新。

@a1029563229
Copy link

@dear-lizhihua 好的

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 6, 2017

@yyx990803
小右,你好,已经全部翻译完成,是直接合并到官方仓库的 cn 分支,还是提交到 GitLocalize 后再合并?

@yyx990803
Copy link
Member

@dear-lizhihua 建议提交到 GitLocalize 方便后续更新。

@yyx990803
Copy link
Member

另外感谢翻译,辛苦了 👍

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 6, 2017

image
好的。
GitLocalize 这东西用起来还是挺麻烦的,必须要把每个``符号换成 GitLocalize 自定义的标签。```code...``` 里面的英文注释也无法翻译。

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 6, 2017

https://gitlocalize.com/repo/101/zh/en/api.md
小右,以下是使用 GitLocalize 发现的一些展示上问题,是否确定继续使用 GitLocalize 去管理翻译文档:

GitLocalize 对带<>无法很好的支持

  1. image
  2. image
  3. image

GitLocalize 以及对<code>嵌套<code>也无法很好的支持

image

单引号显示问题

image
image

@chikathreesix
Copy link
Contributor

@dear-lizhihua 谢谢您的报告。我们刚刚修复了错误。请检查 🙇

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 7, 2017

@chikathreesix 你好,这里还是无法正常显示。
GitLocalize 会把正常的文档中的 `` 符号转为 <code></code>,我们在录入文档时候,要把所有的 ``
都手动转写一遍,这样会非常的繁琐。能否直接录入原有文档格式,符号转换的事情不要让录入的人来做。

en: Provide a template for the entire page's HTML. The template should contain a comment <code data-md-type="codespan" data-md-index="107"><!--vue-ssr-outlet--></code> which serves as the placeholder for rendered app content.
cn: 为整个页面的 HTML 提供一个模板。此模板应包含注释 <code data-md-type="codespan" data-md-index="107"><!--vue-ssr-outlet--></code>,作为渲染应用程序内容的占位符。

image

image

@chikathreesix
Copy link
Contributor

@dear-lizhihua 你好! 我们现在解决这个问题,打算做这些HTML标签更抽象的格式(例如、{0}{/0})。我们将出货一星期左右。

@dear-lizhihua
Copy link
Collaborator Author

@chikathreesix nice, thank you!

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 8, 2017

@chikathreesix find new bug
https://gitlocalize.com/repo/101/zh/en/basic.md
https://gitlocalize.com/repo/101/zh/en/build-config.md

// the right value is:
en: `<div>Hello World</div>`
cn: `<div>Hello World</div>`
// and
en: `<div>The visited URL is: {{ url }}</div>`
cn: `<div>访问的 URL 是: {{ url }}</div>`

image

image

// the right value is:
<!DOCTYPE html>
<html lang="en">
  <head><title>Hello</title></head>
  <body>
    <!--vue-ssr-outlet-->
  </body>
</html>

image
image

<script> in ```...``` should not parse.

// the right value is:
// -> <script>window.__MY_STATE__={...}</script>

image

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 8, 2017

hi, @chikathreesix , I want to append the original link to the end of the translated document, but gitlocalize does not have this feature. Is it possible to provide such a feature? Feel can bring a better user experience.
image

@chikathreesix
Copy link
Contributor

Thank you, @dear-lizhihua. That HTML tag issue will be fixed this week. And for adding an original link to the end, currently we are not supporting adding additional content on a translated file. Let me think about how to deal with it.

@dear-lizhihua
Copy link
Collaborator Author

@chikathreesix
Thanks gitlocalize team effort and look forward to improvement

@chikathreesix
Copy link
Contributor

Hi @dear-lizhihua , now all the issues above were fixed except the feature to have an additional content on a translated resource. Let us think that how we can have those contents since it'd be a more structural problem.

@dear-lizhihua
Copy link
Collaborator Author

@chikathreesix
Yes, I see your improvement, thank you very much for your efforts. Have a nice day!

@yyx990803
Copy link
Member

@dear-lizhihua 踩坑辛苦了,现在 GitLocalize 上面是最新的进度吗?

@dear-lizhihua
Copy link
Collaborator Author

翻译是最新的,但是翻译完成的得复制到 gitlocalize 上面,现在手动复制了一半,我尽快抽时间复制吧

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 13, 2017

@chikathreesix
Sorry, there should be some line breaks here, and the following should be 2
code in https://gitlocalize.com/repo/101/zh/en/data.md

image
image

@dear-lizhihua
Copy link
Collaborator Author

@yyx990803 尤大,已经完成全部复制

@chikathreesix
Copy link
Contributor

@dear-lizhihua Sorry for the trouble. Let us look into them.

@yyx990803
Copy link
Member

@chikathreesix I tested by merging an auto-created PR for the Chinese translation, but after that the page shows "In Conflict" on GitLocalize:

screen shot 2017-06-15 at 1 05 05 pm

Any idea? Does it have to do with how I merged the PR? (merged with "rebase and merge")

@chikathreesix
Copy link
Contributor

@yyx990803 Hmm, no, it's not an expected result. I have just fixed the conflict for now and am looking into the cause now.

@chikathreesix
Copy link
Contributor

@yyx990803 I found that this is because Redcarpet, a markdown parser we use in GitLocalize doesn't parse indented elements as GitHub does. We might need to switch to other parser... Let us plan on how to fix this.

@netputer
Copy link

我看翻译进度已经 100% 了,大概什么时候发布呀?

@dear-lizhihua
Copy link
Collaborator Author

@netputer 才发现我有在 GitLocalize 提 pr 的权限……
@yyx990803 尤大,都合进去了,能否发布?

@netputer
Copy link

已经有啦,棒棒棒~

https://ssr.vuejs.org/zh/

@yyx990803
Copy link
Member

yyx990803 commented Jun 28, 2017

发布了~
非常感谢参与翻译的同学,尤其是 @dear-lizhihua !

@dear-lizhihua
Copy link
Collaborator Author

dear-lizhihua commented Jun 28, 2017

@chikathreesix
https://ssr.vuejs.org/zh/
https://gitlocalize.com/repo/101/zh/en/README.md
hi, here is a bug. There should be another line here
image

@chikathreesix
Copy link
Contributor

@dear-lizhihua Let me look into this. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants