Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Make breed translations easier to use #69

Open
ramondelafuente opened this issue Aug 20, 2017 · 1 comment
Open

Make breed translations easier to use #69

ramondelafuente opened this issue Aug 20, 2017 · 1 comment

Comments

@ramondelafuente
Copy link
Member

Every breed has a translation, that currently requires you to concat a string in the view (which is a pain):

("herding.breed." ~ breed)|trans

We should try to In order to make those translations more easy to use.
Putting them in their own translation domain could help.. or a special transBreed filter for Twig that abstracts the additional string concatination...

@ramondelafuente
Copy link
Member Author

This is now "breed." ~ breed|trans({}, 'herding') because herding has it's own translation domain, but it could still be improved. The more views we get with ElePHPant Breeds on them, the more we will want this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant