I have clear symfony cache, restart httpd service(to destroy session),
and open a new firefox window:
Now i get this in the debug toolbar:

User Toggle details

options:
  auto_shutdown: false
  culture: null
  default_culture: pt
  use_flash: true
  logging: '1'
  timeout: 1800
attributeHolder:
  symfony/user/sfUser/attributes: { referer: 'http://localhost/web/
frontend_dev.php/' }
culture: en

You can see now that the user default_culture is pt, but culture is
set en. How is this possible?

thanks

On 25 Nov, 12:12, Alexandre Salomé <[email protected]> wrote:
> Have you tried to destroy your session and clear cache in project ?
>
> You should apply both to consider a test correct.
>
> 2010/11/25 Veríssimo <[email protected]>
>
>
>
> > Im using firefox, just with pt language
> > my settings.yml is like this:
> > all:
> >  .settings:
> >    # Form security secret (CSRF protection)
> >    csrf_secret:            UniqueSecret
> >    i18n: on
> >    default_culture:     pt
> >    culture: pt
> >    # Output escaping settings
> >    escaping_strategy:      true
> >    escaping_method:        ESC_SPECIALCHARS
>
> >    # Enable the database manager
> >    use_database:           true
>
> >    enabled_modules:      [default, sfGuardAuth]
>
> >    standard_helpers: [Partial, Cache, I18N]
>
> > but the debug toolbar tell me this at user login:
>
> > User Toggle details
>
> > options:
> >  auto_shutdown: false
> >  culture: null
> >  default_culture: en
> >  use_flash: true
> >  logging: '1'
> >  timeout: 1800
> > attributeHolder:
> >  symfony/user/sfUser/attributes: { referer: 'http://localhost/web/
> > frontend_dev.php/' }
> > culture: en
>
> > How is this possibel?
>
> > But it says this on the settings
>
> > Settings Toggle details
>
> > sf_cache: false
> > sf_charset: utf-8
> > sf_check_lock: false
> > sf_compressed: false
> > sf_csrf_secret: UniqueSecret
> > sf_culture: pt
> > sf_debug: true
> > sf_default_culture: pt
> > sf_enabled_modules:
> >  - default
> >  - sfGuardAuth
>
> > see sf_culture: and sf_default_culture is ok. Firefox has language pt,
> > why does the user says en?
>
> > tkanks
>
> > --
> > 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<symfony-users%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en
>
> --
> Alexandre Saloméhttp://alexandre-salome.fr

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

Reply via email to