reflecting changes made to ng-i18next by @archer96