Home » Cakephp » CakePHP generate localization pot file

CakePHP generate localization pot file

Generate Pot file

./Console/cake i18n extract

Generating POT files for plugins

./Console/cake i18n extract --plugin <Plugin>

Model validation messages

./Console/cake i18n extract --validation-domain validation_errors

You can also prevent the shell from extracting validation messages:

./Console/cake i18n extract --ignore-model-validation

Excluding folders

./Console/cake i18n extract --exclude Test,Vendor

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

*