website-v2 icon indicating copy to clipboard operation
website-v2 copied to clipboard

Capitalize first letter of all languages (dropdown)

Open rimopa opened this issue 3 years ago • 9 comments

Now, some languages have the first letter capitalized (English, Nederlands, Türkçe and Tiếng Việt) and some don't have it (español, français, italiano, polski, português (Brasil), русский and slovenščina). it's ugly that some have it and some don't, so I propose capitalize the first letter of all languages.

Now: image

Idea (First letter capitalized): image

rimopa avatar Feb 27 '22 18:02 rimopa

Because the language name is text in that language, and in some languages language names are not proper nouns. For example, to say 'Romanian language" in Romanian, you would say "limba română". That is correct.

Secret-chest avatar Feb 27 '22 18:02 Secret-chest

Because the language name is text in that language, and in some languages language names are not proper nouns. For example, to say 'Romanian language" in Romanian, you would say "limba română". That is correct.

Even if they're not proper nouns, I still think it's very ugly; worth it?

rimopa avatar Feb 27 '22 18:02 rimopa

I agree, it looks ugly, and Scratch capitalizes the names of the languages.

WorldLanguages avatar Feb 27 '22 19:02 WorldLanguages

I agree, it looks ugly, and Scratch capitalizes the names of the languages.

But, in some languages language names are not proper nouns.

Secret-chest avatar Feb 28 '22 13:02 Secret-chest

I agree, it looks ugly, and Scratch capitalizes the names of the languages.

But, in some languages language names are not proper nouns.

That doesn't mean capitalizing them is wrong, it just isn't necessary.

mxmou avatar Feb 28 '22 13:02 mxmou

But, in some languages language names are not proper nouns.

Including my own native language, español. However, seeing it capitalized in a dropdown never looked wrong to me.

WorldLanguages avatar Feb 28 '22 16:02 WorldLanguages

For the language names, I'm using Intl.DisplayNames, so it is a standard. English and other languages are capitalized, but some aren't. This is intentional, for cultural reasons I presume.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames

Currently, I'm looking at my choices for the sake of accuracy. I think I'm going for a library at this moment.

Hans5958 avatar Mar 01 '22 03:03 Hans5958

For the language names, I'm using Intl.DisplayNames, so it is a standard. English and other languages are capitalized, but some aren't. This is intentional, for cultural reasons I presume.

wait a sec...that's only supported in chrome 81+ but sa theoretically supports chrome 80+...

cobaltt7 avatar Mar 01 '22 03:03 cobaltt7

For the language names, I'm using Intl.DisplayNames, so it is a standard. English and other languages are capitalized, but some aren't. This is intentional, for cultural reasons I presume.

wait a sec...that's only supported in chrome 81+ but sa theoretically supports chrome 80+...

It's added server side (aka on CI build) so it uses Node.js ~~16~~ 14.

Hans5958 avatar Mar 01 '22 03:03 Hans5958