== User story [Multilingual reader]
When searching articles...
...I want be able to quickly search across languages....
...so that I can easily find articles in all Wikipedia languages I read.
== Mocks of proposed designs
=== Interaction flow
====Invision prototype: https://wikimedia.invisionapp.com/share/F4GNQ7VWQXB#/288670073_FLOW-_ENABLE_SEARCH_IN_MULTIPLE_LANGUAGES
// Redline mocks on [[ https://zpl.io/GaRQKKV | Zeplin board ]] - tagged with `Multilingual` and `Search` //
=== Notes on the design
- The language filter bar is only shown if more than 1 app language is set
- Order of the app languages determines the order they are shown in the search filter by language tabs
- the language tab bar is scrollable in the case of language names length or if number of languages exceeds beyond the available screen width, but the MORE button is sticky to the RHS of the filter tab bar (language tabs overflow and are scrollable under the MORE button)
== QA required {icon check color=green}
=== Scenario A: User has just 1 language set
**Pre-conditions:** User's system language is English only, and their Wikipedia app is also set to English.
# Open search in the Wikipedia app.
# Start typing a search term, for example "Egg tart" and note the results appearing from en.wiki
# Tap on "EN" search bar to open the app language settings screen
# Select "Add a language" and add Chinese Traditional as the second language.
# Tap to select "Chinese Traditional". It is **expected** that upon selection, the user is returned to the search screen now with an additional language filter bar, with Chinese Traditional as the 2nd language filter tab selected, and results for "Egg tart" shown in zh-hant.wiki
=== Scenario B: User has multiple app languages set
**Pre-conditions:** User's system language is English, and their Wikipedia app has the following languages selected (in order) as 1/English, 2/Chinese (Traditional) and 3/French.
# Open search in the Wikipedia app.
# Start typing a search term, for example "Egg tart" and note the results appearing from en.wiki
# Tap on the Chinese Traditional filter tab to see results for "Egg tart" in zh-hant.wiki.
# Tap on "MORE" in the language filter tab to open the app language settings screen
# Tap to add a 4th language "Danish". It is expected that upon selection, the user is returned to the search now with Danish as an additional 4th language filter tab, showing results for "Egg tart" in da.wiki
# Tap on “MORE” again and reorder languages to make French second and Traditional Chinese third.
# Tap on French. It is expected that the user is returned to search now with French as the active filter tab, showing results for "Egg tart" in fr.wiki