Skip to content
Docs
Changelog

Brazilian Portuguese as the fourth language

pt-BR joins English, German and French in every catalog: web, mobile, error messages and account emails, with public pages under /br, share cards, push texts and the language pickers. A phone set to Brazilian Portuguese now opens the app in Portuguese instead of English.

Markdown

  • Every catalog. apps/web/src/locales/pt-BR.ts, apps/mobile/src/locales/pt-BR.ts, packages/errors/src/locales/pt-BR.ts and packages/email/src/locales/pt-BR.ts hold the same keys and placeholders as English, written with "você" and Brazilian vocabulary. The parity, placeholder and bundle-marker tests cover the fourth catalog. The text was machine-assisted and still needs a native review before a client ships it. See Internationalization.
  • Public pages under /br. locale.config.ts adds "pt-BR" with the slug br: /br/privacy is the Portuguese page, ?lang=pt-BR, ?lang=pt_br and ?lang=pt answer a 301 to it, /pt-BR/privacy redirects to /br/privacy, and Accept-Language: pt-BR sends a first visit from / to /br. Hreflang, the sitemap, og:locale (pt_BR), the share cards, /br/index.md and the language switcher include it. URL segments stay untranslated and English stays the default. See SEO and discovery.
  • The phone's language. The app read only the device's language code, so a phone in pt-BR reported pt, matched no language and opened in English. languageForDevice now matches the device's preferred locales by full tag first, through matchLanguage from @template-cloudflare/intl. Push reminders register in the app's full language (pt-BR) instead of its first two letters, and the settings picker lists Português (Brasil).
  • Emails and notifications. Account emails write dates as 11 de julho de 2026, 12:34 UTC; PUSH_LOCALES and the reminder text include pt-BR (the column is plain text, so no migration).
  • Landing. The language list and the i18n illustration name Portuguese. The four product captures have no Portuguese version yet, so /br shows the English ones with Portuguese alternative text.
Edit on GitHubDocumentation is in English.
Cookie settings
We use essential cookies to make our app work. With your consent, we also use optional cookies to improve your experience.

Read our Cookie Policy and Privacy Policy.