A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://phabricator.wikimedia.org/T301787 below:

⚓ T301787 [Design spike] Explore options for one-click language switching

@ovasileva @Jdlrobson @Pginer-WMF @Amire80 — here is a simple sketch in order to get the conversation going:

Some questions that come to mind:

The number that actually interests me is the total number of languages. As a user, what I don't like about the current sidebar button design is that when I want to know in how many languages is an article available, I have to calculate x + 9 (or x + 7). I'd prefer to just see the total number (including the current language).

I think that this is the number that is useful to most people, but you're welcome to test it properly.

Whatever works best for users, no opinion from me here.

Always show some languages if any languages are available. Don't wait for the first click. My hypothesis is that names of languages are the most important discoverability anchor. Not necessarily the word "languages", and certainly not the icon. They will help people who never clicked the languages button find it.

Yes, starting from these languages is probably a good idea. I am somewhat concerned that because we have 9 (or 7) in the current sidebar and much fewer (2 or 3) in the upcoming design, this may cause some issues, but that's just a feeling. Actual user testing will show if there are real reasons to be concerned. For now, pick the first X languages you want from ULS's algorithm.

The algorithm is described in English here:
https://www.mediawiki.org/wiki/Universal_Language_Selector/Compact_Language_Links#How_do_you_decide_which_languages_are_shown_to_me_in_the_initial_compact_list?

And in JavaScript here:
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/UniversalLanguageSelector/+/refs/heads/master/resources/js/ext.uls.compactlinks.js#252

On line 23 you can see that it's set to 9 languages by default. You'll have to do very little modification to get 2 or 3 or whatever number you need.

I do suggest considering making the number of initially shown languages to show responsive and not just hard-coded 2 or 3. Something like this:

I kind of mentioned it already, but I have to reiterate: It's important to make people understand that there are more languages and not only the two or three that you show initially. Please check this in user testing.ranslatio

Finally, one more thing to consider is the Content Translation / Section Translation entry point.

It's the most frequently asked questions from Wikipedians :)

The answer for the current Compact Language Links code is that every time you click a language, it is added to the top of your priority languages, and that's the way to select the languages you want. It's stored in preferences for logged-in users and in a cookie for anonymous users.

Nevertheless, Wikipedians keep asking about this. I guess that some people prefer a more explicit method to select things, for example a field in Special:Preferences (or maybe something else). I don't think it's really necessary, but I'm not opposed to it either. I'll leave it to the product manager.

NO! Almost no one is logged in. It must be discoverable by everyone.

I also want to put another thought in your head: I know that it's specifically not what you're doing here, but nevertheless, how would you make something similar on mobile web?

It may be a very good idea, but run user testing with users who read and write in such languages. (This must include users are experienced Wikipedians and users who are casual readers who never edit.)

Input from other Language team members (and everyone else) is very welcome.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4