- Make sure
GOPATH
is set andGOINVOKEFLAGS="-mod=readonly"
. - Run
update-pot
to generate latest translation template (po/snappy.pot
). - Import generated translation template to the snappy entry.
- Wait until import is approved. You can monitor status in the import queue.
- Export latest translations (download link will be sent to your email).
- Extract archive:
tar -xvf launchpad-export.tar.gz
. - Create new directory to store processed translations
mkdir processed
. - Run the following to remove the
snappy-
prefix, remove obsolete#-
messages (--no-obsolete
) and exclude untranslated messages (--translated
):for file in snappy-*; do msgattrib --no-obsolete --translated --output-file="processed/${file#snappy-}" "$file"; done;
- Replace old translations under
/po
with new translations.