Database provider for symfony 2 string translation