Skip to main content

国际化更新

· 6 min read

自从新的国际化 Electron 网站上线以来,我们一直在努力,使 Electron 的开发体验对非英语国家的开发者更加易于访问。

🌐 Ever since the launch of the new internationalized Electron website, we have been working hard to make the Electron development experience even more accessible to developers outside of the English speaking world.

现在,我们带来了一些激动人心的国际化更新!

🌐 So here we are with some exciting i18n updates!


🌐 语言切换

🌐 🌐 Language Toggle

你知道吗,许多阅读翻译文档的人经常会参考原始的英文文档?他们这样做是为了熟悉英文文档,同时避免过时或不准确的翻译,这是国际化文档的一个注意事项。

🌐 Did you know that many people who read translated documentation often cross reference that with the original English documentation? They do this to familiarize themselves with English docs, and to avoid outdated or inaccurate translations, which is one caveat of internationalized documentations.

Language toggle on Electron documentation

为了让对英文文档的交叉引用更方便,我们最近推出了一个功能,允许你在 Electron 文档的某个部分在英文和你当前浏览网站时使用的语言之间无缝切换。只要你在网站上选择了非英文的语言,这个语言切换功能就会显示。

🌐 To make cross-referencing to English docs easier, we recently shipped a feature that allows you to seamlessly toggle a section of the Electron documentation between English and whatever language you're viewing the website in. The language toggle will show up as long as you have a non-English locale selected on the website.

⚡️ 快速访问翻译页面

🌐 ⚡️ Quick Access to Translation Page

New Electron documentation footer in Japanese

在阅读文档时发现拼写错误或翻译不正确?你不再需要登录 Crowdin,选择你的语言,找到需要修改的文件,等等。相反,你只需向下滚动到文档底部,点击“翻译此文档”(或你语言中的等效选项)。就这样!你会直接进入 Crowdin 翻译页面。现在开始发挥你的翻译魔法吧!

🌐 Notice a typo or an incorrect translation while you're reading the documentation? You no longer have to log in to Crowdin, pick your locale, find the file you'd like the fix, etc etc. Instead, you can just scroll down to the bottom of the said doc, and click "Translate this doc" (or the equivalent in your language). Voila! You are brought straight to the Crowdin translation page. Now apply your translation magic!

📈 一些统计数据

🌐 📈 Some Statistics

自从我们公开了 Electron 文档的国际化(i18n)工作以来,我们已经看到来自全球各地 Electron 社区成员的翻译贡献出现了 巨大 的增长。截至目前,我们已经 翻译了 1,719,029 条字符串,由 1,066 名社区翻译者完成,涵盖 25 种语言

🌐 Ever since we have publicized the Electron documentation i18n effort, we have seen huge growth in translation contributions from Electron community members from all around the world. To date, we have 1,719,029 strings translated, from 1,066 community translators, and in 25 languages.

Translation Forecast provided by Crowdin

以下是一个有趣的图表,显示了在保持现有进度(基于撰写本文时过去 14 天的项目活动)的情况下,将项目翻译成每种语言所需的大约时间。

🌐 Here is a fun graph showing the approximate amount of time needed to translate the project into each language if the existing tempo (based on the project activity during the last 14 days at the time of writing) is preserved.

📃 翻译员调查

🌐 📃 Translator Survey

我们想向每一位花时间帮助改进 Electron 的人表示衷心的 ❤️ 感谢 ❤️!为了妥善表彰我们翻译社区的辛勤工作,我们创建了一份调查问卷,以收集一些信息(即他们在 Crowdin 和 Github 的用户名对应关系)关于我们的翻译人员。

🌐 We would like to give a huge ❤️ thank you ❤️ to everyone who has contributed their time to help improving Electron! In order to properly acknowledge the hard work of our translator community, we have created a survey to collect some information (namely the mapping between their Crowdin and Github usernames) about our translators.

如果你是我们出色的翻译之一,请花几分钟填写此表格:https://goo.gl/forms/b46sjdcHmlpV0GKT2。

🌐 If you are one of our incredible translators, please take a few minutes to fill this out: https://goo.gl/forms/b46sjdcHmlpV0GKT2.

🙌 Node 的国际化努力

🌐 🙌 Node's Internationalization Effort

由于 Electron 的国际化(i18n)计划的成功,Node.js 决定以我们使用的模式来仿效他们重新设计的国际化努力!🎉 Node.js 国际化计划现已启动并获得了极大的发展势头,但你仍然可以在这里阅读其早期提案和背后的理由 here

🌐 Because of the success of Electron's i18n initiative, Node.js decided to model their revamped i18n effort after the pattern we use as well! 🎉 The Node.js i18n initiative has now been launched and gained great momentum, but you can stil read about the early proposal and reasoning behind it here.

🔦 贡献指南

🌐 🔦 Contributing Guide

如果你有兴趣加入我们,让 Electron 更加国际化,我们有一个方便的贡献指南可以帮助你入门。祝国际化愉快!📚

🌐 If you're interested in joining our effort to make Electron more international friendly, we have a handy-dandy contributing guide to help you get started. Happy internationalizing! 📚