Easyadminbundle: Language problem

Created on 14 Aug 2017  路  2Comments  路  Source: EasyCorp/EasyAdminBundle

After installing EAB I have a language problem. Ex: button variable name does not replace with the actual name.
Here is what I mean:

list.row_actions
action.edit
action.delete
list.page_title

This is shown instead of language. Version: 1.16.12

bug doc

Most helpful comment

I had the same problem and added the next line in Config.ylm file:

framework:
    translator: { fallbacks: ['%locale%'] }

All 2 comments

I had the same problem and added the next line in Config.ylm file:

framework:
    translator: { fallbacks: ['%locale%'] }

@NaveNO thanks for reporting this issue and @enrique-esteban thanks for providing the solution.

All this is explained in the tutorial about translation: https://symfony.com/doc/master/bundles/EasyAdminBundle/tutorials/i18n.html but your issue report made me realize that we should add a note in the tutorial that shows how to create your first backend (see #1779).

Was this page helpful?
0 / 5 - 0 ratings