Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalize first letter of all languages (dropdown) #163

Open
RIMOPA opened this issue Feb 27, 2022 · 9 comments
Open

Capitalize first letter of all languages (dropdown) #163

RIMOPA opened this issue Feb 27, 2022 · 9 comments
Labels
scope: design Related to the web design or style scope: i18n Related to internationalization/localization/translation type: enhancement New feature or request

Comments

@RIMOPA
Copy link
Contributor

RIMOPA commented Feb 27, 2022

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

@Secret-chest
Copy link
Contributor

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.

@RIMOPA
Copy link
Contributor Author

RIMOPA commented Feb 27, 2022

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?

@WorldLanguages
Copy link
Member

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

@Secret-chest
Copy link
Contributor

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

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

@mxmou
Copy link
Member

mxmou commented Feb 28, 2022

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.

@WorldLanguages
Copy link
Member

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.

@Hans5958 Hans5958 added type: enhancement New feature or request scope: content Related to the contents of the website, excluding blog and docs labels Mar 1, 2022
@Hans5958
Copy link
Member

Hans5958 commented Mar 1, 2022

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.

@cobaltt7
Copy link
Contributor

cobaltt7 commented Mar 1, 2022

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+...

@Hans5958
Copy link
Member

Hans5958 commented Mar 1, 2022

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 Hans5958 added scope: design Related to the web design or style and removed scope: content Related to the contents of the website, excluding blog and docs labels Mar 12, 2022
@Hans5958 Hans5958 added the scope: i18n Related to internationalization/localization/translation label Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: design Related to the web design or style scope: i18n Related to internationalization/localization/translation type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants