BazingaJsTranslationBundle
BazingaJsTranslationBundle copied to clipboard
A pretty nice way to expose your Symfony translation messages to your client applications.
Hello, Thanks to your fix. But when I try to get the last version by : composer require willdurand/BazingaJsTranslationBundle I obtain the tag 2.6.6 version but not the master version....
…ons line 3", if file minifier is used
Followed documentation and yet have a problem. Translator returns translation keys instead of translations. Full explanation of the issue at hand [on StackOwerflow](https://stackoverflow.com/q/52536774/3137047). What am i missing?
I am using Symfony 4.1 with installed Webpack Encore. Translator is properly imported by `var Translator = require('bazinga-translator');` but I am receiving that error in my console: `Uncaught ReferenceError: Translator...
Fix error : Uncaught SyntaxError: Unexpected end of input in translations line 3 Generated code : ``` (function (t) {t.fallback = 'en'; t.defaultDomain = 'messages';//frt.add("app.cookie.dontdisplay","Ne plus afficher", "messages", "fr");t.add("app.cookie.readmore","En savoir...
Deprecation warning on composer install: `Deprecation Notice: Class Bazinga\Bundle\JsTranslationBundle\Tests\AppKernel located in ./vendor/willdurand/js-translation-bundle/Tests/Fixtures/app/AppKernel.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.`
This also avoids a deprecation notice from composer when generating an optimized autoloader due to the fixture app of the tests not following the PSR-4 convention configured for sources (while...
I have decorated the translator service in my project with runtime translations, but the changes from there are not reflected in the output from this bundle. When investigating the controller,...
i get the error when running "php bin/console bazinga:js-translation:dump public/js/bazinga_jstranslation_js --format=json". my setup: PHP 7.4 Symfony 5 willdurand/js-translation-bundle: 3.0.0
Hello, I'm having a struggle since it's not working for me (I've running Symfony 3.4 +`js-translation-bundle` v2.6.5) ```html ``` When I have a `{_locale}` in french (let's say `/fr/homepage`), the...