Translations and Symfony2 in database

前端 未结 3 1509
闹比i
闹比i 2021-02-02 03:00

File based translations don\'t work for me because clients need to change the texts.

So I am thinking about implementing this interface to fetch data from the database a

3条回答
  •  终归单人心
    2021-02-02 03:54

    Take a look at the Translatable behavior extension for Doctrine 2. StofDoctrineExtensionsBundle integrates it with Symfony.

提交回复
热议问题