Skip to content

Extracts gettext phrases from PHP files and Nette Framework templates

Notifications You must be signed in to change notification settings

woytam/gettext-extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GettextExtractor

Cool tool for extracting gettext phrases from PHP files and templates.

Dependencies

Dependencies are installed with composer. You can use these commands:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

Usage

php console.php [options]

Options:
  -h            display this help and exit

e.g.: php console.php extract:pot -l outup/log.txt output.pot path/to/extract

Supported file types

  • .php
  • .latte (Nette Latte templates)

License

GettextExtractor is licensed under the New BSD License.

Copyright

  • 2009 Karel Klima
  • 2010 Ondřej Vodáček
  • 2018 Jiří Dorazil

About

Extracts gettext phrases from PHP files and Nette Framework templates

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.3%
  • HTML 1.7%