# pot: Generate gettext translation template files

Source: https://zotonic.com/docs/3024/pot-generate-gettext-translation-template-files

URI: https://zotonic.com/id/3024

Language: en

Generate gettext translation template files.

Syntax
------

```text
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
-------

```sh
bin/zotonic pot garden
```

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

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3024?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3024?language=en>)
