mazagran / translation
Translation extension for Nette Framework
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 0
Type:nette-addon
Requires
- php: >=5.5.0
- matthiasmullie/minify: ^1.3
- nette/neon: *
- nikic/php-parser: *
- symfony/console: *
- vipsoft/unzip: @dev
Suggests
- bazo/nette-console-extension: Running the CLI commands
- kdyby/console: Running the CLI commands
This package is not auto-updated.
Last update: 2024-11-23 13:52:45 UTC
README
This is a companion extension for kdyby/translation
For now it has two commands: Extract - will extract translatable tokens from php and latte files in your project
Compile - compiles kdyby/translation compatible catalogs without overwriting existing translations. automatically creates catalogs by domains if using keyword identifiers
Usage:
just add this line to your config.neon
extensions:
- Bazo\Translation\DI\TranslationExtension
tests are coming back soon