forked from DemocracyOS/NetID
-
Notifications
You must be signed in to change notification settings - Fork 0
How to be i18n
Sacha Lifszyc edited this page Jan 9, 2014
·
2 revisions
To translate SonataAdminBundle keys, you must add them in /app/Resources/SonataAdminBundle/translations/SonataAdminBundle.es.yml
file.
It must be that location and that file as Symfony uses the files located in that directory and in this case they belong to SonataAdminBundle domain.
If you want to translate any other word inside you own bundle, then you must create translate file in your bundle, for example:
app/Resources/translations/messages.[your_language].yml