Ygg*_*g69 5 translation symfony
我有一个错误:
找不到警告翻译。
因此,我尝试使用以下命令:
app/console translation:update
Run Code Online (Sandbox Code Playgroud)
但是我有那个错误:
[RuntimeException]
参数不足(缺少:“ locale”)。
在我config.yml我添加
parameters:
locale: fr
Run Code Online (Sandbox Code Playgroud)
但是总是一样的错误。
你缺少一个额外的参数。例如,要更新英文翻译:
app/console translation:update en --force
Run Code Online (Sandbox Code Playgroud)
"en"参数是您要更新的区域设置,如果您只想查看可翻译的字符串,则--force可以更改该参数。--dump-messages
| 归档时间: |
|
| 查看次数: |
6463 次 |
| 最近记录: |