aypineau

Joined 2 years ago

Karma
5
Submissions
36
Member since
Aug 13
FullStack Developer & Creator of an internationalization solution for your JavaScript / React / NextJS applications.

Learn more about the solution: - https://github.com/aypineau/intlayer - https://intlayer.org

View on Hacker News

Recent submissions

Comment · 2 months ago
I'm really skeptical about this rewrite I chose to adopt bun about a year ago, and I've honestly lost count of the number of issues i've submitted and the amount of time i've wasted dealing with them. If I had to make the choice again, I would probably stick with node and pnpm for serious projects We're constantly being sold on promises of -XX% ram usage, but in practice, it's often builds randomly failing for no apparent reason, memory leaks bringing applications down, and instability that ends up costing far more in engineering time than the resources saved That's why i'm worried that bun 1.4 could end up being a step backwards, once again putting into question the small amount of stability we've managed to achieve so far

But I still strongly believe the project makes a lot of sense, and I genuinely think these issues can be solved by 2028, if the project keeps its focus on stability instead of another SDK for SQL, web sockets, image compression, or whatever comes next

Comment · 6 months ago
Comment · 11 months ago
Over the last few years, we’ve started to see a new category of i18n tooling: compiler-based solutions. The compiler promises a kind of “magic” that makes your app multilingual with almost no effort. And to be fair, this compiler is trying to solve a very real problem: How do we avoid wasting time once we decide to make an app multilingual? I built a compiler to address what was the most requested feature, and I wanted to share some conclusions about this approach compared to traditional ones: What are the limits of this approach? What are the risks for your bundle size or runtime? When should you adopt (or avoid) this kind of solution? The reality is that the compiler does not bypass how browsers load and process JavaScript. Because of that, it often ends up being less optimized for your specific application than more traditional i18n approaches. However, a compiler-based approach does introduce an innovative workflow that significantly reduce the time spent managing translations, as well as the risk of bundle explosion.

The real opportunity is to understand where this “magic” genuinely adds value, and how those concept might influence the next generation of i18n tools

Comment · 11 months ago
It is surprisingly common to see developers hitting a wall with i18next. While it is a powerful internationalization framework, the learning curve is steeper than most admit.

Because AI tools like ChatGPT almost always recommend i18next as the default standard, many developers get lulled into a false sense of security by basic "get started" tutorials. They get it running, but is it actually production-ready?

Frequently, I see that SEO being completely overlooked. Things like localized metadata, proper Hreflang tags, link adaptation, and multilingual sitemaps are often missing.

Even more concerning is the performance hit. Since the AI boom, countless projects fail to utilize namespaces, accidentally bundling every translation string into a single payload. This means a user visiting one page is forced to download the text for every page in every language-resulting in a massive amount of dead code (often upwards of 50%). If you run a bundle analyzer, you’ll likely see the damage.

To fix this, I’ve put together a comprehensive walkthrough on architecting a Next.js 16 application with i18next properly for 2025.

Comment · 11 months ago
I see people struggling with i18next far too often. And indeed, it is an internationalization technology that can be complicated to pick up.

Despite this, i18next is the default solution ChatGPT suggests for your i18n. We often get tricked by "Get Started" pages (sure, it works, but is it actually done well?).

In practice, I see many projects skipping the most critical parts of internationalization, specifically SEO: Translating metadata, Hreflang tags, Link localization, Sitemaps and robot.txt handling

Even worse, nearly half of the projects using i18next (especially since the rise of AI) don't manage their content in namespaces or load all namespaces on every request.

The impact is that you might be forcing every user to load the content of all pages in all languages just to view a single page. For example: with 10 pages in 10 languages, that’s 99% of loaded content that is never even accessed). Advice: use a bundle analyser to detect it.

To solve this, I have a guide on how to properly internationalize a Next.js 16 app with i18next in 2025.

Let me know your thoughts

Comment · 1 year ago
We're launching Intlayer v7, an i18n framework that works alongside i18next, react-intl, vue-i18n, and other libraries instead of replacing them. The problem: You're using i18next but want AI translation. Or you need centralized content management but don't want to migrate everything. Or missing translations keep slipping into production because there's no automated testing. Most i18n tools force you to choose their entire ecosystem or nothing. Our approach: Intlayer is a compatibility layer. It sits between your app and your existing i18n library, adding:

Multi-AI provider support (ChatGPT, Claude, DeepSeek, Mistral with your own API keys) CMS integration for externalized content management Automated translation testing in CI/CD (Jest/Vitest compatible) Git-aware tracking that only translates what changed

How it works: The plugin system intercepts your existing i18n library calls to provide additional functionality (content externalization, testing hooks, AI fallbacks) while core translation logic stays in your chosen library. v7 rebuilt the caching system for faster builds, optimized TypeScript generation, and reduced bundle sizes. The integration layer adds minimal overhead, translation lookups pass through to your existing library. Tech stack: Works with React, Next.js, Vue.js, Nuxt.js, Vite. MIT licensed, built in TypeScript. Documentation: https://intlayer.org/doc/releases/v7

Curious about feedback on the compatibility layer architecture and if others have solved similar problems differently.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton