pot: Generate gettext translation template files

Generate gettext translation template files.

Syntax

bin/zotonic pot zotonic|<site_name>

Requirements and effects

Requires a running node, the relevant translation support, and gettext command-line tools.

Pass a site name for that site or zotonic for the core modules. The command writes POT files; it is not a read-only report. Run it as part of translation work, review the changes, and merge the template into PO files separately.

Example

bin/zotonic pot garden

Run commands from the Zotonic workspace root. Replace garden with your site name where applicable.