For this use the messages.xx.xml file

You can see that if the label is showed in the template by
__('Some text', array(), 'admin') .... admin file is used

if
__('Some text', array(), 'messages') or __('Page admin', array(),
'messages')
of
__('Some text')
then sf_messages_xx.xml is used


On 20 kvě, 19:20, fRAnKEnSTEin <shirkav...@gmail.com> wrote:
> Hi there,
>
> i have the following in a generator.yml of certain module:
>
> ...
> ...
>  config:
>       ...
>       fields:
>           name:                 { label: Name }
> ...
> ...
>
> I have implemented succesfuly i18n in amin generator, but all
> "fileds: name: label ..." does not get translated...i have tryed using
> sf_admin_xx.xml file including the trasnaltion but not sucess eather.
>
> Any idea?
>
> Cheers
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to