Well I have created a new symfony project and I have no problems.

On 07/30/2010 12:37 PM, travis lu wrote:
javi,

This is the extract from sfUser.class.php, Line:103

$this->setCulture(null !== $this->options['culture'] ? $this->options['culture'] : (null !== $currentCulture ? $currentCulture : $this->options['default_culture']));

So the culture of the user will be decided by the following order:

1. sf_culture parameter from url
2. culture value in session
3. default value set in setting.xml

Hope that will help.

travis

On Fri, Jul 30, 2010 at 6:11 PM, Javier Garcia <[email protected] <mailto:[email protected]>> wrote:

     As I say in my first post, the second time I try to change the
    language doesn't work if I don't delete the cookies.

    These are my steps:

    - Load the page

    - Change the language OK.

    - I try to change the language again but it doesn't work.

    - I delete the cookies.

    - I try to change the language again and it works OK.




    On 07/30/2010 09:03 AM, Tom Ptacnik wrote:

        Why do you need to delete cookies before?

        On 28 čnc, 20:47, Javier Garcia<[email protected]
        <mailto:[email protected]>>  wrote:

              Hi

            I have followed the steps below to add a select to change
            the language
            of my app.

            
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_l...

            It works OK for the first time I change the language, but
            the next time
            I try to change it I need to delete the Cookies before..

            I tried it in FF and Epiphany and is the same problem in both.

            Any idea?

            Javi

            Sf 1.3 / Ubuntu 8.04


-- If you want to report a vulnerability issue on symfony, please
    send it to security at symfony-project.com
    <http://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] <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:symfony-users%[email protected]>
    For more options, visit this group at
    http://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 [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

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