Skip to content

Conversation

@javiereguiluz
Copy link
Member

@javiereguiluz javiereguiluz commented May 3, 2023

The current header design looks a bit crowded to me, with the links so close to each other:

This PR changes this by making the links a bit smaller and adding more space between them:


The other issue is the language selector. We're very lucky to have many translations contributed by the community. But that big number is what makes the current selector a bit hard to use (the list is very long). It also has other design issues:

This PR proposes a completely different design. When you click on the link to select the language, you no longer see a dropdown menu. Instead, you see a full page modal window listing all available languages.

For example, if you are browsing the application in Ukrainian and click on the language selector, you'll see this:

The new language selector was inspired by the one used in https://europa.eu pages. In addition to displaying all languages more clearly, we now respect the features of each language, like the RTL direction of Arabic.

@javiereguiluz
Copy link
Member Author

@stof thanks a lot for your great review 😍 I've made all the changes that you suggested. Thanks!

@javiereguiluz javiereguiluz merged commit 4768343 into symfony:main May 5, 2023
@javiereguiluz javiereguiluz deleted the new_lang_selector branch May 5, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants