translate

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

Puppet

puppetlabs

4,869,943 downloads

532,949 latest version

5.0 quality score

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
  • Debian
    ,
    RedHat
    ,
    CentOS
    ,
    Ubuntu
    ,
    Windows

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.