这篇文章需要文法复核。如何帮忙。
这篇翻译不完整。请帮忙从英语翻译这篇文章。
作为参与到本地化(L10n)项目的先决条件,你需要访问到源码,获取相关工具以及一个配置好的本地环境(也就是你的电脑)。你还需要确定在你的地区是否已经存在一个本地化成果。在参与之前,我们将在这里详述你需要的账户,工具以及这些工具配置的设置。
新的或现有的(本地化)
在其它事情开始之前,你需要了解你是否将创建一个新的本地化或者加入一个已存在的本地化。这将决定在这篇指南以下部分当中,什么信息对你是最适用的。
以下是你要做的内容:
浏览现有的本地化社区名录(localization community directory)查看是否已经存在一个属于你本地的(本地化社区)。
- 如果已经存在(这样的)一个社区,联系他们并询问你可以怎样提供帮助。
- 如果(这样的)一个社区不存在,发送一封电子邮件给新本地化新闻组(new-locales newsgroup)寻求额外的指引。
账户
当你开始时,有少量的账户需要你注意。对于你开始做贡献,它们不是必须的,但当你准备生成一份正式的发布版时,将需要它们。现在,只需意识到这些(账户)将和你努力的进程一样重要。这些账户将存储你的代码,贡献,并帮你生成一份正式的本地化文档。
- hg (Mercurial)
- Mercurial 是一个版本控制环境,存放主要的 Mozilla 源代码和每个正式的 Mozilla 本地化代码。你将需要它来本地化 Mozilla 应用程序。For anyone to gain access to hg repos, you must visit the Mozilla Commiter page and follow the process outlined there. Here is an example bug that illustrates the process well. Use this bug template when filing your hg account registration bug. Add a request about creating your locale's repository to the new locales newsgroup.
- SVN
- SVN 是一个版本控制环境,Mozilla 用来存放 Mozilla 源网站和每一个正式的 Mozilla 本地化。See this wiki page about how to gain access to SVN. Add a request about creating your locale's repository to the new locales newsgroup.
- Web-based L10n tools
- We'll talk about these in a little bit. For now, just be aware that should you choose to use them, you may need to create a personal account.
- Mozilla LDAP
- You will need a Mozilla LDAP account once you're ready to have your localization registered on the main Mozilla repositories. Add a request about creating your LDAP account to the new locales newsgroup.
- Locale-specific Bugzilla component
- Having a Bugzilla component specific to your locale will help us to track your localization's progress from first steps to official release. It will also notify us when you're having problems unique to your localization team's work. Add a request about creating your locale's Bugzilla component to the new locales newsgroup.
Local environment tools
Similar to accounts, there is a number of environment tools that you should install on your personal computer. These tools will help you to store your contributions, build Mozilla applications and language packs, and test your work.
- Hg (Mercurial)
- As noted above, we use Mercurial for maintaining Mozilla source code and localized code. Not only will you need a localization repository to store your localizations, but you need to have it installed and configured on your personal computer as well. You can find everything you need to know about installing and configuring Mercurial for your localization work here.
- compare-locales
- compare-locales is a Python script that helps you check your work without needing to run Firefox or another application. Install intructions are located here.
- L10n checks
- L10n checks is another Python script that helps you check your work without running an application. Install instructions are located here.
- autoconf 2.13
- autoconf is a utility that is vital to manually creating Mozilla application builds and language packs. We use version 2.13 and higher for these builds. You can find the source files and install instructions here.
- wget
- wget is a command-line utility that allows you to retrieve files using internet protocols. We use it for retrieving files from repositories. You can find the source files and install instructions here.
- Perl
- Perl is a programming language that will help you create Mozilla application builds and language packs. You can find the source files and install instructions here.
- Python
- Python is a programming language in which many of our L10n testing scripts are written. You can find the source files and install instructions here.
- Locale Switcher or Quick Locale Switcher
- Both Locale Switcher and Quick Locale Switcher are add-ons for Mozilla applications. Either one is necessary to enable you to see your work within a Mozilla application. You can install either by searching for them in Firefox's add-ons manager or following these links.
- A solid, Unicode-based, text editor
- Here are some suggestions:
- GNU make
- Make is a tool which controls the generation of executables. You can find version 3.79.1 or higher here. Unfortunately, other varieties of
make
won't do.
结束
现在你已经完成你的最初的准备,是时候开始最棒的部分:翻译!