Open hamburger menu wording

AI-generated summary

The discussion revolves around the wording of the keyboard shortcut “Open hamburger menu” in Discourse. tvavrda suggests it’s misleading, especially since the sidebar is often already open, making the action toggle rather than open. awesomerobot proposes changing it to “Toggle navigation menu” to better reflect the functionality, aligning with the term used in user preferences. tvavrda acknowledges the improvement but notes translation challenges in Czech, where “navigation menu” doesn’t translate naturally. Moin adds context about the existing use of “navigation menu” in the code. tvavrda further clarifies that the term “opens” is inaccurate when the sidebar is already visible, as the action typically closes it.

There is an item “Open hamburger menu” in the list of shortcuts. First of all I am not sure how some people understand it and I don’t want to guess how a meat community would… Anyways in the sidebar days it is not even correct. Maybe it should say “Toggle sidebar” or something? (At least when sidebar is active.)

8 Likes

Generally we refer to both the sidebar and the header dropdown (configurable in admin settings) as the “navigation menu” so I’ve updated this text to reflect that:

https://github.com/discourse/discourse/pull/30927

7 Likes

And now comes the hair pulling on how to translate it :smiley: Thanks!

Just a note – in case of the sidebar it opens but also closes it (and more often that).

1 Like

“Navigation menu” is also used in the user preferences (js.user.preferences_nav.navigation_menu).

I know. But it’s actually tricky in Czech. The 1:1 translation just doesn’t sound right.

What do you think about this? If it says “opens” when it actually closes it the first time you use it (because sidebar is mostly open).