Fix resource twig extension

``getRealKey`` or ``getTranslatedKey`` would be more suitable IMHO