Skip to content

Idea: Make it possible to translate only the key of the resource in flash message #1062

@crydotsnake

Description

@crydotsnake

Description

Hello!

Currently in Sylius, when i change my backend to german and i for example update a product, it says:

"Product wurde erfolgreich aktualisiert".

As you can see "Product" is not correctly translated.

I dont know if there is a way to only translate the key of the resource (Product) in this case.

I only found a way to translate the hole resource flash message string with:

sylius:
 resource: My string

But this affects every resource.

So far i dont found a way to translate only the resource key.

Example

No response

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions