I'm a bit confused about symfony culture handling.
In my settings.yml, there's 2 lines under ".settings":
i18n: on
default_culture: it_IT
In debug toolbar, I see under Config->User:
options:
auto_shutdown: false
culture: null
default_culture: it
use_flash: true
logging: '1'
timeout: 1800
attributeHolder: { }
culture: it_IT
And under Config->Settings (among others):
sf_default_culture: it_IT
So, there's 3 different values (it, it_IT, null) for culture in 4
different options.
I tried to echo the line from /usr/share/php/symfony/i18n/
sfI18N.class.php in which setlocale() is called, the $culture
parameter passed is "it", that's incorrect: it should be "it_IT".
I found a workaround putting <?php $sf_user->setCulture('it_IT') ?> in
a template, but I would like to find a better solution.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---