简体   繁体   中英

Sonata Page bundle - translator service not working

I've started a symfony project and have installed Sonata admin and page bundle. The problem is that even though I have translator service enabled, I still get labels like list.label_is_default and list.label_enabled on the parts of the Admin from the Page bundle, wheres on other parts of the Admin the labels are correctly shown.

What could be the problem here?

I guess there were some changes not reflected in the documentation.

I needed to change parameter locale from locale: en to locale: en_US

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM