Create a locale matcher over a supported locale configuration.
The matchFor* methods return a result with isMatch: false and locale: null when no supported locale matches. The bestMatchFor* methods return the configured fallback in that case.
matchFor*
isMatch: false
locale: null
bestMatchFor*
Create a locale matcher over a supported locale configuration.
The
matchFor*methods return a result withisMatch: falseandlocale: nullwhen no supported locale matches. ThebestMatchFor*methods return the configured fallback in that case.