I figured out what was the problem :
I just had to move the .actions section before .settings in the
settings.yml file and everything is OK
app:
.actions:
# ...
.settings:
i18n: on
Thank's for your answer !
On Feb 10, 7:00 pm, Tomasz Ignatiuk <[email protected]> wrote:
> Did you clear cache? Also try to erase sessions in your browser and
> restart it.
>
> On 10 Lut, 17:37, Salim <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > I have some trouble trying to make I18N works on a new project. I have
> > put this in my settings.yml (Symfony 1.2.3) :
>
> > all:
> > .settings:
> > i18n: on
> > standard_helpers: [Partial, Cache, Form, I18N]
>
> > But when I try to access a localized web page I have a "Fatal error:
> > Call to undefined function __()".
> > If I put a use_helper('I18N') in my partial, everything is OK, but
> > it's not really DRY to repeat this in each file.
>
> > Do I miss anything ?
>
> > Thank's for the help
>
> > Salim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---