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

Pure JS implementation #454

Open raziel057 opened 3 months ago

raziel057 commented 3 months ago

As AngularJS support has officially ended as of January 2022 and there are moderated CVEs https://security.snyk.io/package/npm/angular/1.8.3 it would make sense to replace it with another implementation.

In my mind the best would be to have a JS native one to be agnostic of JS libraries. For sure it require a complete rewrite of translation.js file but it seems possible.

What do you think about this?

bartmcleod commented 3 months ago

I would favor a rewrite in functional React maybe? Or Vue.js. It would still require a considerable amount of time though.

raziel057 commented 2 months ago

@bartmcleod The issue is you will still have hard dependency on a JS heavy library (that you will have to adapt to support latests releases) for a component that requires few JS needs.

I will try to work and create a pull request with pure JS implementation.