Poedit Guide
Prerequisites
- Install Poedit using your package manager or via Flatpak.
- Ensure you are logged into your GitHub account.
Download Source File
- The source file can be found in the
po
directory: Bluetooth-Battery-Meter.pot
.
Download
Methods
Begin by choosing one of the following methods:
- Create translation PO files for a new language: Use this method when no contributions have been made in your language, and a
po
file for the language does not exist. - Update translation PO file for an existing language: Choose this if you want to correct or add translations in an existing
po
file for a language.
Create Translation PO Files for a New Language
Example: Creating a Brazilian Portuguese Translation
1. Click Create new...
2. Select Bluetooth Battery Meter.pot
and Click Open
3. Select language and Click Ok
4. Select the string to translate.
5. Enter the translation for the selected string.
6. Repeat for other strings.
7. Once complete, click Save
.
8. Save the file with a .po
extension.
9. Once the file is saved (e.g., pt_BR.po
for Brazilian Portuguese), create a Pull Request on GitHub.
Pull Request Guide
Update Translation PO File for an Existing Language
Example: Updating a Brazilian Portuguese Translation
1. Click Browse files...
2. Select pt_BR.po
and Click Open
3. Click Translation
and Update from POT File
4. Select the pot file and Click Open
5. Select the string to translate.
6. Enter the translation for the selected string.
7. Repeat for other strings.
8. Once complete, click Save
.
9. Once the file is saved (e.g., pt_BR.po
for Brazilian Portuguese), create a Pull Request on GitHub.
Pull Request Guide