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

Remove flag in language selection #7102

Merged
merged 9 commits into from Sep 2, 2020
Merged

Conversation

better-owlet
Copy link
Contributor

@better-owlet better-owlet commented Jul 21, 2020

Flags are not languages

A blog about designing global user experiences: beyond language, location & culture.

Signed-off-by: 潘志坚 <jim.pan@dji.com>
Signed-off-by: 潘志坚 <jim.pan@dji.com>
@better-owlet better-owlet changed the title Flag is not language! Flags are not languages! Jul 21, 2020
@alexandrebodin alexandrebodin changed the title Flags are not languages! Remove flag in language selection Jul 22, 2020
@alexandrebodin
Copy link
Member

alexandrebodin commented Jul 22, 2020

Hello @anowlet thanks you for contributing !

Can you please add a short description so it is easy to understand what the PR is about ?

The article makes a lot of sense I think we need to consider removing the flag indeed :) We will check with our designer if we need ot change sth before merging this PR ;)

@alexandrebodin alexandrebodin added this to the 3.1.1 milestone Jul 22, 2020
@alexandrebodin alexandrebodin added source: core:admin Source is core/admin package issue: enhancement Issue suggesting an enhancement to an existing feature labels Jul 22, 2020
@alexandrebodin alexandrebodin requested review from alexandrebodin and soupette and removed request for alexandrebodin July 22, 2020 08:19
@alexandrebodin
Copy link
Member

FYI design screenshot for design review.
Screenshot 2020-07-22 at 10 22 18

@Aurelsicoko
Copy link
Member

The acronym should be right-aligned, is it possible to update the PR then it looks good to me ;)

soupette
soupette previously approved these changes Jul 22, 2020
Copy link
Contributor

@soupette soupette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexandrebodin
Copy link
Member

@anowlet Any way you can make the update ?

@alexandrebodin alexandrebodin removed this from the 3.1.1 milestone Jul 23, 2020
@alexandrebodin
Copy link
Member

Closing this PR for inactivity. Feel free to reopen if you get the time to update :)

@better-owlet
Copy link
Contributor Author

better-owlet commented Aug 11, 2020

http://www.flagsarenotlanguages.com/blog/why-flags-do-not-represent-language/

@alexandrebodin Flags are unique to a country or nation: but languages are often spoken across national borders. By using a flag for a language, you may confuse or even offend users.

@alexandrebodin
Copy link
Member

@anowlet we totally agree we just need the PR to be updated according to the review (design update) before merging it. If you can do it we will reopen and merge 👍

@codecov
Copy link

codecov bot commented Aug 11, 2020

Codecov Report

Merging #7102 into master will decrease coverage by 0.08%.
The diff coverage is 2.56%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7102      +/-   ##
==========================================
- Coverage   26.23%   26.15%   -0.09%     
==========================================
  Files        1131     1131              
  Lines       15431    15426       -5     
  Branches     2442     2441       -1     
==========================================
- Hits         4048     4034      -14     
- Misses       9564     9573       +9     
  Partials     1819     1819              
Flag Coverage Δ
#front 18.15% <2.56%> (-0.11%) ⬇️
#unit 53.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...admin/admin/src/containers/LocaleToggle/Wrapper.js 100.00% <ø> (ø)
...i-admin/admin/src/containers/LocaleToggle/index.js 100.00% <ø> (ø)
...-manager/admin/src/components/Wysiwyg/constants.js 0.00% <ø> (ø)
...nt-manager/admin/src/components/Wysiwyg/helpers.js 0.00% <0.00%> (ø)
...tent-manager/admin/src/components/Wysiwyg/index.js 0.00% <0.00%> (ø)
...ype-builder/admin/src/containers/ListView/index.js 0.00% <0.00%> (ø)
...iners/HomePage/HomePageContent/HomePageSettings.js 0.00% <ø> (ø)
...n/src/containers/HomePage/HomePageContent/index.js 0.00% <ø> (ø)
...ugin-upload/admin/src/containers/HomePage/index.js 0.00% <0.00%> (ø)
...in-upload/admin/src/containers/HomePage/reducer.js 65.85% <0.00%> (-15.97%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 817c46c...4a63ff1. Read the comment docs.

Signed-off-by: 潘志坚 <jim.pan@dji.com>
@better-owlet
Copy link
Contributor Author

image
I think it should show the native name.

Signed-off-by: 潘志坚 <jim.pan@dji.com>
Copy link
Member

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please uppercase the first letter of the langageNativeNames when possible :)

docs/v3.x/admin-panel/customization.md Outdated Show resolved Hide resolved
packages/strapi-admin/admin/src/translations/index.js Outdated Show resolved Hide resolved
Signed-off-by: 潘志坚 <jim.pan@dji.com>
@alexandrebodin alexandrebodin added this to the 3.1.5 milestone Sep 2, 2020
@alexandrebodin
Copy link
Member

@anowlet Thank you for this improvement 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature source: core:admin Source is core/admin package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants