MessageFormatOptions.localeMatcher property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If given multiple locales, determines which algorithm to use when selecting between them; the default for Intl formatters is 'best fit'.

Signature:

localeMatcher?: 'best fit' | 'lookup';

Remarks

See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_negotiation