Fix resource twig extension

I would change this name to ``getTranslatedKey``