Compile Firefox by yourself. How does Thunderbird use Chinese?

Source: Internet
Author: User
Today, more and more Firefox and Thunderbird enthusiasts are interested. Many friends prefer to compile Firefox and Thunderbird by themselves. The advantage is that they can update and patch the server at any time. Code To obtain a modified version of the vulnerability, which is faster than waiting for the official release of the vulnerability patch. Attacks against browser vulnerabilities are currently an important issue in network security. Patching is a little more secure as early as one minute, not to mention the complexity of compiling Firefox and Thunderbird methods, DIY is also a sense of accomplishment.

However, many of my friends said that their compiled Firefox and Thunderbird do not support Chinese interfaces, which is inconvenient for Chinese users. This is because it is independent.Source codeThe source code of the package release does not contain language packs from other countries. Only the default en-US Language Pack is available. However, there is still a way to allow the compiled Firefox and Thunderbird to support the Chinese interface. For example, you can use the source code management tool mercurial to update the localization part of the entire code tree from the server and then manually edit it. add the "-- enable-ui-locale = ZH-CN" option to compile the Language Pack for the Chinese interface.

What if I use the fixed version of the source code package provided by Mozilla? There is still a way to compile the English interface with the default options, then download the Chinese Language Pack from the Internet, and manually set the interface language options. This article assumes that Firefox and Thunderbird have been compiled, and then download the Chinese Language Pack. Note that the version is consistent. My resources provide Firefox 3.0.1 and Thunderbird 2.0.0.16 Chinese language packs, which can be downloaded from orbit resources. The Language Pack mainly has two files, zh-CN.jar and zh-CN.manifest, which are copied to the chrome directory and then manually set options, the settings for Firefox and Thunderbird are slightly different.

For Firefox, enter "about: config" in the address bar and press Enter. A warning page is displayed. Click "I Will Be careful" to open the configuration page. On the configuration page, enter "local" and "language, change the related value from en-US to ZH-CN, as shown in:

Restart Firefox to view the Chinese interface.

For Thunderbird, select the "tools/option" menu, select the "advance" tab in the option window, as shown in, and click the "configuration Editor" button:

Like Firefox, enter local and language on the configuration page, and change the value from en-US to ZH-CN, as shown in:

After setting, restart Thunderbird to view the Chinese interface.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.