Skip to content

Internationalize a Puppet module

ehom edited this page May 31, 2019 · 31 revisions

As an independent software developer, I want to make my Puppet module output in another language so that non-English speaking customers can use my module too.

This document takes you through the following steps:

1. Setting up

Prepare Gemfile

Prepare Rakefile

Install module dependency

2. Produce the .pot file from your Ruby code

Mark your strings for translation (Ruby)

Generate the .pot file for translation (Ruby)

3. Produce the .pot file from your Puppet code

Mark your strings for translation (Puppet)

Generate the .pot file for translation (Puppet)

4. Produce the .pot file from metadata.json

Generate the .pot file for translation (Metadata)

5. Merge your three .pot files into one

Produce a single .pot file before Localization

6. Localize your one .pot file

Localize your .pot file

Localize the README.md

7. After localization

Target locations for the localized files