Thank you for considering helping to translate BleachBit into your native language! It's hard work, but the web-based interface makes it easier..
- You must read English well.
- You must write well in your native language.
- You need to translate about 1025 English words (as of November 2014). If someone has started translating this language, there will be less work. It is OK to translate some strings but not others.
- You are encouraged to join a Launchpad translation team. If a language team exists for your language, membership is required to approve translations.
Follow this procedure:
- Create a Launchpad account if you don't already have one. BleachBit (and many other projects) use Launchpad to manage translations. Your Launchpad account name will be given credit for the translation in the BleachBit release notes (unless you email me otherwise), so keep this in mind when picking the account name.
- Join a language team under Launchpad Translators if one exists for your language.
- Visit the BleachBit translation page to type translations.
- Click on your language.
- Change All items to Untranslated items and click Change.
- Type and save your translations.
Items marked for review are not shown in BleachBit.
There are several ways to verify your translation. (If you are confident in your work, you may skip these steps.)
- Use the spell checker in your web browser as you type new translations. (Firefox has a nice spell checker.)
- Make Firefox spell check non-form text with a trick.
- Download your translation and use your word processor. From the BleachBit translations page, click Download, choose your language, choose selected files, choose PO format, and download. Check your email for the link. Download the file. Rename it to from .po to .txt. Open it in your word processor for spell checking. Make any changes in Launchpad.
- Download the translation and load it in to BleachBit to see the translations in context. From the BleachBit translations page, click Download, choose your language, choose selected files, choose MO format, and download. Check your email for the link. Download the file. Rename the file to your your locale code (Spanish is es.mo, for example). Move this file to /usr/share/locale/(your locale code)/LC_MESSAGES/ (Linux) or c:\Program Files\BleachBit\share\locale\(your locale code)\LC_MESSAGES (Windows). Run BleachBit.
If you are not clear on how to translate a string, you have several options:
- Download and run BleachBit to understand the context.
- Look for hints. Hints in the source code are copied to the .pot, and Launchpad automatically displays them like this:
- If you have any programming skills, cross reference the source code. The screenshot below indicates you should look in directory bleachbit in the file CleanerBackend on line 170. (The line numbers are sometimes out of sync with the latest SVN trunk.)
- Ask in the forum.
- Email Andrew (using the link in the footer of this web page).
Some strings in Launchpad may not yet exist in the version of BleachBit packaged for download because these strings are intended for the upcoming release. See "Contribute" if you wish to run the latest, unreleased version.
Translations must be licensed under the GNU GPL v3+, the BSD license (without the advertising clause), or both.
BleachBit is under active development, so please check back occasionally for new strings to translate. Consider joining the Launchpad Translators mailing list to find out in advance when BleachBit will be released or look for beta releases on the the news feed.