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 [https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/translatable.md] through the doctrine extensions bundle [https://github.com/stof/StofDoctrineExtensionsBundle] for Symfony. When using any kind of entity repository, a listener automatically pulls the right translation
Dec 7, 2015 1 min read
Page 1 of 1
Digital Craftsman © 2023
  • Datenschutz
  • Impressum
Powered by Ghost