Please refer to issue #3 which explains the problem very well.
In Linux sys_locale::get_locale() returns e.g. "de_DE" for German as spoken in Germany, even though BCP-47's systax mandates that it should be "de-DE".
Hey there @Kijewski, thanks for the PR. This looks good to me, but do you mind rebasing on main to pickup the CI fixes? After that, this should be ready to merge.
Please refer to issue #3 which explains the problem very well.
In Linux
sys_locale::get_locale()
returns e.g."de_DE"
for German as spoken in Germany, even though BCP-47's systax mandates that it should be"de-DE"
.