Open
Description
Hi everyone, I post that message do discuss about the better way to translate flash messages. In my case, I use symfony/demo as the place were better practices are grouped in a project.
- I wonder if it can be interesting to call the
t()
function in the Controller to have the extractor ?
The second case allow to auto-extract the messages in XLIFF, but add complexity in the Controller. - Can it be a good idea to use a cusom domain ?
- Is it better to use reusable keyword ? or like actually localized keywords ?
These are questions I am asking myself right now to implement tramslation in a project. I know that questions are not totally related with the demo, it's more best practices.
Metadata
Metadata
Assignees
Labels
No labels