@maxboeck/eleventy-plugin-gettext
v0.1.1
Published
Eleventy plugin for gettext message translation and static extraction
Readme
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
gettextandngettextas functions - remove moment / date handling
Text Extraction
Run npx eleventy-plugin-gettext --extract
