Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

LANG-006 Published · Updated

Machine translation menu language switcher

A language switcher for sites with no translated pages: choosing a language from the "Language" menu machine-translates the page being viewed.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Machine translation menu language switcher

Machine translation menu language switcher UI design (desktop wireframe)

Wireframe (mobile) | Machine translation menu language switcher

Machine translation menu language switcher UI design (mobile wireframe)

What changes on mobile

  1. "Language" stays in the header: The menu is usually labeled in Japanese, so readers who cannot read it would never find the switcher inside.
  2. The language list goes full width: Rows are easy to tap, and long language names fit without wrapping.
  3. "Back to Japanese" goes full width: However long the band text is in a given language, the way back is always in the same place.
  4. The content table stacks: Translations tend to run longer than Japanese, so labels and values go one above the other.

Before you choose this pattern | Machine translation menu language switcher

Good fit

  • You have readers of other languages but no budget or staff to build translated pages
  • The site has many pages and frequent updates that translated pages could not keep up with
  • Readers use many languages, too many to build pages for each
  • Important procedures can be handed over to a desk or phone consultation
  • Local governments, hospitals, tourist information, schools and care facilities, common on Japanese sites

Poor fit

  • You have translated pages in four or more languages (the dropdown language switcher works better)
  • Prices, contracts or other content where mistranslation is not acceptable must be conveyed accurately (checked translated pages with a switcher such as the header link language switcher work better)
  • Only some pages have a translated version and you need to guide readers on the rest (the untranslated page notice works better)

Why this wireframe works | Machine translation menu language switcher

Readable in other languages without translated pages

Many Japanese sites, especially local governments, hospitals and schools, cannot afford to build translated pages and keep them as current as the Japanese ones. Machine-translating the Japanese page into the chosen language gives readers of other languages the gist of the content even when no translated page exists. Unlike the dropdown and other switchers that move to a separate translated page, this pattern translates the page the reader is already on.

A “Language” entry point in a fixed place in the header

Readers who cannot read Japanese cannot rely on Japanese menu labels. A globe icon and “Language” in a fixed place in the header, with each language listed in its own name, let readers find the way in and their own language without reading Japanese.

A notice in the chosen language before switching

Machine translation can leave errors. After a language is chosen, a notice in that language says the translation may not be accurate and that important details such as procedures should be checked on the Japanese page, with “Translate” and “Cancel” buttons. Readers start out expecting to double-check, rather than taking the translation at face value.

A band that keeps showing the translation state and the way back

A translated page looks just like an original one. A band at the top reading “Machine translated (English)” with a “Back to Japanese” button, kept in place while translated, reminds readers they are reading machine translation and lets them return to the Japanese original at any time. Labeling the button in both Japanese and the chosen language helps staff or family members who step in to help.

Telling readers on the spot what is not translated

Text inside images and PDF files is often not translated, and Japanese public-sector sites list them as outside the service. Adding “Text in images is not translated” and “PDF files are in Japanese only” next to them, only while translated, tells readers that untranslated parts are out of scope, not broken.

Common mistakes | Machine translation menu language switcher

Showing machine translation without saying so

When only the translated text appears, readers may take it for a checked translation. Say it is machine translation both in the notice before translating and in the band while translated.

Writing the notice in Japanese only

The people who need the notice are the ones who cannot read Japanese. Show it in the chosen language, and prepare wording checked for each language instead of leaving it to the translation service.

Letting department names, place names and amounts be translated

Translated department or place names no longer match the Japanese on counters and signs. Mark words that must stay as they are with the HTML translate=”no” attribute, and check that your translation service honors it. Also check in the main languages that amounts, dates and phone numbers survive translation.

Auto-publishing machine translations as large numbers of pages

Google’s spam policies give, as an example, generating many pages through automated transformations such as translating, where little value is provided to users. For pages you want found in searches in other languages, publish checked translations at separate URLs.

No way back to Japanese

Without a way back, family members or staff helping the reader cannot check the Japanese. Put the way back in the translation band and label it in Japanese as well.

Publishing machine-translated pages without review

On machine-translated pages, state how the page was translated and how far it has been checked. For text about pricing, contracts, medical care or safety, prefer human review and keep a link to the original.

FAQ | Machine translation menu language switcher

How does this differ from the dropdown language switcher?

The dropdown switcher assumes translated pages exist and moves to the page in the chosen language. The machine translation menu has no translated pages and machine-translates the page being viewed. If you can provide translated pages, the dropdown language switcher works better.

How do machine-translated views look to search engines?

When translation happens on the same URL, search engines most likely read the Japanese page. Google recommends separate URLs for each language version. Create translated versions of pages you want in other-language search results at their own URLs and connect them with hreflang. Auto-publishing machine translations as large numbers of pages risks being treated as spam.

Are text in images and PDF files translated?

Usually not. Japanese municipal sites that offer this service note that non-HTML files and text shown as images cannot be translated. Write important information as page text rather than images, and summarize the key points of PDFs on the page.

Which languages should the list show?

Start with the languages most of your other-language readers use. The nationalities of foreign residents in the area or the countries most visitors come from are good guides. If you support many languages, list the main ones first and group the rest under “Other languages”.

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published