i18n system improved. Templates are localized.