@maxboeck/eleventy-plugin-gettext

0.1.1 • Public • Published

Eleventy Gettext Plugin

Plugin for gettext string extraction and translation. Original code by Sebastien Gissinger: eleventy-plugin-i18n-gettext

This modifies the original plugin to:

  • add a command line script for text extraction
  • generate a valid PO file from extracted messages
  • add gettext and ngettext as functions
  • remove moment / date handling

Text Extraction

Run npx eleventy-plugin-gettext --extract

/@maxboeck/eleventy-plugin-gettext/

    Package Sidebar

    Install

    npm i @maxboeck/eleventy-plugin-gettext

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    16.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • maxboeck