Skip to content

Conversation

@gilhrpenner
Copy link

@gilhrpenner gilhrpenner commented Jan 23, 2026

Description

Add 12 missing Portuguese (Brazil) translations to pt-BR.ts. These translations fill in undefined values that were previously falling back to English.

Note: I am a native Brazilian Portuguese speaker.

Translations added:

  • formFieldInput__emailAddress_format
  • organizationSwitcher.action__closeOrganizationSwitcher
  • organizationSwitcher.action__openOrganizationSwitcher
  • signIn.enterpriseConnections.subtitle / title
  • signIn.passwordCompromised.title
  • signIn.passwordUntrusted.title
  • signUp.enterpriseConnections.subtitle / title
  • taskResetPassword.subtitle
  • unstable__errors.form_new_password_matches_current
  • unstable__errors.form_password_untrusted__sign_in

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other: localization update

Summary by CodeRabbit

  • Documentation
    • Expanded Portuguese (Brazil) translations with comprehensive support for enterprise connections, organization switcher, and password-related error messages, improving user guidance and clarity.

✏️ Tip: You can customize this high-level summary in your review settings.

Add missing Portuguese (Brazil) translations:
- Enterprise connections (signIn/signUp)
- Password error messages (compromised, untrusted)
- Organization switcher actions
- Task reset password subtitle
- Form error messages
@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2026

🦋 Changeset detected

Latest commit: 4f3eebb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/localizations Patch
@clerk/ui Patch
@clerk/chrome-extension Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 23, 2026

@gilhrpenner is attempting to deploy a commit to the Clerk Production Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

📝 Walkthrough

Walkthrough

This pull request updates Portuguese (pt-BR) localization strings by replacing previously undefined values with concrete translations. Changes include adding enterprise connection labels for sign-in and sign-up flows, organization switcher action text, email address format examples, and password validation error messages. A changeset entry documents the patch version bump for the @clerk/localizations package. The modifications affect only localization data without altering code logic or exported signatures.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(localizations): update pt-BR translations' accurately describes the main change—adding missing Portuguese Brazil translations to replace undefined values.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.changeset/friendly-birds-dance.md:
- Around line 1-5: Add or update localization tests to cover the new pt-BR keys
introduced for enterprise connections, password errors, and the organization
switcher: write a test that imports the '@clerk/localizations' pt-BR bundle (or
the existing localization snapshot/test helper), asserts the presence and
expected shape/strings of the keys enterpriseConnections, passwordErrors, and
organizationSwitcher (or update an existing pt-BR snapshot to include these
keys), and commit the updated snapshot or new assertions so CI will catch
regressions.

Comment on lines +1 to +5
---
'@clerk/localizations': patch
---

Add missing pt-BR translations for enterprise connections, password errors, and organization switcher
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add or confirm tests for these localization additions.

No tests were added or updated in this PR; please add coverage or point to existing localization snapshot tests that validate the new pt-BR keys to avoid regressions. As per coding guidelines.

🤖 Prompt for AI Agents
In @.changeset/friendly-birds-dance.md around lines 1 - 5, Add or update
localization tests to cover the new pt-BR keys introduced for enterprise
connections, password errors, and the organization switcher: write a test that
imports the '@clerk/localizations' pt-BR bundle (or the existing localization
snapshot/test helper), asserts the presence and expected shape/strings of the
keys enterpriseConnections, passwordErrors, and organizationSwitcher (or update
an existing pt-BR snapshot to include these keys), and commit the updated
snapshot or new assertions so CI will catch regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant