You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
Currently, IStringLocalizer.GetAllStrings will return the union of all strings for the current culture and all ancestors of the current culture. E.g. if the current culture is "en-US" and it contains a single string "Hello", and the culture "en" contains a single string "Goodbyte", the call to IStringLocalizer.GetAllStrings for "en-US" will return both the "Hello" and "Goodbye" strings.
This behavior may not always be desirable (e.g. it differs to how ResourceManager.GetResourceSet works). As such, we should support a way to specify the behavior during the call, e.g. GetAllStrings(includeAncestorCultures: false);
The default behavior should still be to include strings from ancestor cultures.