ondra / gettext-extractor
tool for extracting gettext messages
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/ondra/gettext-extractor
Requires
- php: >=8.0
- latte/latte: ^3.0
- nette/utils: ^3.0 || ^4.0
- nikic/php-parser: ^4.2
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.
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.