I have installed https://github.com/stof/StofDoctrineExtensionsBundle and use both Translatable and Sluggable on a specific field in a Country entity:
...
class Country
{
...
/**
* @Gedmo\Translatable
* @Gedmo\Slug(fields={"name"})
* @ORM\Column(length=255, nullable=false)
*/
private $slug;
The URL of a page should be .../country/france for English users and .../land/frankreich for German users.
In a controller I get the slug in the specific language and filtered by this locale-specific slug I want to retrieve a country entity.
I haven't found anything here or in the docs about how to do that.
Thanks for any hint on how to solve that!