usox/tal-i18n-extract

Extractor for tal i18n translation attributes (port of perls I18NFool cpan package)

0.1.0 2023-12-19 10:34 UTC

This package is auto-updated.

Last update: 2024-12-01 00:15:44 UTC


README

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).