Jeremy2338 Posted October 6 Share Posted October 6 Hello everyone My site is available in English and Lithuanian langauges, but switching between the two languages on the mobile screen is inconvenient because it requires a three-step action. I would like language switch to be displayed on top of the screen without having to go few times through a header. That would be very much appreciated, thank you! I tried the code below but it doesn't work: @media screen and (max-width:991px) { .header-actions.header-actions--right, .header .language-picker-desktop { display: flex !important; order: 3; } .header-title-nav-wrapper { flex: 1 0 30% !important; } } Link to comment
paul2009 Posted October 6 Share Posted October 6 (edited) 1 hour ago, Jeremy2338 said: switching between...languages on the mobile screen is inconvenient because it requires a three-step action. I would like language switch to be displayed on top of the screen Do you have a mockup of how you would like the top of the screen to look? I agree that the top of the page is the ideal location for a language switcher, but whilst this is easy to achieve on desktop layouts, it is not so easy on mobile because this space is already taken by other important elements like the navigation icon, the cart icon and the brand/site name: It's also important to bear in mind that mobile elements need to be touched, so these touch targets must have a minimum size and be sufficiently spaced. Crowding can cause errors, and these are likely to frustrate users, who then leave. If it helps, user trials showed that putting the language switcher within the menu is a good alternative to having it in the top right or left corner. It is significantly better than the footer as pages tend to be longer when viewed on mobile, and users may never reach the footer. Did this help? Please give feedback by clicking an icon below ⬇️ Edited October 6 by paul2009 NumberSeventeen 1 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Jeremy2338 Posted October 6 Author Share Posted October 6 (edited) @paul2009 I appreciate your thorough reply. I have couple ideas on how to place the selector without displaying the language word next to the flag so it occupies minimal space. In addition to minimizing space, logo could be made smaller. 3 hours ago, paul2009 said: If it helps, user trials showed that putting the language switcher within the menu is a good alternative to having it in the top right or left corner. It is significantly better than the footer as pages tend to be longer when viewed on mobile, and users may never reach the footer. I am not sure I understand this part. English isn't my first language. . Can you please elaborate? Edited October 6 by Jeremy2338 Link to comment
Solution paul2009 Posted October 9 Solution Share Posted October 9 (edited) On 10/6/2023 at 2:21 PM, Jeremy2338 said: I am not sure I understand this part. Sorry if my comments weren't clear. The default location for the Language Selector is within the mobile navigation. User testing has shown this to be a good location because users often click the burger menu (top right) to find options that match their language. I don't recommend trying to add it to the mobile header because, to make space, the branding will need to be much smaller: Also, using a flag (only) to represent language can be confusing as it isn't clear what the setting is for. Does it change the language, the currency or the country for shipping? 🙂 Edited October 14 by paul2009 edited for clarity About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Jeremy2338 Posted October 14 Author Share Posted October 14 @paul2009 you are absolutely right! The branding would be much smaller, lets leave it in the burger menu 🙂 Also, do you happen to known how to redirect the customer to the page after switch the language? Lets say the user decides to switch the language from tge homepage, store, contacts etc., -> burger menu -> language selector -> ENGLISH -> and gets redirected straight to the page he switched the language from. Link to comment
paul2009 Posted October 14 Share Posted October 14 5 minutes ago, Jeremy2338 said: do you happen to known how to redirect the customer to the page after switch the language? I'm not sure that I understand your question. When the user chooses the alternative language, they should remain on the page, but see a translated version. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Jeremy2338 Posted October 14 Author Share Posted October 14 (edited) @paul2009 I forgot to add that this my question applies only to mobile browser. Edited October 14 by Jeremy2338 Link to comment
paul2009 Posted October 14 Share Posted October 14 Sorry, I should have explained that it worked the same for me on mobile too. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Jeremy2338 Posted October 14 Author Share Posted October 14 How interesting. When I click on mobile it doesn't redirect. Link to comment
chrizile Posted November 20 Share Posted November 20 (edited) Is it possible to move the language selector folder inside the burger menu out and place it next to the burger menu like in the picture? https://www.natureswim.com Edited November 20 by chrizile Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment