我是我目前参加课程(全日制)的symfony的新用户法语翻译被忽略,我的问题:FOSUserBundle,
# app/config/config.yml
framework:
translator: { fallback: %locale% }
应用程序/配置/ parameters.ini:我成立了法国TRADUCTION (FR):
; These parameters can be imported into other config files
; by enclosing the key with % (like %database_user%)
; Comments start with ';', as in php.ini
[parameters]
database_driver = pdo_mysql
database_host = localhost
database_port =
database_name = blog
database_user = root
database_password =
mailer_transport = smtp
mailer_host = localhost
mailer_user =
mailer_password =
locale = fr
secret = ThisTokenIsNotSoSecretChangeIt
但标签的形式注册/登录,仍是英文...... 我下的最新FriendsOfSymfony-FOSUserBundle-1.2.0-57-g72e8023
FriendsOfSymfony-FOSUserBundle-1.2.0-0
,因为错误的0
请帮忙吗?
可能重复[如何将目录应用于FOSUserBundle的重写布局?](http://stackoverflow.com/questions/8008469/how-to-apply-catalogs-to-the-overriding-layout-of- fosuserbundle) – greg0ire
Thx格雷格,我按照步骤,但它不工作(也清除缓存)...我怀疑版本不稳定.... –
如果你能读法语,那么也许你应该看看这:http://www.siteduzero.com/forum-83-773976-p1-symfony2-tuto-faq.html#r7469726 – greg0ire