I still have a problem with translate generated backend application in
Symfony 1.2.7. I followed these instructions which I found out in
several discussions, but still couldn't get any results.
1) /apps/admin/config/settings.yml
all:
.settings:
i18n: on
standard_helpers: [ I18N ]
# eventually try to set default_culture here
2) Create file /apps/admin/config/i18n.yml
all:
default_culture: cs
source: XLIFF
debug: off
cache: on
untranslated_prefix: "[T]"
untranslated_suffix: "[/T]"
3) copy translation file into /apps/admin/i18n/messages.cs.xml. I use
translation from symfony_install_dir\plugins\sfPropelPlugin\i18n\
directory.
4) clear cache
5) delete cookies
Admin is still in EN. I noticed that also default_culture is still
hanging "en" (through symfony toolbar) so I tried to overload sfUser
method getCulture() to always return "cs".
But none of this works.
I really don't know what am I doing wrong, if settings have to be set
diferrently or what. I didn't find answers for my problem so I would
appreciate advice from more experinced users than me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---