Digital Craftsman
  • Search
Sign in Subscribe

translation

A collection of 1 post
Get translatable entity from repository with specific locale
symfony

Get translatable entity from repository with specific locale

I wanted to have translatable entities in my project. So I used Gedmo translatable through the doctrine extensions bundle for Symfony. When using any kind of entity repository, a listener automatically pulls the right translation according to the current locale (from request or the default one). This is a really
07 Dec 2015 1 min read
Page 1 of 1
Digital Craftsman © 2025
  • Datenschutz
  • Impressum
Powered by Ghost