added trim for t() inside class i18n