Hi,

yes, I use symfony cc every time i change somthing in te xml or the
settings.yml file

And I use de sfDoctrineCultureFlagsPlugin with sfDoctrineRecord with
I18n behavoir to change the culture by :sf_culture parameter on
routing.yml
Looking at the _dev config, sf_culture and variable culture of User
Object changes correctly, but the translation of __() doesn't changes.


On 14 oct, 11:14, Jérémie <jeremie.symf...@gmail.com> wrote:
> Did you clear the cache?
> And do you change the culture somewhere in the application?
>
> > On Oct 13, 3:55 pm, Jaime <coba...@gmail.com> wrote:
> > > Hi,
>
> > > I'm developing an application with symfony 1.4, and it needs to be
> > > translated in three languages. But the translations doen't works.
>
> > > I set frontend/config/settings.yml
>
> > > all:
> > >   .settings.
> > >     # I18n activado
> > >     i18n: true
>
> > >     # cultura predeterminada
> > >     default_culture: es
>
> > >     # caracteres a utf-8
> > >     charset: utf-8
>
> > >     standard_helpers: [Partial, Cache, I18N]
>
> > > On the frontend layout:
>
> > >  <?php echo __('fotos'); ?>
>
> > > And generate the xml files with symfony i18n:extract frontend en --
> > > auto-save
> > > But the translation not works, and every time i change something in te
> > > generated xml, and run again i18n:extract, the translations on
> > > <target> tag are deleted.
>
> > > Any reason?

-- 
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