work towards l10n support in the templates