Skip to content

Allow error messages to be translated #1186

Description

@wesleybl

BUG/PROBLEM REPORT / FEATURE REQUEST

What I did:

With Volto, on a website in Portuguese, I accessed a private page with an anonymous user.

What I expect to happen:

I expect the error message to be displayed in Portuguese.

What actually happened:

The message in English was displayed:

You are not authorized to access this resource.

This message comes from Zope exception:

m = "You are not authorized to access this resource."

Would it be possible for the message to be a msgid instead of a string?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions