As proposed here https://github.com/lexik/LexikTranslationBundle/issues/454, I have developed a pure JavaScript implementation while maintaining code isolation and similarities with the angularJs version to ease the review. The modifications are limited to translation.js and the grid-related Twig views.
The pure JS implementation support all configuration options (inputType, autoCacheClean, toggleSimilar) except the profilerTokens management, as I didn't fully grasp the concept.
Few improvements have been done compared to the current AngularJs version pushed in separated commits:
Hello,
As proposed here https://github.com/lexik/LexikTranslationBundle/issues/454, I have developed a pure JavaScript implementation while maintaining code isolation and similarities with the angularJs version to ease the review. The modifications are limited to translation.js and the grid-related Twig views.
The pure JS implementation support all configuration options (inputType, autoCacheClean, toggleSimilar) except the
profilerTokens
management, as I didn't fully grasp the concept.Few improvements have been done compared to the current AngularJs version pushed in separated commits:
Edit
Save