I have a task that I want to have a culture that is no "en"

I fixed the culture in settings.yml:

all:
    i18n:                   true
    default_culture:        es

But, when I execute a task, the default culture for all related propel
is en.

If I execute sfPropel::getDefaultCulture() I get always 'en' as
response.

I made a quick and dirty workaround setting the culture for propel to
es at the beginning of the task, but I think that has to be a correct
way to set the culture in a task through the configuration files.

Anyone has an idea of how to set the default culture in a task?

Thanks in advance,

Manel Monguilod

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to