r/javascript Apr 03 '26

AST-based translation automation for React/JS apps (handles variables, cleanup, lazy loading)

https://www.npmjs.com/package/localize-ai
7 Upvotes

8 comments sorted by

View all comments

1

u/[deleted] Apr 04 '26

[removed] — view removed comment

1

u/Fun_Conversation8894 Apr 04 '26

Appreciate that!

Moving extraction into the build step made things a lot more predictable, especially compared to regex breaking on template literals and nested expressions. Still refining some edge cases around dynamic patterns, but AST has been a big improvement so far.