audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement] Support book language being case insensitive

Open ZLoth opened this issue 10 months ago • 0 comments

Describe the issue

The source of the issue is from the metadata import where sometimes the language is entered in as "english" instead of the proper "English". Per https://www.sussex.ac.uk/informatics/punctuation/capsandabbr/caps#:~:text=(c)%20The%20names%20of%20languages,%2C%20French%2C%20Italian%20and%20Portuguese. , the name of the language is capitalized. However, Audiobookshelf treats "English" as a seperate language from "english".

Steps to reproduce the issue

Recording of the issue: https://github.com/advplyr/audiobookshelf/assets/6700159/446d7979-34e8-4130-a43e-cd979ce1fa51

Example book: chrome 2024-04-23 19-49-42

Audiobookshelf version

2.9.0

How are you running audiobookshelf?

Docker

ZLoth avatar Apr 24 '24 00:04 ZLoth