lexik / LexikTranslationBundle

This Symfony bundle allow to import translation files content into the database and provide a GUI to edit translations.
MIT License
419 stars 255 forks source link

Angular to js #455

Closed shadowalkerCode-007 closed 1 month ago

shadowalkerCode-007 commented 2 months ago

Hello,

To continue the discussions in this open ticket https://github.com/lexik/LexikTranslationBundle/issues/454

This is my version, of migrating the bundle from old Angular to pure JavaScript, to review.

I tested it with my Symfony 6.4 project and its working fine.

If anything is missing, please let me know.

shadowalkerCode-007 commented 1 month ago

I added some modifications to review.

It includes code cleaning by separating the JavaScript from the Twig file.

I also fixed the empty return when filtering on translations, so it displays the same as translationsUnits.