Skip to main content

国际化更新

· 7 min read

自新的国际化 Electron 网站 launch 以来,我们一直致力于让英语世界以外的开发者更容易获得 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 文档国际化工作以来,我们看到来自世界各地的 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 国际化计划的成功,Node.js 决定效仿我们使用的模式来构建 他们改进的国际化工作 版本!🎉 Node.js 国际化倡议 现已发布并获得了巨大的发展势头,但你仍然可以阅读有关 此处 的早期提案及其背后的原因。

¥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! 📚