[feature/twig] Language output assignments, using context class again

PHPBB3-11598