Skip to content

Conversation

@maliming
Copy link
Member

@maliming maliming commented Dec 18, 2024

Resolves #21301

  1. If defaultLanguage is null, take the first language from languages.
  2. If defaultLanguage is provided and cultureName exists in languages, use it.
  3. If defaultLanguage is provided but cultureName is not in languages, fallback to the first language in languages.

@maliming maliming added this to the 9.1-preview milestone Dec 18, 2024
@maliming maliming force-pushed the DefaultAbpRequestLocalizationOptionsProvider branch from 97d90be to d091bde Compare December 18, 2024 08:53
@maliming maliming requested a review from EngincanV December 18, 2024 09:15
@EngincanV EngincanV merged commit 2fb4545 into dev Dec 19, 2024
3 checks passed
@EngincanV EngincanV deleted the DefaultAbpRequestLocalizationOptionsProvider branch December 19, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When removing English from the languages it still gets defaulted to in blazor-server.

3 participants