I wanted one codebase that a person in Miami and a person in Bogotá could both use in their first language, install on a phone, and keep using even before a public store listing existed. The result is a Next.js app that runs in the browser, installs as a progressive web app, and is also wrapped as an Android Trusted Web Activity for Google Play closed testing.
The product is Plenifa , an AI life coach and language tutor. I’ll mention it where the architecture and the Play review are about this app, and I’ll be precise about what is — and is not — on the Play Store.
English and Spanish as first-class URLs
The app is a Next.js App Router project (we build with Node 22 and a standalone server output). The public site is bilingual in a deliberately boring way:
English is the bare URL, and also x-default .
Spanish is the same path with ?lang=es .
The canonical tag follows the lang query only. It does not follow Accept-Language or a language cookie.…