aws-amplify / aws-amplify/amplify-ui
Translations for password error messages
- 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:

### 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
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