BazingaJsTranslationBundle
BazingaJsTranslationBundle copied to clipboard
Document how to use with AssetMapper
I'd like to use this bundle with AssetMapper, and install the translations during the compile that than from a script tag.
Like the jsRoutingBundle, this is a bit a tricky, since you can't simply load JSON:
https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/issues/466
It certainly looks possible, to dump the message as js rather than json and then load it, but I was wondering if anyone had already done this and could point to how to do it.
Thanks!