Humanizr / Humanizer

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Other
8.52k stars 947 forks source link

Change th-TH culture to th #1522

Open MarkusG opened 4 days ago

MarkusG commented 4 days ago

Web browsers (at least Firefox and Chromium) only send th in the Accept-Language header, leading ASP.NET to select it as the current culture. This leads to Humanizer failing to find the resource and consequently falling back to the default culture. Renaming the resource files to the more generic language/culture specifier fixes the issue.

Here is a checklist you should tick through before submitting a pull request:

I'm developing on Linux and can't seem to get the project to build and test, so I'm hoping CI can bail me out.

MarkusG commented 4 days ago

@dotnet-policy-service agree company="Roland DGA"