我是我目前參加課程(全日制)的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