updated for change in intl-messageformat API