Translatable pages allow contents such as project documentaiton on Mediawiki.org to be multilingual. Currently a flat list with all languages in which the content is available is listed above the page contents. As the content is translated into more languages, this makes it hard for users to find the content in their language (they have to scan a long list or rely on the browser search), clutters the page, and pushes the content down.
This ticket proposes to use the Language selector from ULS to make language selection consistent with the way languages are selected on other projects like Wikipedia.
Multilingual page on Mediawiki | Wikipedia page connected to other language versions |
---|---|
Design details
- The current list of languages will no longer be shown directly on the page.
- An access point will be provided as a button at the far end of the page title area (like in Wikipedia).
- The language selector will list the languages in which the contents are available.
- The languages in the list will have the indicators of translation completion (blue dots) in the space reserved for indicators (placed before the name and used on Wikipedia for "Featured article" indicators and similar). (T352425)
- The "add languages" option (T323694) may need adjustments. If there is only one action available, it may be displayed directly.
- We need to explore how to communicate the current selected language (especially when it is different from the current UI language) at the page and/or selector level. Note how multilingual pages currently have the currently selected language in bold.
This ticket is focused on cases where the page is available in several languages. A separate ticket (T353235) will cover other cases where the page has not been made multilingual, it has not been translated to other languages yet or has changes in the source contents pending to be marked for translation.