Download the PHP package coffreo/jms-translation-js-extractor-bundle without Composer
On this page you can find all versions of the php package coffreo/jms-translation-js-extractor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coffreo/jms-translation-js-extractor-bundle
More information about coffreo/jms-translation-js-extractor-bundle
Files in coffreo/jms-translation-js-extractor-bundle
Package jms-translation-js-extractor-bundle
Short Description Add javascript translation extractor for jms/translation-bundle package
License MIT
Informations about the package jms-translation-js-extractor-bundle
Coffreo/jms-translation-js-extractor-bundle
By Coffreo
Extract translations from Javascript source files.
- Recommended
willdurand/js-translation-bundle
Same bundle exists for PHP Translation: see Coffreo/php-translation-js-extractor-bundle
Installation
Application with Symfony flex
Application without Symfony flex
-
Install bundle:
-
Enable bundle:
-
symfony 3.* ``
- symfony 4.* (if not already added by
symfony/flex
) ``
-
Usage
This bundle allow extraction of translated strings in javascript files using Coffreo/js-translation-extractor.
No specific command line to use, just use originals jms/translation-bundle
commands:
`
Translations found are automatically added to current translations files as PHP, twig ones.
Configuration
This bundle doesn't need configuration.
However, to extract strings from JS files, you must indicate where are stored your JS files in jms/translation-bundle
configuration.
Developer commands
-
Run tests:
- Apply coding standard
Coding standard must be applied before commit, TravisCI will fail otherwise
License
This project is licensed under the MIT License - see the LICENSE file for details
All versions of jms-translation-js-extractor-bundle with dependencies
coffreo/js-translation-extractor Version ^0.1
jms/translation-bundle Version ^1.4@dev