DEV Community

Cover image for Introducing Lingo.dev Compiler: Localize a React app without rewriting its code

Introducing Lingo.dev Compiler: Localize a React app without rewriting its code

Max Prilutskiy on June 03, 2025

Today, we're introducing Lingo.dev Compiler: An npm library, that lets you build multilingual React apps without having to rewrite the existing Rea...
Collapse
 
ryanguitar profile image
Ryan Els

The Compiler is truly amazing 🤩 👌

Collapse
 
nevodavid profile image
Nevo David

insane, feels like this saves so much brainpower tbh - you think stuff like this will end up just being the default for all web dev, or will there always be people sticking to the old ways?

Collapse
 
chiragagg5k profile image
Chirag Aggarwal

Thats such a huge problem Lingo just solved, cudos to the team 👏

Collapse
 
mathio profile image
Matej Lednický

Really excited we got this one out to the public! Go team 👏

Collapse
 
javadd profile image
zayn

just do it you are not on your own buddy

Collapse
 
dotallio profile image
Dotallio

This is so impressive, I love how you sidestep the extract-and-wrap grind completely. Have you run into any tough edge cases with dynamic content in big apps?

Collapse
 
vrcprl profile image
Veronica Prilutskaya 🌱

This looks cool! Excited it is finally launched!

Collapse
 
urlrw profile image
Url.rw

Highly recommended

Collapse
 
omriluz1 profile image
Omri Luz

Hey Max, Looks great! 2 Critics I have about it though, Maybe I could open an issue soon

  1. There is no way to match the locale to a url specific languge (/fr /es etc) when switching language (for SEO purposes its important)
  2. is there a way to customize the localeswitcher component? with maybe flags or anything i want and pass a component and a localeId or something?
Collapse
 
theminimalcreator profile image
Guilherme Zaia

This is an impressive approach to localization, Max! By processing the AST at build time, you're tackling a longstanding pain point in multilingual React applications. What measures are in place to ensure context remains intact during translation? I'd love to see examples of how this has improved workflow efficiency in larger codebases! 👍

Collapse
 
nathan_tarbert profile image
Nathan Tarbert

Pretty cool honestly, nothing kills momentum faster than dealing with manual translations so making this hands-off is big for me