Skip to content

Instantly share code, notes, and snippets.

@garbas
Created August 11, 2010 22:42
Show Gist options
  • Save garbas/519928 to your computer and use it in GitHub Desktop.
Save garbas/519928 to your computer and use it in GitHub Desktop.
#!/bin/sh
PRODUCTNAME='collective.gallery'
I18NDOMAIN=$PRODUCTNAME
# Synchronise the .pot with the templates.
i18ndude rebuild-pot --pot locales/${PRODUCTNAME}.pot --create ${I18NDOMAIN} .
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/${PRODUCTNAME}.pot locales/*/LC_MESSAGES/${PRODUCTNAME}.po
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment