ajayyy / DeArrow

Crowdsourcing better titles and thumbnails on YouTube
https://dearrow.ajay.app
GNU General Public License v3.0
1.24k stars 33 forks source link

localization: default to sentence case for non-english titles #231

Closed anabelle2001 closed 4 months ago

anabelle2001 commented 4 months ago

Very few languages capitalize each word in a title:

https://linguistics.stackexchange.com/questions/32182/what-are-the-title-capitalization-rules-in-some-languages

https://ux.stackexchange.com/questions/72790/is-it-default-that-an-english-version-is-always-title-case-while-other-language/72813#72813

By default, de-arrow should use "Sentence case" rules for non-english titles.

ajayyy commented 4 months ago

image

This is already the case, but the language detection is not perfect

Also, if your browser's language is not english, the default is sentence case instead.