Do you import the parameters file on the top of your config.yml?
Christian
On Sunday, 7 October 2012 16:03:05 UTC+2, Marcello Voc wrote:
> hi all
> i have put in parameter.ini the locale
> locale="it"
> now in config.yml
> framework:
> #esi: ~
> translator: ~
> secret: %secret%
> charset: UTF-8
> router: { resource: "%kernel.root_dir%/config/routing.yml" }
> form: true
> csrf_protection: true
> validation: { enable_annotations: true }
> templating: { engines: ['twig'] } #assets_version:
> SomeVersionScheme
> session:
> default_locale: %locale%
> auto_start: true
> but if i clear the cache and refresh the site.....the language is
> english......why?
> i use Symfony 2.0.17