aws-amplify / aws-amplify/amplify-ui

Translations for password error messages

Open
#5,481 6 comments 2 reactions 0 assignees View on GitHub
Authenticator feature-request
Dominant language
TypeScript
Stars
1.1k
Forks
347
Avg merge
18h 29m
Merged PRs (30d)
9

Description

### On which framework/platform would you like to see this feature implemented?

React

### Which UI component is this feature-request for?

Authenticator

### Please describe your feature-request in detail.

I would like to change the language of the password validations:
![image](https://github.com/user-attachments/assets/ba774b68-c849-440c-b001-1b344517416e)

### Please describe a solution you'd like.

Ship the translations with the library. Or add the possibility to modify translations with dictionaries.
I18n.putVocabularies(translations);
I18n.setLanguage('es');
I18n.putVocabularies({
es: {
'Sign In': 'Registrarse',
'Sign Up': 'Regístrate',
},
});

### We love contributors! Is this something you'd be interested in working on?

- [ ] 👋 I may be able to implement this feature request.
- [ ] ⚠️ This feature might incur a breaking change.

Contributor guide

Open the contributing guide

Research direction

Start at the React Authenticator component and review how its password validation messages are produced, using the I18n.putVocabularies and I18n.setLanguage examples in the issue as the requested behavior. Done means password validation messages can be translated or overridden with dictionaries without leaving the Authenticator.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
authentication, frontend, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.