ondra/gettext-extractor

tool for extracting gettext messages

1.0.1 2024-02-29 13:23 UTC

This package is auto-updated.

Last update: 2024-05-29 14:55:00 UTC


README

Tool for extracting gettext phrases from PHP files and Latte templates. Output is generated as a .pot file.

Fork of voda/gettext-extractor. Implements Latte3 support and more.

Latest Stable Version Total Downloads License

Installation

To install gettext-extractor install it with composer:

$ composer require ondra/gettext-extractor

Supported file types

  • .php
  • .latte (Nette Latte templates)

License

GettextExtractor is licensed under the New BSD License.

Based on code from Karel Klíma and Ondřej Vodáček.