Skip to main content

Buildout recipe to extract i18n files in Silva

Project description

infrae.i18nextract is a buildout recipe which create a script to extract i18n strings from multiple packages into a .pot. A script to merge all available translations is also available.

The script support extraction from Python Script, Zope Page Template, Chameleon Page Template, Formulator forms and Silva Metadata schemas.

Exemple in buildout:

[silva-translation]
recipe = infrae.i18nextract
packages =
   silva.core.views
   silva.core.smi
output = ${buildout:directory}
output-package = silva.translations
domain = silva
extra-paths = ${zope2:location}/lib/python

Changes

1.1 (2010-04-26)

  • Add support for extra-paths so the recipe can be used with older Zope version in buildout.

  • Add a script to merge translations.

1.0 (2010-04-02)

  • Initial version, built from previous Infrae package i18nextract-sa.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infrae.i18nextract-1.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page