Use resource in i18n.xmap to avoid setting a transformer without a generator. This fixes bug 40675.
Changed paths: