ChocoDeveloper
ChocoDeveloper

Reputation: 14588

Symfony2 translation cascading precedence

How should I deal with common translations like this one?

send: Send

I need that word for the main bundle of my app (in src/), but also for other vendor bundles (in vendor/). I'm not sure how the precedence works, but it seems like the vendors take precedence. Eg: if SomeVendorBundle has this translation, it will be changed in my entire app:

send: Submit

Any thoughts?

Upvotes: 0

Views: 93

Answers (1)

Elnur Abdurrakhimov
Elnur Abdurrakhimov

Reputation: 44841

Group your translations with categories:

common.save: Save
common.created_at: Created at

user.created_at: Signed up at

Upvotes: 1

Related Questions