Hi, first of all, thanks for this Admin Bundle. It's awesome.
I'm creating localized administration for my page and I've found some problems:
Title in top of each page defined in app/config.yml is untranslatable
Problem: no translation filter is used in template Sonata\AdminBundle\Resources\views\standard_layout.html.twig.
This can be fixed by adding trans filter with translation domain defined in app/config.yml. New configuration parameter translation_domain should be added.
~~- Title of groups in dashboard and top menu is untranslatable ~~
Problem: In template Sonata\AdminBundle\Resources\views\Block\block_admin_list.html.twig is used SonataAdminBundle translation domain instead of some custom domain. {{ group.label|trans({}, 'SonataAdminBundle') }}
This can be solved with label_catalogue parameter. It should be added to documentation.
- Title of column " Action" in view part contains space at begining. It took me a lot of time to find out why my translation is not used. Fixed with #1386
Maybe these bugs can be solved with custom templates, but it would be great if the default template would be usable as much as possible.
Hi, first of all, thanks for this Admin Bundle. It's awesome.
I'm creating localized administration for my page and I've found some problems:
Sonata\AdminBundle\Resources\views\standard_layout.html.twig
. This can be fixed by adding trans filter with translation domain defined inapp/config.yml
. New configuration parametertranslation_domain
should be added.~~- Title of groups in dashboard and top menu is untranslatable ~~
Problem: In templateSonata\AdminBundle\Resources\views\Block\block_admin_list.html.twig
is usedSonataAdminBundle
translation domain instead of some custom domain.{{ group.label|trans({}, 'SonataAdminBundle') }}
This can be solved with
label_catalogue
parameter. It should be added to documentation.- Title of column " Action" in view part contains space at begining. It took me a lot of time to find out why my translation is not used.Fixed with #1386Maybe these bugs can be solved with custom templates, but it would be great if the default template would be usable as much as possible.