Before doing some screen captures, I’m doing a bit of exploring. There may be a rendering glitch. But it might be my browser and/or OS : Firefox on Fedora 37.
Could users check with other OSes and Browsers?
The default language for Serge’s example site is (naturally) in French. So I searched for the Languages choice. At 100% zoom or larger, the language choice is a option (with a submenu) of the Hamburger context menu. But at less than that (<99%) zoom, The Hamburger disappears and tabs for each top-level menu option appear.
Regardless of the language selected, the width allocated for the submenu is too narrow. All the row labels are broken mid-word so that they are harder to read and take 2 rows.
In the Hamburger menu, a click shows an options menu but offset a bit too much downwards. The ‘Langue’ does not have any submenu indicator. But as you rollover the upper edge of ‘Lange’ row, the submenu completely hides the title row.
Something that always seems strange to me is that the Langue submenu has each language labeled in the current GUI locality. That seems appropriate for the Tooltip.
But if a user needs to change the language, they probably need to see the language labeled in its native tongue. Especially if that language uses a different character set.
The widths of the menus were much better adapted to the string lengths. (Thank you!)
The parenthetical does not seem to work right. It always contains the French version. It should be the Language labeled in that language. I am uncertain what should happen for right-to-left parentheticals. Can a single menu item be Right-to-left and the others left-to-right? Maybe the parenthetical can be eliminated with the tooltip containing the Native Language? (So that there is never any change that mixes the directions in the menu.)
So “(Anglais)” would always be “(English)”. Thus when running in French, full version would be “Anglais (English)”. And there would never be a “(French)” shows when the GUI is set to any language. It would always be “(Français)”
Can you offset the Hamburger submenu to the right or downwards? So at least 3 letters of the “Language” parent menu item is still visible? The offset for the tabbed menus is nice - where it moves downwards a line … so it doesn’t have to offset to the right.
Finally, The hamburger submenu was hard to access with a touch interface (on my phone). When the submenu appeared during a press’n’hold, a browser popup (about copying the hotlink or the text) overlaid the menu. On a click, the submenu popped up but, because the submenu was not offset, immediately selected the 1st row that was overlaid the “Language” menu option. (A downwards offset would eliminate that possibility.)
Please try changing the browser’s zoom scale. See if the Hamburger appears at 125% scale or 75% scale. (The icon appears at the left of the page header on my system. Not at the usual right. It may be in another place for you.)
I never used windows, So I don’t know what you have.
What are you prefered languages ?
intl.accept_languages in about:config ?
The index.html use the languages set in your browser to go to the right place.
If none of your accepted languages is known, the default language is selected.
I don’t agree. If I create a site for french, danish and spanish, why do you want I set the language in english. I have old people who don’t understand english.
If you prefer, I can put the language code instead (fr, es, da)
I think the question is - why is the language string before the parenthesis the same as the language string within the parenthesis.
Having the string within the parenthesis in that language code makes sense.
Imagine I mistakenly switched languages to Chinese simplified. I have no way of switching back to english (or french) since I do not know where it is in the Chinese menu, as I cannot read Chinese. The suggestion is the parenthesis string for the French line should be in French and the parenthesis string for the Russian line should be in Russian. The string before the parenthesis is still in the set language (Chinese in this case). In this case, the user could always find their language in the menu no matter what the language.
I have changed the language menu.
The only problem remains: you have to click twice on the hambuger icon the first time we are on a page. For the following clicks, the hidden visible toggle works.