Skip to content

usox/tal-i18n-extract

Repository files navigation

tal-i18n-extract

Unittests

Extract translation keys out of PHPTAL templates.

This is a php port of the I18NFool CPAN perl-package.

Usage

./bin/tal-i18n-extract path-to-file(s).xhtml

All found translation keys will be printed out POT-formatted.

Beware

All templates must contain valid xml and have to define the i18n-namespace (see example).