=== Description
Earlier in the desktop improvements project we moved the language switcher from the sidebar to the top of the page (next to the article title), so that it is more discoverable (T260738). This presented a problem for Main pages because they do not have a page title element, so there was no clear place to put the language switcher. In T276140 we put it at the bottom of the Main page so it would at least be somewhere, and we started to explore ideas for how to find a better location for it on the Main page. This task is for continuing that conversation, and finding a better solution to make it easier to switch languages from the Main page.
=== Ideas
====== Add title to Main page (which includes the language switcher)
One idea to try is adding a title to the Main page, which includes the language switcher beside it. The main benefit to this solution is that the language switcher will be consistent between the Main page and all article pages. Currently the Main page doesn't have a title, so it would take some time and discussion to figure out what an appropriate title for the page could be. And a good option for one project might not work for others.
| Logged-out | Logged-in
| -- | --
| {F34636069 width=400} | {F34636071 width=400}
====== Create language switcher templates for main page
Another idea is to create some template (or templates) for the Main page that communities can choose to add as they like. Some communities already have language templates on their Main pages, so for them it could be about moving those templates closer to the top. For other projects they would have to add them entirely. Here are some examples:
| {F34130399 width=300} | {F34130402 width=300} | {F34130404 width=300}
for reference, here are some of the existing language templates on Main pages:
| [[ https://hi.wikipedia.org | Hindi Wikipedia ]] | [[ https://ceb.wikipedia.org | Cebuano Wikipedia ]] | [[ https://azb.wikipedia.org | South Azerbaijani ]] | [[ https://hu.wikipedia.org | Hungarian ]] | [[ https://war.wikipedia.org | Waray-Waray ]]
| {F34130322} | {F34130324} | {F34130326} | {F34130331} | {F34130414}