Symfony Translations没有加载真正的必需

时间:2017-02-23 15:19:26

标签: symfony translation

翻译工作完全像这样:

 ->add("address", TextType::class, [

           "label" => "adresse_tr",
           'translation_domain' => 'adminTR',
           "required" => false,

     ])

但没有要求或" required" =>真

 ->add("address", TextType::class, [

           "label" => "adresse_tr",
           'translation_domain' => 'adminTR',

     ])

0 个答案:

没有答案