You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a t-helper function for code like this:
😍 $t('one')$t('two', { foo: 'bar' }) instead of:
😢 $formatMessage({ id: 'one' })$formatMessage({ id: 'two' }, { foo: 'bar' })
Something like this seems to be enough: app.config.globalProperties.$t = (id, values) => intl.formatMessage({ id }, values);