This change involves allowing multiple fallback locales to be specified and tried sequentially. Our use case requires us to have the following sort of setup:
fr-ca -> fr -> en
This necessitates more than one fallback locale.
Existing tests pass with minor modifications (ie no fallback locale is now an empty array rather than null), and new tests have been added for the new functionality.
This change involves allowing multiple fallback locales to be specified and tried sequentially. Our use case requires us to have the following sort of setup:
fr-ca -> fr -> en
This necessitates more than one fallback locale.
Existing tests pass with minor modifications (ie no fallback locale is now an empty array rather than null), and new tests have been added for the new functionality.