Pour toutes questions sur nos formations Drupal, n'hésitez pas à nous contacter.
The Translation template extractor provides a web based and a command line Gettext translation template extractor interface for Drupal as well as a reusable API to look for translatable strings and translatability errors. This tool is used under the hood at http://localize.drupal.org/ as well to serve as a parsing machine for Drupal.org project releases.
Translation templates are used by teams to translate Drupal to their language of choice. There are basically three ways to use the contents of this project:
potx.inc and potx-cli.php to the directory you would like to generate translation templates for and run php potx-cli.php. The translation templates will get generated as separate files in the current directory. Use php potx-cli.php --help to get a list of command line options.If you only get a white browser screen as response to the extraction request, the memory limit for PHP on the server is probably too low, try to set that higher or parse a smaller number of modules at once.