Skip to content

Add support for automatic registering of RequestLocalizationOptions #6

Closed
@Carl-Hugo

Description

@Carl-Hugo

Add support for automatic registering of RequestLocalizationOptions.

  • RequestLocalizationOptions should be added to the IServiceCollection automatically.
  • SupportedCultures and SupportedUICultures should be automatically populated by default values (all translations).
  • DefaultRequestCulture should be defaulted to new RequestCulture(culture: "en", uiCulture: "en").
  • SupportedCultures, SupportedUICultures and DefaultRequestCulture should be parametrable.
  • Users should be able to opt-out of this with a simple bool like EnableConfigureRequestLocalizationOptions = false.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions