我刚刚开始使用Api平台,在翻译验证器的消息时遇到了问题。我知道symfony不会在接受语言的标题上进行中继。相反,我创建了订阅服务器,它负责确定首选语言(来自Accept- language ):use Symfony\Component\HttpKernel\Event\GetResponseEvent;
class Loca
api-platform/coreLoading composer repositories with package information - Installation request for symfony/symfony (locked at v3.2.8, required as ^3
.2) -> satisfiableby sym