Skip to content

Not possible to add i18n to exception messages #5777

Open
@angelorodem

Description

@angelorodem

Description

We have the app in another language that is not English, the issue is that sometimes errors like "User does not exist", "Session expired", "Too many requests" appear in english making the user confused on what to do.

i could not find a way to change the message Strings for these exceptions in amplify-flutter, i need a little help to understand if this is somehow possible.

Thank you!

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Have an app with auth not in english
  2. Cause an error
  3. Message in English will appear

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.27.0

Amplify Flutter Version

2.3.1

Deployment Method

Amplify CLI (Gen 1)

Schema

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AuthenticatorIssues related to the Authenticator UI ComponentauthIssues related to the Auth Categoryfeature-requestA request for a new feature or an enhancement to an existing API or category.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions