Skip to content

Add module metadata

clairecadman edited this page May 28, 2019 · 1 revision

Generate the pot file for translation (Metadata)

To generate a pot file, run a rake task that exists and lives in gettext.

bundle exec rake gettext:metadata_pot

This command creates a file called #{module_name}_metadata.pot (puppetlabs-accounts_metadata.pot) located inside the locales folder.

The Forge requires modules to contain the metadata.json file. The Forge uses the metadata to create the module's information page and to provide important information to users installing the module. For more information, see Puppet module metadata.

The two fields that will be exposed for localization are summary and description.