This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Fall back to parent cultures from the supported list when the desired culture is not available or known #112
Comments
What if the supported cultures have "en-US" should fallback to that or return |
@hishamco that depends on what the supported cultures are and on what the requested culture is. Can you give a more complete example? BTW, either way we don't plan on doing this work item now - it's on the Backlog. |
@hishamco |
DamianEdwards
added a commit
that referenced
this issue
Dec 15, 2015
- Enabled by default and configred by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture - Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found or none is found - Updated functional tests to cover fallback case - #112
DamianEdwards
added a commit
that referenced
this issue
Dec 15, 2015
- Enabled by default and configred by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture - Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found or none is found - Updated functional tests to cover fallback case - #112
DamianEdwards
added a commit
that referenced
this issue
Dec 15, 2015
- Enabled by default and configred by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture - Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found or none is found - Updated functional tests to cover fallback case - #112
DamianEdwards
added a commit
that referenced
this issue
Dec 15, 2015
- Enabled by default and configured by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture - Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found, depth limit is reached, or none is found - Updated functional tests to cover fallback case - #112
Going to make this depth-first instead so re-opening. |
DamianEdwards
added a commit
that referenced
this issue
Dec 16, 2015
DamianEdwards
added a commit
that referenced
this issue
Dec 17, 2015
DamianEdwards
added a commit
that referenced
this issue
Dec 17, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Have loc selectors fall back to parent cultures from the supported list when the desired culture is not available or known. E.g. if the request culture is “en-Damian” and the supported cultures has “en”, then fall back to that.
The text was updated successfully, but these errors were encountered: