fixed some i18n template issues