Reading/Web/Desktop Improvements/Features/Language switching

As a part of the di>Special:MyLanguage/Reading/Web/Desktop Improvements|Desktop Improvements project, we are introducing a new way to switch to a different language wiki. Our goal is to make the language switching functionality easier to find for all users. Our secondary goal is to improve the overall understanding of Wikimedia projects by allowing all readers to learn about the vast numbers of languages available for each project.

Release plan
We will be working on these changes in Q2 of the 2020/2021 fiscal year (October - December 2020) and are hoping to deploy our first iterations in January 2021. We will be deploying the changes by default to our early adopter wikis. The changes will also be available to all logged-in users that have opted into the new experience.

Feature description and requirements

 * 1) Language options will be available via a clearly-marked button on the top of the page, in-line with the article title.
 * 2) Selecting the language button will open the list of languages that will contain the suggested languages for each user, as well as a full list of all available languages for that article. The list will also contain entry points to language display settings, and language input settings.
 * 3) The original language list will no longer appear on the sidebar.
 * 4) The new location of the button will require changes to the header of the page, in particular, some changes to the location of page indicators.
 * 5) We will have a non-JavaScript fallback which will display the full list of all languages for users that do not have JS access.

Testing with editors
In December 2019, we published a prototype of the first few features of the desktop improvements project for community feedback. The prototype presented a collapsible version of the sidebar, a max-width constraint on the content, and a more prominent location for the language switcher. We received detailed, thoughtful feedback from over 200 logged-in users, across five languages.

Overall, most users preferred the new location of the language selector - they reported it was easier to find than the previous location. People who used the language selector often reported that it would be faster for them to switch languages. A number of users also reported that the new location is more intuitive as it follows a pattern that other multilingual sites use.

While many people noted that the new position of the language switcher was easier to find, they also expressed concern about having an extra click in order to switch languages, especially for cases where people expect to switch frequently. We are currently considering adding single-click functionality for the most-frequently used languages. The sketch below represents some of our current ideas:

Testing with readers
In January - May, 2020 we worked with Hureo, a user research firm based in India, to perform a user study on how new and casual readers use the desktop interface of Wikipedia. The study was separated in two phases, with the first phase focusing on primarily English readers, and the second phase on bilingual and non-English readers. The goal of the study was to understand the experience of new and casual readers and to identify the main issues new and frequent readers had with the current site.

Both the group of participants reading in regional languages, as well as the group of participants reading in English, were overall unaware that we provide language switching functionality within the page. Most of the readers surveyed would access articles on multiple languages by searching for the article via a search engine.

When interacting with a prototype of the new location of the language switching functionality, both new and casual readers preferred the new location.

More details available in report>Special:MyLanguage/Reading/Web/Desktop Improvements/Repository/Hureo User Research Report|the full report.

Initial testing on usertesting.com
We performed user testing comparing the current placement of interlanguage links (in the sidebar) with the proposed location in the article header. The goal of these tests was to determine if people can find and use the language switching capability faster than the previous location. The results of the tests confirmed our hypothesis - participants in the test group (new location) we able to find the language switcher quicker than participants in the control group (old location). Based on these results, we plan on continuing to explore moving the language selector to this location as a part of the desktop improvements project. More details are available in tests>Special:MyLanguage/Reading/Web/Desktop Improvements/Repository/Language Switching User Tests|our full report.

Icon testing
As far as we know there is no "standard", globally recognized language icon. The icon that we use currently in Vector, Minerva, and Timeless features a Latin "A" character and a Chinese "文" character (which means "language"). A discussion, including some history, about the icon is here: https://phabricator.wikimedia.org/T210865. After further discussion (https://phabricator.wikimedia.org/T268514) we determined that the only other strong candidate for a language icon is a globe 🌐. We ran a simple test on usertesting.com to try and understand if the globe icon is more or less obvious as a language icon than the one we currently use (we can call it the character icon). Out of 40, multilingual participants: 35 guessed the character icon was for switching languages, and 13 guessed the globe icon was for switching languages (people were able to guess that both icons were for languages, thus the total number of guesses is more than the number of people in the test). These results are not statistically significant, however they help inform two assumptions:


 * 1) the globe icon is probably not more obvious as a language icon than the character icon
 * 2) we should use the label "languages" whenever possible in addition to the icon (since ~13% of people did not guess the character icon was related to switching languages).

Conclusion: until further testing is done we will continue using the character icon.

Quantitative testing
We are planning to perform an A/B test to measure the frequency of language switching in the control version (current interface) and the test version (button interface).

Limitations
We have also began explorations of including language variants within the current language selector. Due to technical limitations, we will be continuing with these explorations in the second iteration of the feature.