ondra/gettext-extractor

提取gettext消息的工具

1.0.1 2024-02-29 13:23 UTC

This package is auto-updated.

Last update: 2024-09-29 15:42:28 UTC


README

从PHP文件和Latte模板中提取gettext短语的工具。输出以.pot文件形式生成。

基于voda/gettext-extractor的分支。实现了Latte3支持等功能。

Latest Stable Version Total Downloads License

安装

要安装gettext-extractor,请使用composer安装

$ composer require ondra/gettext-extractor

支持的文件类型

  • .php
  • .latte (Nette Latte模板)

许可证

GettextExtractor遵循新BSD许可证。

基于Karel KlímaOndřej Vodáček的代码。