将我的项目从symfony 2.3升级到symfony 2.8后,我收到以下错误
Unrecognized option "default_mapping" under "sylius_translation"
我的config.yml文件是
sylius_translation:
default_mapping:
translatable:
field: translations
currentLocale: currentLocale
fallbackLocale: fallbackLocale
translation:
field: translatable
locale: locale
有人能为我提供见解吗?
答案 0 :(得分:1)
尝试使用以下内容:
sylius.translation.default.mapping:
translatable:
...
translation:
...