Fixed localisation path in generator