diff --git a/blazorbootstrap/Components/Grid/Grid.razor.cs b/blazorbootstrap/Components/Grid/Grid.razor.cs index 51461dc0b..df5870e70 100644 --- a/blazorbootstrap/Components/Grid/Grid.razor.cs +++ b/blazorbootstrap/Components/Grid/Grid.razor.cs @@ -355,7 +355,7 @@ private RenderFragment ChildSelectionTemplate(int rowIndex, TItem rowData) => private CultureInfo GetCultureInfo() { if (string.IsNullOrWhiteSpace(Locale)) - return CultureInfo.InvariantCulture; + return CultureInfo.CurrentCulture; try { @@ -910,11 +910,11 @@ private void SetFilters(IEnumerable filterItems) /// /// Gets or sets the locale. /// - /// Default value is 'en-US'. + /// Default value is . /// /// [Parameter] - public string? Locale { get; set; } = "en-US"; + public string? Locale { get; set; } /// /// This event is triggered when the user clicks on the row.