Skip to content

Target locations for the localized files

ehom edited this page May 28, 2019 · 2 revisions

Where to put the .po file

After the localization of the .pot file is done, put it in the <module-name>\locales\locale-id folder and name it <module-name>.po.

For example:

Before localization:

puppetlabls-mysql.pot

After localization:

puppetlabs-mysql.po

What about README.md?

Puppet Forge looks in <module-name>/readmes for README_<locale-id>.md if the browser language is not set to English. It will fallback to the default version if the corresponding non-English version is not found.

For example, the README.md from puppetlabs-mysql gets localized and then goes here:

puppetlabs-mysql/readmes as README_ja_JP.md