This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
Make the RequestLocalizationMiddleware support derivative cultures #165
Closed
Description
If an application is configured to support the culture "fr", but not "fr-FR", then a request stating it is "fr-FR" should result in it being assigned the culture "fr", as "fr-FR" is a derivative of "fr".
This applies equally to format culture and UI culture.
This behavior should be on by default, and controlled by a new boolean property, RequestLocalizationOptions.FallbackToAncestorCulture
.