fix l10n token resolving for included by name templates