willdurand / BazingaJsTranslationBundle

A pretty nice way to expose your Symfony translation messages to your client applications.
MIT License
574 stars 179 forks source link

Update getTranslations.js.twig #317

Closed AngelikLy closed 2 years ago

AngelikLy commented 3 years ago

The filter "raw" is necessary to encode language with subtags in javascript file, otherwise there is an error on locale code ("en\u002DUS" for example).

monteiro commented 3 years ago

Hi @AngelikLy,

can you rebase and push, so we can see the green tests? I have fixed one issue with tests here