Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.6 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.6 KB

Translations generated by Launchpad

How to sync translations from Launchpad?

  • Make sure GOPATH is set and GOINVOKEFLAGS="-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.

Documentation: