

What changed
Adding or removing a language changes the database, so it needs a new version of the site with its database update. Until now the languages sat in a settings file that a server reads at each restart, so a restart could change them without that update. Now they are part of the project’s code, in one small file, and ship with the rest of the site. The old settings stop the site at start with a message saying where to move them, so nothing changes by mistake. This demo still has English, Spanish and Catalan.
Where to see it
Developers: project/locales.ts, and the template-site README, “Languages”. LOCALES or DEFAULT_LOCALE in an env file now stops the app and the scripts with that message; pnpm check:project names the file. Tests and scratch databases pick other languages with APEX_LOCALES_OVERRIDE, never on a server. The sync writes project/locales.ts from a project’s old values, and the apex-upgrade skill finishes the move.