-
Notifications
You must be signed in to change notification settings - Fork 12
Target locations for the localized files
ehom edited this page May 28, 2019
·
2 revisions
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:
After localization:
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