Skip to content

Translation Workflow

Matthias Rüster edited this page Apr 9, 2022 · 10 revisions

Requirements

Install git-po-helper from https://github.com/git-l10n/git-po-helper

Prepare po/de.po for translation

git-po-helper update po/de.po
git commit --signoff -a -m "Update de.po for new translations"
# start translating po/de.po

Check if everything was translated

git-po-helper check-po po/de.po
git commit --signoff -a -m "l10n: de.po: Update German translation"
# squash both commits for pull request to git-l10n/git-po.git

Finding untranslated messages in de.po

pcregrep -nM 'msgstr ""\n\n' po/de.po

Check for long lines in de.po

grep '.\{80\}' po/de.po
# or: awk 'length>79' po/de.po