Status: English, Arabic, Spanish and French (2026-10-05); German, Portuguese (Brazil) and Turkish (2026-10-07). Tests: packages/kit/tests/locale.test.ts, apps/auth-broker/tests/signin.test.ts, apps/auth-broker/tests/units.test.ts, apps/auth-broker/tests/mailer.test.ts, apps/id/tests/signin.test.ts, packages/client/tests/client.test.ts.
Everything a person reads from Passkin — the hosted sign-in pages, Passkin ID, the emails, the account components (React and web components) and the sign-in widget — is in English, Arabic (right to left), Spanish, French, German, Portuguese (Brazil) and Turkish. A string missing from any language is a type error: each table is typed from the English one, so a new sentence cannot ship in one language only.
How the language is chosen
| Where | Order |
|---|---|
| A hosted sign-in page | the person's pick (?lang=, remembered for that sign-in) → the site's ui_locales parameter → the browser's Accept-Language → English |
| Passkin ID | ?lang= → the browser's Accept-Language → English |
| Components | the lang prop or attribute → the page's <html lang> → English |
| An email | the language of the sign-in it belongs to; an invitation takes locale from the request |
Accept-Language is read in the reader's own order of preference — q-values first, then the order written — not just by its first tag: "pt, es;q=0.9, en;q=0.5" is Spanish. A regional tag ("es-MX", "ar-EG", "fr-CA") is its language.
Every page's footer links every other language, by its own name ("English · العربية · Español"), without JavaScript. The discovery document lists them as ui_locales_supported.
Adding a language
packages/kit/src/html.ts: add it toLOCALESandLOCALE_NAMES(its own name for itself), and toSECURED_BY(the footer). French, like other languages that set a space before: ; ? !and inside « », uses a non-breaking space there (\u00a0), so a line never wraps in front of a mark. If it reads right to left, add it toRTL.- A table in each place that has words, typed from the English one — the compiler lists what is missing:
apps/auth-broker/src/pages/strings.ts,apps/id/src/pages/strings.ts,packages/client/src/i18n.ts(the components), and the small tables inapps/auth-broker/src/mail-templates.ts,apps/id/src/routes/connect.tsandapps/auth-broker/src/widget/widget.ts. Add it toLANGSinpackages/client/src/i18n.ts. - The consent text for the optional Verified layer (
packages/db/src/legal/notices.ts) needs the language too — and counsel's approval of the new text: the approval is of the exact words in every language, so adding one voids it until it is approved again (VERIFIED.md). - Run the tests: the language tests check that every table has every key, and that a page, an email and a component speak it.
Translations are written by engineering from the English and are reviewed by a native speaker before a language is announced; a mistake is a pull request to the table. The Spanish, French, German, Portuguese and Turkish have not yet had that review. The French addresses the person as vous, calls a passkey a clé d’accès, and follows the usage of the large French-language products for code de récupération and authentification unique. The German addresses the person as Sie and keeps Passkey; the Portuguese is Brazil's (você, chave de acesso, senha); the Turkish uses siz and geçiş anahtarı.
The consent text of the optional Verified layer stays in the four languages counsel approved; a person reading Passkin in German, Portuguese or Turkish sees it in English until counsel approves a translation (apps/id/src/routes/verified.ts, noticeLocale).
Not built
Hindi, Persian, Urdu, Indonesian, Japanese, Chinese and the rest; the Verified consent text in German, Portuguese and Turkish (counsel); locale-aware number and currency formatting beyond dates; a translation-management service with community review; per-project overrides of a sentence; the dashboard (it is English only).