Forge Home

translate

Puppet module that provides the translate() function for internationalization.

7,208,400 downloads

2,239,809 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.2.0 (latest)
  • 2.1.0
  • 2.0.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.1.0
released Mar 23rd 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
  • Puppet >= 5.5.10 < 7.0.0
  • , , , ,
This module has been deprecated by its author since Mar 19th 2021.

Start using this module

Documentation

puppetlabs/translate — version 2.2.0 Mar 23rd 2020

translate

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with translate
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Contributors

Module description

This module provides the translate function for Puppet. Wrapping a string in this function will mark it to be picked up by gettext and put into the .pot file for translation purposes. Currently, we are only marking failures, errors, and warnings in Puppet Supported modules. Feel free to do what you like with your own.

Setup

Install this module with the Puppet Module Tool:

puppet module install puppetlabs-translate

Reference

For information on the classes and types, see the REFERENCE.md

Limitations

We do not yet support pluralization.

Development

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad hardware, software, and deployment configurations that Puppet is intended to serve. We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. For more information, see our module contribution guide.

Contributors

The list of contributors can be found at: https://github.com/puppetlabs/puppetlabs-translate/graphs/contributors.