CINXE.COM
Template:LangSwitch - Wikimedia Commons
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Template:LangSwitch - Wikimedia Commons</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-available";var cookie=document.cookie.match(/(?:^|; )commonswikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"46c6b525-84aa-4a8a-accf-ded1099d7430","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Template:LangSwitch","wgTitle":"LangSwitch","wgCurRevisionId":304554635,"wgRevisionId":304554635,"wgArticleId":6296689,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Main message boxes","LangSwitch template without default version","Heavily used templates","Lua-based templates","Templates using TemplateData","Templates not requiring internationalization","Internationalization templates"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Template:LangSwitch","wgRelevantArticleId":6296689,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":[ "sysop"],"wgRestrictionMove":["sysop"],"wgNoticeProject":"commons","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":false,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":100,"upwizPropertyTitles":{"P180":"Main subjects visible in this work"},"upwizPropertyPlaceholders":{"P180":"e.g., Angolan giraffe"},"upwizPropertyCopyLabels":{"P180":"Main subjects"},"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q15212145","wbmiDefaultProperties":["P180"],"wbmiPropertyTitles":{"P180":"Items portrayed in this file"},"wbmiPropertyTypes":{"P180":"wikibase-item"},"wbmiRepoApiUrl":"/w/api.php","wbmiHelpUrls":{ "P180":"https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Depicts"},"wbmiExternalEntitySearchBaseUri":"https://www.wikidata.org/w/api.php","wbmiSupportedDataTypes":["wikibase-item","string","quantity","time","monolingualtext","external-id","globe-coordinate","url"],"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.gadget.Long-Image-Names-in-Categories":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.templateData":"ready","ext.templateData.images":"ready","jquery.tablesorter.styles":"ready","ext.cite.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready", "jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready"};RLPAGEMODULES=["jquery.tablesorter","ext.cite.ux-enhancements","ext.scribunto.logs","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Slideshow","ext.gadget.ZoomViewer","ext.gadget.CollapsibleTemplates","ext.gadget.fastcci","ext.gadget.Stockphoto","ext.gadget.WatchlistNotice","ext.gadget.AjaxQuickDelete","ext.gadget.WikiMiniAtlas","ext.gadget.LanguageSelect","ext.gadget.PictureOfTheYearEnhancements","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks", "ext.uls.interface","wikibase.client.vector-2022","ext.checkUser.clientHints"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.templateData%7Cext.templateData.images%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cjquery.tablesorter.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.gadget.Long-Image-Names-in-Categories&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.18"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Template:LangSwitch - Wikimedia Commons"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//commons.m.wikimedia.org/wiki/Template:LangSwitch"> <link rel="apple-touch-icon" href="/static/apple-touch/commons.png"> <link rel="icon" href="/static/favicon/commons.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikimedia Commons"> <link rel="EditURI" type="application/rsd+xml" href="//commons.wikimedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://commons.wikimedia.org/wiki/Template:LangSwitch"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="Wikimedia Commons Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-10 ns-subject page-Template_LangSwitch rootpage-Template_LangSwitch skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" title="Main menu" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigate </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-welcome" class="mw-list-item"><a href="/wiki/Commons:Welcome"><span>Welcome</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Commons:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-village-pump" class="mw-list-item"><a href="/wiki/Commons:Village_pump"><span>Village pump</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help center</span></a></li><li id="n-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages"><span>Special pages</span></a></li> </ul> </div> </div> <div id="p-participate" class="vector-menu mw-portlet mw-portlet-participate" > <div class="vector-menu-heading"> Participate </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-uploadbtn" class="mw-list-item"><a href="/wiki/Special:UploadWizard"><span>Upload file</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-latestfiles" class="mw-list-item"><a href="/wiki/Special:NewFiles"><span>Latest files</span></a></li><li id="n-randomimage" class="mw-list-item"><a href="/wiki/Special:Random/File" title="Load a random file [x]" accesskey="x"><span>Random file</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Commons:Contact_us"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In Wikipedia </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-anp mw-list-item"><a href="https://anp.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:Langswitch" title="साँचा:Langswitch – Angika" lang="anp" hreflang="anp" data-title="साँचा:Langswitch" data-language-autonym="अंगिका" data-language-local-name="Angika" class="interlanguage-link-target"><span>अंगिका</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D9%84%D8%A8:LangSwitch" title="قالب:LangSwitch – Arabic" lang="ar" hreflang="ar" data-title="قالب:LangSwitch" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/Plant%C3%ADa:LangSwitch" title="Plantía:LangSwitch – Asturian" lang="ast" hreflang="ast" data-title="Plantía:LangSwitch" data-language-autonym="Asturianu" data-language-local-name="Asturian" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-atj mw-list-item"><a href="https://atj.wikipedia.org/wiki/Tipapitcikesinihikan:LangSwitch" title="Tipapitcikesinihikan:LangSwitch – Atikamekw" lang="atj" hreflang="atj" data-title="Tipapitcikesinihikan:LangSwitch" data-language-autonym="Atikamekw" data-language-local-name="Atikamekw" class="interlanguage-link-target"><span>Atikamekw</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D8%B4%D8%A7%D8%A8%D9%84%D9%88%D9%86:LangSwitch" title="شابلون:LangSwitch – South Azerbaijani" lang="azb" hreflang="azb" data-title="شابلون:LangSwitch" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-ba mw-list-item"><a href="https://ba.wikipedia.org/wiki/%D2%A0%D0%B0%D0%BB%D1%8B%D0%BF:LangSwitch" title="Ҡалып:LangSwitch – Bashkir" lang="ba" hreflang="ba" data-title="Ҡалып:LangSwitch" data-language-autonym="Башҡортса" data-language-local-name="Bashkir" class="interlanguage-link-target"><span>Башҡортса</span></a></li><li class="interlanguage-link interwiki-bcl mw-list-item"><a href="https://bcl.wikipedia.org/wiki/Plantilya:LangSwitch" title="Plantilya:LangSwitch – Central Bikol" lang="bcl" hreflang="bcl" data-title="Plantilya:LangSwitch" data-language-autonym="Bikol Central" data-language-local-name="Central Bikol" class="interlanguage-link-target"><span>Bikol Central</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:LangSwitch" title="Шаблон:LangSwitch – Belarusian" lang="be" hreflang="be" data-title="Шаблон:LangSwitch" data-language-autonym="Беларуская" data-language-local-name="Belarusian" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D1%91%D0%BD:%D0%9F%D0%B5%D1%80%D0%B0%D0%BA%D0%BB%D1%8E%D1%87%D1%8D%D0%BD%D1%8C%D0%BD%D0%B5_%D0%BC%D0%BE%D0%B2%D0%B0%D1%9E" title="Шаблён:Пераключэньне моваў – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="Шаблён:Пераключэньне моваў" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:LangSwitch" title="Шаблон:LangSwitch – Bulgarian" lang="bg" hreflang="bg" data-title="Шаблон:LangSwitch" data-language-autonym="Български" data-language-local-name="Bulgarian" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bh mw-list-item"><a href="https://bh.wikipedia.org/wiki/%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F:LangSwitch" title="टेम्पलेट:LangSwitch – Bhojpuri" lang="bh" hreflang="bh" data-title="टेम्पलेट:LangSwitch" data-language-autonym="भोजपुरी" data-language-local-name="Bhojpuri" class="interlanguage-link-target"><span>भोजपुरी</span></a></li><li class="interlanguage-link interwiki-bjn mw-list-item"><a href="https://bjn.wikipedia.org/wiki/Citakan:LangSwitch" title="Citakan:LangSwitch – Banjar" lang="bjn" hreflang="bjn" data-title="Citakan:LangSwitch" data-language-autonym="Banjar" data-language-local-name="Banjar" class="interlanguage-link-target"><span>Banjar</span></a></li><li class="interlanguage-link interwiki-br mw-list-item"><a href="https://br.wikipedia.org/wiki/Patrom:LangSwitch" title="Patrom:LangSwitch – Breton" lang="br" hreflang="br" data-title="Patrom:LangSwitch" data-language-autonym="Brezhoneg" data-language-local-name="Breton" class="interlanguage-link-target"><span>Brezhoneg</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Plantilla:LangSwitch" title="Plantilla:LangSwitch – Catalan" lang="ca" hreflang="ca" data-title="Plantilla:LangSwitch" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ceb mw-list-item"><a href="https://ceb.wikipedia.org/wiki/Plantilya:LangSwitch" title="Plantilya:LangSwitch – Cebuano" lang="ceb" hreflang="ceb" data-title="Plantilya:LangSwitch" data-language-autonym="Cebuano" data-language-local-name="Cebuano" class="interlanguage-link-target"><span>Cebuano</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:LangSwitch" title="داڕێژە:LangSwitch – Central Kurdish" lang="ckb" hreflang="ckb" data-title="داڕێژە:LangSwitch" data-language-autonym="کوردی" data-language-local-name="Central Kurdish" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/Nodyn:LangSwitch" title="Nodyn:LangSwitch – Welsh" lang="cy" hreflang="cy" data-title="Nodyn:LangSwitch" data-language-autonym="Cymraeg" data-language-local-name="Welsh" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-dag mw-list-item"><a href="https://dag.wikipedia.org/wiki/T%C9%9Bmplet:LangSwitch" title="Tɛmplet:LangSwitch – Dagbani" lang="dag" hreflang="dag" data-title="Tɛmplet:LangSwitch" data-language-autonym="Dagbanli" data-language-local-name="Dagbani" class="interlanguage-link-target"><span>Dagbanli</span></a></li><li class="interlanguage-link interwiki-dty mw-list-item"><a href="https://dty.wikipedia.org/wiki/%E0%A4%A2%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:LangSwitch" title="ढाँचा:LangSwitch – Doteli" lang="dty" hreflang="dty" data-title="ढाँचा:LangSwitch" data-language-autonym="डोटेली" data-language-local-name="Doteli" class="interlanguage-link-target"><span>डोटेली</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/%CE%A0%CF%81%CF%8C%CF%84%CF%85%CF%80%CE%BF:LangSwitch" title="Πρότυπο:LangSwitch – Greek" lang="el" hreflang="el" data-title="Πρότυπο:LangSwitch" data-language-autonym="Ελληνικά" data-language-local-name="Greek" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%A7%D9%84%DA%AF%D9%88:LangSwitch" title="الگو:LangSwitch – Persian" lang="fa" hreflang="fa" data-title="الگو:LangSwitch" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Mod%C3%A8le:LangSwitch" title="Modèle:LangSwitch – French" lang="fr" hreflang="fr" data-title="Modèle:LangSwitch" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Teimpl%C3%A9ad:LangSwitch" title="Teimpléad:LangSwitch – Irish" lang="ga" hreflang="ga" data-title="Teimpléad:LangSwitch" data-language-autonym="Gaeilge" data-language-local-name="Irish" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gd mw-list-item"><a href="https://gd.wikipedia.org/wiki/Teamplaid:LangSwitch" title="Teamplaid:LangSwitch – Scottish Gaelic" lang="gd" hreflang="gd" data-title="Teamplaid:LangSwitch" data-language-autonym="Gàidhlig" data-language-local-name="Scottish Gaelic" class="interlanguage-link-target"><span>Gàidhlig</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Modelo:LangSwitch" title="Modelo:LangSwitch – Galician" lang="gl" hreflang="gl" data-title="Modelo:LangSwitch" data-language-autonym="Galego" data-language-local-name="Galician" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gom mw-list-item"><a href="https://gom.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BE%E0%A4%82%E0%A4%9A%E0%A5%8B:LangSwitch" title="सांचो:LangSwitch – Goan Konkani" lang="gom" hreflang="gom" data-title="सांचो:LangSwitch" data-language-autonym="गोंयची कोंकणी / Gõychi Konknni" data-language-local-name="Goan Konkani" class="interlanguage-link-target"><span>गोंयची कोंकणी / Gõychi Konknni</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%A2%E0%AA%BE%E0%AA%82%E0%AA%9A%E0%AB%8B:LangSwitch" title="ઢાંચો:LangSwitch – Gujarati" lang="gu" hreflang="gu" data-title="ઢાંચો:LangSwitch" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-guw mw-list-item"><a href="https://guw.wikipedia.org/wiki/Ohia:LangSwitch" title="Ohia:LangSwitch – Gun" lang="guw" hreflang="guw" data-title="Ohia:LangSwitch" data-language-autonym="Gungbe" data-language-local-name="Gun" class="interlanguage-link-target"><span>Gungbe</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/Samfuri:LangSwitch" title="Samfuri:LangSwitch – Hausa" lang="ha" hreflang="ha" data-title="Samfuri:LangSwitch" data-language-autonym="Hausa" data-language-local-name="Hausa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:LangSwitch" title="साँचा:LangSwitch – Hindi" lang="hi" hreflang="hi" data-title="साँचा:LangSwitch" data-language-autonym="हिन्दी" data-language-local-name="Hindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Sablon:LangSwitch" title="Sablon:LangSwitch – Hungarian" lang="hu" hreflang="hu" data-title="Sablon:LangSwitch" data-language-autonym="Magyar" data-language-local-name="Hungarian" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D4%BF%D5%A1%D5%B2%D5%A1%D5%BA%D5%A1%D6%80:LangSwitch" title="Կաղապար:LangSwitch – Armenian" lang="hy" hreflang="hy" data-title="Կաղապար:LangSwitch" data-language-autonym="Հայերեն" data-language-local-name="Armenian" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Templat:LangSwitch" title="Templat:LangSwitch – Indonesian" lang="id" hreflang="id" data-title="Templat:LangSwitch" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Template:LangSwitch" title="Template:LangSwitch – Italian" lang="it" hreflang="it" data-title="Template:LangSwitch" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%97%E1%83%90%E1%83%A0%E1%83%92%E1%83%98:LangSwitch" title="თარგი:LangSwitch – Georgian" lang="ka" hreflang="ka" data-title="თარგი:LangSwitch" data-language-autonym="ქართული" data-language-local-name="Georgian" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%9F%E0%B3%86%E0%B2%82%E0%B2%AA%E0%B3%8D%E0%B2%B2%E0%B3%87%E0%B2%9F%E0%B3%81:LangSwitch" title="ಟೆಂಪ್ಲೇಟು:LangSwitch – Kannada" lang="kn" hreflang="kn" data-title="ಟೆಂಪ್ಲೇಟು:LangSwitch" data-language-autonym="ಕನ್ನಡ" data-language-local-name="Kannada" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%ED%8B%80:LangSwitch" title="틀:LangSwitch – Korean" lang="ko" hreflang="ko" data-title="틀:LangSwitch" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-mai mw-list-item"><a href="https://mai.wikipedia.org/wiki/%E0%A4%86%E0%A4%95%E0%A5%83%E0%A4%A4%E0%A4%BF:LangSwitch" title="आकृति:LangSwitch – Maithili" lang="mai" hreflang="mai" data-title="आकृति:LangSwitch" data-language-autonym="मैथिली" data-language-local-name="Maithili" class="interlanguage-link-target"><span>मैथिली</span></a></li><li class="interlanguage-link interwiki-map-bms mw-list-item"><a href="https://map-bms.wikipedia.org/wiki/Cithakan:LangSwitch" title="Cithakan:LangSwitch – Banyumasan" lang="jv-x-bms" hreflang="jv-x-bms" data-title="Cithakan:LangSwitch" data-language-autonym="Basa Banyumasan" data-language-local-name="Banyumasan" class="interlanguage-link-target"><span>Basa Banyumasan</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:LangSwitch" title="ഫലകം:LangSwitch – Malayalam" lang="ml" hreflang="ml" data-title="ഫലകം:LangSwitch" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mnw mw-list-item"><a href="https://mnw.wikipedia.org/wiki/%E1%80%91%E1%80%AC%E1%80%99%E1%80%BA%E1%80%95%E1%80%9C%E1%80%AD%E1%80%80%E1%80%BA:LangSwitch" title="ထာမ်ပလိက်:LangSwitch – Mon" lang="mnw" hreflang="mnw" data-title="ထာမ်ပလိက်:LangSwitch" data-language-autonym="ဘာသာမန်" data-language-local-name="Mon" class="interlanguage-link-target"><span>ဘာသာမန်</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BE%E0%A4%9A%E0%A4%BE:LangSwitch" title="साचा:LangSwitch – Marathi" lang="mr" hreflang="mr" data-title="साचा:LangSwitch" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%A2%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:LangSwitch" title="ढाँचा:LangSwitch – Nepali" lang="ne" hreflang="ne" data-title="ढाँचा:LangSwitch" data-language-autonym="नेपाली" data-language-local-name="Nepali" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Mal:LangSwitch" title="Mal:LangSwitch – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Mal:LangSwitch" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%AB%E0%A8%B0%E0%A8%AE%E0%A8%BE:LangSwitch" title="ਫਰਮਾ:LangSwitch – Punjabi" lang="pa" hreflang="pa" data-title="ਫਰਮਾ:LangSwitch" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pcd mw-list-item"><a href="https://pcd.wikipedia.org/wiki/Mod%C3%A8le:LangSwitch" title="Modèle:LangSwitch – Picard" lang="pcd" hreflang="pcd" data-title="Modèle:LangSwitch" data-language-autonym="Picard" data-language-local-name="Picard" class="interlanguage-link-target"><span>Picard</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Predefini%C3%A7%C3%A3o:LangSwitch" title="Predefinição:LangSwitch – Portuguese" lang="pt" hreflang="pt" data-title="Predefinição:LangSwitch" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-sat mw-list-item"><a href="https://sat.wikipedia.org/wiki/%E1%B1%AA%E1%B1%B7%E1%B1%9F%E1%B1%B8%E1%B1%AA:LangSwitch" title="ᱪᱷᱟᱸᱪ:LangSwitch – Santali" lang="sat" hreflang="sat" data-title="ᱪᱷᱟᱸᱪ:LangSwitch" data-language-autonym="ᱥᱟᱱᱛᱟᱲᱤ" data-language-local-name="Santali" class="interlanguage-link-target"><span>ᱥᱟᱱᱛᱟᱲᱤ</span></a></li><li class="interlanguage-link interwiki-sd mw-list-item"><a href="https://sd.wikipedia.org/wiki/%D8%B3%D8%A7%D9%86%DA%86%D9%88:LangSwitch" title="سانچو:LangSwitch – Sindhi" lang="sd" hreflang="sd" data-title="سانچو:LangSwitch" data-language-autonym="سنڌي" data-language-local-name="Sindhi" class="interlanguage-link-target"><span>سنڌي</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B7%83%E0%B7%90%E0%B6%9A%E0%B7%92%E0%B6%BD%E0%B7%8A%E0%B6%BD:LangSwitch" title="සැකිල්ල:LangSwitch – Sinhala" lang="si" hreflang="si" data-title="සැකිල්ල:LangSwitch" data-language-autonym="සිංහල" data-language-local-name="Sinhala" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-st mw-list-item"><a href="https://st.wikipedia.org/wiki/Template:LangSwitch" title="Template:LangSwitch – Southern Sotho" lang="st" hreflang="st" data-title="Template:LangSwitch" data-language-autonym="Sesotho" data-language-local-name="Southern Sotho" class="interlanguage-link-target"><span>Sesotho</span></a></li><li class="interlanguage-link interwiki-stq mw-list-item"><a href="https://stq.wikipedia.org/wiki/Foarloage:LangSwitch" title="Foarloage:LangSwitch – Saterland Frisian" lang="stq" hreflang="stq" data-title="Foarloage:LangSwitch" data-language-autonym="Seeltersk" data-language-local-name="Saterland Frisian" class="interlanguage-link-target"><span>Seeltersk</span></a></li><li class="interlanguage-link interwiki-tcy mw-list-item"><a href="https://tcy.wikipedia.org/wiki/%E0%B2%9F%E0%B3%86%E0%B2%82%E0%B2%AA%E0%B3%8D%E0%B2%B2%E0%B3%87%E0%B2%9F%E0%B3%8D:LangSwitch" title="ಟೆಂಪ್ಲೇಟ್:LangSwitch – Tulu" lang="tcy" hreflang="tcy" data-title="ಟೆಂಪ್ಲೇಟ್:LangSwitch" data-language-autonym="ತುಳು" data-language-local-name="Tulu" class="interlanguage-link-target"><span>ತುಳು</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%AE%E0%B1%82%E0%B0%B8:LangSwitch" title="మూస:LangSwitch – Telugu" lang="te" hreflang="te" data-title="మూస:LangSwitch" data-language-autonym="తెలుగు" data-language-local-name="Telugu" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:LangSwitch" title="Шаблон:LangSwitch – Tajik" lang="tg" hreflang="tg" data-title="Шаблон:LangSwitch" data-language-autonym="Тоҷикӣ" data-language-local-name="Tajik" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-tpi mw-list-item"><a href="https://tpi.wikipedia.org/wiki/Templet:LangSwitch" title="Templet:LangSwitch – Tok Pisin" lang="tpi" hreflang="tpi" data-title="Templet:LangSwitch" data-language-autonym="Tok Pisin" data-language-local-name="Tok Pisin" class="interlanguage-link-target"><span>Tok Pisin</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/%C5%9Eablon:LangSwitch" title="Şablon:LangSwitch – Turkish" lang="tr" hreflang="tr" data-title="Şablon:LangSwitch" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-tum mw-list-item"><a href="https://tum.wikipedia.org/wiki/Template:LangSwitch" title="Template:LangSwitch – Tumbuka" lang="tum" hreflang="tum" data-title="Template:LangSwitch" data-language-autonym="ChiTumbuka" data-language-local-name="Tumbuka" class="interlanguage-link-target"><span>ChiTumbuka</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D8%B3%D8%A7%D9%86%DA%86%DB%81:LangSwitch" title="سانچہ:LangSwitch – Urdu" lang="ur" hreflang="ur" data-title="سانچہ:LangSwitch" data-language-autonym="اردو" data-language-local-name="Urdu" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-vec mw-list-item"><a href="https://vec.wikipedia.org/wiki/Mode%C5%82o:LangSwitch" title="Modeło:LangSwitch – Venetian" lang="vec" hreflang="vec" data-title="Modeło:LangSwitch" data-language-autonym="Vèneto" data-language-local-name="Venetian" class="interlanguage-link-target"><span>Vèneto</span></a></li><li class="interlanguage-link interwiki-yo mw-list-item"><a href="https://yo.wikipedia.org/wiki/%C3%80d%C3%A0k%E1%BB%8D:LangSwitch" title="Àdàkọ:LangSwitch – Yoruba" lang="yo" hreflang="yo" data-title="Àdàkọ:LangSwitch" data-language-autonym="Yorùbá" data-language-local-name="Yoruba" class="interlanguage-link-target"><span>Yorùbá</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Template:LangSwitch" title="Template:LangSwitch – Chinese" lang="zh" hreflang="zh" data-title="Template:LangSwitch" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15212145#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/commonswiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikimedia Commons" src="/static/images/mobile/copyright/commonswiki-wordmark.svg" style="width: 7.1875em; height: 2em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box"> <a href="/wiki/Special:MediaSearch" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikimedia Commons [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikimedia Commons" aria-label="Search Wikimedia Commons" autocapitalize="sentences" title="Search Wikimedia Commons [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:MediaSearch"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=commons.wikimedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Template%3ALangSwitch" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Template%3ALangSwitch" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=commons.wikimedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Template%3ALangSwitch" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Template%3ALangSwitch" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-Usage" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Usage"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Usage</span> </div> </a> <button aria-controls="toc-Usage-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Usage subsection</span> </button> <ul id="toc-Usage-sublist" class="vector-toc-list"> <li id="toc-Template_parameters" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Template_parameters"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Template parameters</span> </div> </a> <ul id="toc-Template_parameters-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Additional_information" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Additional_information"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Additional information</span> </div> </a> <ul id="toc-Additional_information-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Localization" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Localization"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Localization</span> </div> </a> <ul id="toc-Localization-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Examples" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Examples</span> </div> </a> <button aria-controls="toc-Examples-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Examples subsection</span> </button> <ul id="toc-Examples-sublist" class="vector-toc-list"> <li id="toc-Without_a_default_option" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Without_a_default_option"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Without a default option</span> </div> </a> <ul id="toc-Without_a_default_option-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Example_for_more" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Example_for_more"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Example for more</span> </div> </a> <ul id="toc-Example_for_more-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Default_option" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Default_option"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>Default option</span> </div> </a> <ul id="toc-Default_option-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Warning" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Warning"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Warning</span> </div> </a> <ul id="toc-Warning-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Notes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Notes</span> </div> </a> <ul id="toc-Notes-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" title="Table of Contents" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Template</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">LangSwitch</span></h1> <div class="mw-indicators"> <div id="mw-indicator-protected" class="mw-indicator"><div class="mw-parser-output"><span typeof="mw:File"><a href="/wiki/Special:MyLanguage/Commons:Protection_policy" title="This page is protected against editing."><img alt="This page is protected against editing." src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/20px-Full-protection-shackle-block.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/30px-Full-protection-shackle-block.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/40px-Full-protection-shackle-block.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></div></div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-template" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Template:LangSwitch" title="View the template [c]" accesskey="c"><span>Template</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Template_talk:LangSwitch" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Template:LangSwitch"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&action=edit" title="This page is protected. You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Template:LangSwitch"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Template:LangSwitch" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Template:LangSwitch" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&oldid=304554635" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Template:LangSwitch&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FTemplate%3ALangSwitch"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FTemplate%3ALangSwitch"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Template%3ALangSwitch&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-foundation mw-list-item"><a href="https://foundation.wikimedia.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikimedia Foundation</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Template:LangSwitch" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Template:LangSwitch" hreflang="en"><span>Meta-Wiki</span></a></li><li class="wb-otherproject-link wb-otherproject-outreach mw-list-item"><a href="https://outreach.wikimedia.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikimedia Outreach</span></a></li><li class="wb-otherproject-link wb-otherproject-sources mw-list-item"><a href="https://wikisource.org/wiki/Template:LangSwitch" hreflang="en"><span>Multilingual Wikisource</span></a></li><li class="wb-otherproject-link wb-otherproject-species mw-list-item"><a href="https://species.wikimedia.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikispecies</span></a></li><li class="wb-otherproject-link wb-otherproject-wikidata mw-list-item"><a href="https://www.wikidata.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikidata</span></a></li><li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://www.wikifunctions.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikifunctions</span></a></li><li class="wb-otherproject-link wb-otherproject-wikimania mw-list-item"><a href="https://wikimania.wikimedia.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikimania</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiquote mw-list-item"><a href="https://en.wikiquote.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikiquote</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiversity mw-list-item"><a href="https://en.wikiversity.org/wiki/Template:LangSwitch" hreflang="en"><span>Wikiversity</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15212145" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div id="siteSub" class="noprint">From Wikimedia Commons, the free media repository</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p><br /> </p> <style data-mw-deduplicate="TemplateStyles:r972125160">.mw-parser-output .messagebox{margin:4px 0;width:auto;border-collapse:collapse;border:2px solid var(--border-color-progressive,#6485d1);background-color:var(--background-color-neutral-subtle,#fbfcff);color:inherit;box-sizing:border-box;border-inline-start-width:8px}.mw-parser-output .messagebox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .mbox-warning,.mw-parser-output .mbox-speedy{border:2px solid var(--border-color-error,#b22222);background:var(--background-color-error-subtle,#ffdbdb);border-inline-start-width:8px}.mw-parser-output .mbox-serious,.mw-parser-output .mbox-delete,.mw-parser-output .mbox-stop{border:2px solid var(--border-color-error,#b22222);border-inline-start-width:8px}.mw-parser-output .mbox-issue,.mw-parser-output .mbox-content{border:2px solid #f28500;background:var(--background-color-warning-subtle,#ffe);border-inline-start-width:8px}.mw-parser-output .mbox-query,.mw-parser-output .mbox-style{border:2px solid #f4c430;background:var(--background-color-warning-subtle,#ffe);border-inline-start-width:8px}.mw-parser-output .mbox-shit{border:2px solid #960;border-inline-start-width:8px}.mw-parser-output .mbox-license{border:2px solid #88a;border-inline-start-width:initial}.mw-parser-output .mbox-legal{border:2px solid var(--border-color-notice,#666);background:var(--background-color-base,#fff);border-inline-start-width:8px}.mw-parser-output .mbox-honor{border:2px solid #ca3;background:var(--background-color-warning-subtle,#fcf4db);border-inline-start-width:8px}.mw-parser-output .mbox-growth{border:2px solid #8d4;background:var(--background-color-success-subtle,#d5fdf4);border-inline-start-width:8px}.mw-parser-output .mbox-move{border:2px solid #93c;border-inline-start-width:8px}.mw-parser-output .mbox-protection,.mw-parser-output .mbox-message{border:2px solid var(--border-color-base,#aaa);border-inline-start-width:8px}.mw-parser-output .messagebox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .messagebox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .messagebox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .messagebox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .messagebox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .messagebox{margin:4px 10%}.mw-parser-output .messagebox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.messagebox img{max-width:none!important}</style><table class="plainlinks messagebox mbox-query" role="presentation" style="padding:3px; border-color: var(--border-color-content-removed, #fc3); text-align:start;width: 80%"><tbody><tr><td class="mbox-image"><div class="wpImageAnnotatorControl wpImageAnnotatorOff"><span class="noviewer" typeof="mw:File"><a href="/wiki/File:OOjs_UI_icon_alert-yellow.svg" class="mw-file-description"><img alt="⚠" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/OOjs_UI_icon_alert-yellow.svg/40px-OOjs_UI_icon_alert-yellow.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/OOjs_UI_icon_alert-yellow.svg/60px-OOjs_UI_icon_alert-yellow.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/OOjs_UI_icon_alert-yellow.svg/80px-OOjs_UI_icon_alert-yellow.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></div></td><td class="mbox-text"><b>Note:</b> This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please <b>discuss proposed changes on <a href="/wiki/Template_talk:LangSwitch" title="Template talk:LangSwitch">the talk page</a></b> first. <p>Afterwards, changes can <b>initially</b> be done at and tested with <a href="/wiki/Template:LangSwitch/sandbox" title="Template:LangSwitch/sandbox">Template:LangSwitch/sandbox</a>. </p> <div style="font-size:0.9em;"> <ul><li>Editing a template causes <b>all pages that use the template to be re-rendered</b>. If the template is used often, this can put a lot of load on the servers since it fills up the <a href="https://www.mediawiki.org/wiki/Manual:Job_queue" class="extiw" title="mw:Manual:Job queue">job queue</a>.</li> <li>Keep in mind that templates that are used on file description pages also <b>show up on other wikis</b>.</li> <li>This page has been protected from editing to prevent vandalism. Only administrators can edit it. Get their attention by placing <a href="/wiki/Template:Edit_protected" class="mw-redirect" title="Template:Edit protected"><span style="font-family:monospace,monospace;">{{Edit protected}}</span></a> at the <a href="/wiki/Template_talk:LangSwitch" title="Template talk:LangSwitch">talk page</a>.<div class="topicon" id="protected-icon" style="display:none; right:10px;"><span typeof="mw:File"><a href="/wiki/Commons:Page_protection" title="This page is protected against editing."><img alt="This page is protected against editing." src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Padlock.svg/20px-Padlock.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Padlock.svg/30px-Padlock.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Padlock.svg/40px-Padlock.svg.png 2x" data-file-width="128" data-file-height="128" /></a></span></div></li></ul></div></td></tr></tbody></table> <div id="template-documentation" class="template-documentation"><style data-mw-deduplicate="TemplateStyles:r907772297">.mw-parser-output .template-documentation{margin-top:1em;clear:both;border:2px dotted #666;padding:0.6em;background-color:#ecfcf4}.mw-parser-output .template-documentation:after{content:"";display:block;clear:both}.mw-parser-output .template-documentation-heading{padding-bottom:3px;border-bottom:1px solid #a2a9b1;margin-bottom:1ex}.mw-parser-output .template-documentation-title{font-size:150%}.mw-parser-output .template-documentation-transcludedfrom{font-size:smaller;font-style:italic}@media screen{html.skin-theme-clientpref-night .mw-parser-output .template-documentation{background-color:#0b1e1c}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .template-documentation{background-color:#0b1e1c}}</style> <table class="protected" style="direction: ltr; background:var(--background-color-base,#fff); border:1px solid var(--border-color-base, #aaa); color: inherit; padding:.2em; margin:.5em auto;"> <tbody><tr> <td style="padding-right:4px; padding-left:4px;"><span typeof="mw:File"><a href="/wiki/Commons:P" title="Protected"><img alt="Protected" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/40px-Full-protection-shackle-block.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/60px-Full-protection-shackle-block.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/80px-Full-protection-shackle-block.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></td> <td><b>This template has been protected from editing to prevent vandalism.</b><br /><span style="font-size:90%;">Please discuss changes on the <a href="/wiki/Template_talk:LangSwitch" title="Template talk:LangSwitch">talk page</a> or <a href="/wiki/Commons:AN/P" class="mw-redirect" title="Commons:AN/P">request unprotection</a>. </span></td> </tr> </tbody></table><div class="template-documentation-heading" lang="en" dir="ltr"><span class="template-documentation-title"><span typeof="mw:File"><span><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/50px-Test_Template_Info-Icon.svg.png" decoding="async" width="50" height="22" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/75px-Test_Template_Info-Icon.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/100px-Test_Template_Info-Icon.svg.png 2x" data-file-width="1792" data-file-height="800" /></span></span> Template documentation</span><span class="mw-editsection-like plainlinks" id="doc_editlinks">[ <a class="external text" href="https://commons.wikimedia.org/wiki/Template:LangSwitch/doc">view</a> <b>·</b> <a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Template:LangSwitch/doc&action=edit">edit</a> <b>·</b> <a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Template:LangSwitch/doc&action=history">history</a> <b>·</b> <a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Template:LangSwitch&action=purge">purge</a> ]</span></div> <div class="template-documentation-transcludedfrom" lang="en" dir="ltr">This documentation is <a href="https://en.wikipedia.org/wiki/Wikipedia:Transclusion" class="extiw" title="w:Wikipedia:Transclusion">transcluded</a> from <a href="/wiki/Template:LangSwitch/doc" title="Template:LangSwitch/doc">Template:LangSwitch/doc</a>.</div> <div class="template-documentation-content" lang="" dir="auto"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r972125160" /><table class="plainlinks messagebox mbox-small mbox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" title="wikipedia:Wikipedia:Lua"><img alt="Lua logo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/30px-Lua-Logo.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/45px-Lua-Logo.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/60px-Lua-Logo.svg.png 2x" data-file-width="947" data-file-height="947" /></a></span></td><td class="mbox-text">Uses <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" class="extiw" title="wikipedia:Wikipedia:Lua">Lua</a>: <div><ul><li><a href="/wiki/Module:LangSwitch" title="Module:LangSwitch">Module:LangSwitch</a></li></ul></div></td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r972125160" /><table class="plainlinks messagebox mbox-content" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="Warning" src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/40px-Ambox_important.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/60px-Ambox_important.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/80px-Ambox_important.svg.png 2x" data-file-width="40" data-file-height="40" /></span></span></td><td class="mbox-text"><b>This template is used in system messages</b>.<br />Changes to it can cause immediate changes to the Wikimedia user interface.<br /> To avoid major disruption, any changes should be tested in the template's <a href="/wiki/Template:LangSwitch/sandbox" title="Template:LangSwitch/sandbox">/sandbox</a> or <a href="/wiki/Template:LangSwitch/testcases" title="Template:LangSwitch/testcases">/testcases</a> subpages, or in your own <a href="/wiki/Commons:User_pages" title="Commons:User pages">user subpage</a>. The tested changes can be added to this page in a single edit. Please discuss changes on the <a href="/wiki/Template_talk:LangSwitch" title="Template talk:LangSwitch">talk page</a> before implementing them.</td></tr></tbody></table> <style data-mw-deduplicate="TemplateStyles:r951016059">.mw-parser-output .templatebox-desc{font-size:1.2em;font-weight:bolder;padding:0.2em}.mw-parser-output .templatebox-usagesample{font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace}.mw-parser-output .templatebox-languagedependant{background:var(--background-color-neutral-subtle,#f8f9fa);color:inherit;padding:0.2em}.mw-parser-output .templatebox-example{border:1px solid var(--border-color-base,#a2a9b1);width:90%;padding:1.5em}.mw-parser-output .templatebox-example:after{display:block;content:"";clear:both}.mw-parser-output hr.templatebox-examples-separator{margin:1em 0}</style> <p><small></small> </p> <div class="templatebox-desc"> <p>Provides a method to present a string of text selected from an array of many language translations in the language set in the user's preferences or the most appropriate fallback language. </p> </div> <p>The template automatically sets the following categories: <a href="/wiki/Category:Internationalization_templates_using_LangSwitch" title="Category:Internationalization templates using LangSwitch">Category:Internationalization templates using LangSwitch</a> </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Usage">Usage</h2></div> <div class="templatebox-usagesample"> <div class="poem"> <p>{{LangSwitch<br />  |en = <br />  |xx = <br />  |default = <br /> }} </p> </div> </div> <div class="mw-heading mw-heading3"><h3 id="Template_parameters">Template parameters</h3></div> <div class="mw-collapsible mw-collapsed"> <div class="mw-collapsible-toggle" style="cursor:pointer" title="Information about TemplateData"><a class="mw-selflink selflink"><span class="submit ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only" role="button"><span class="ui-button-icon-primary ui-icon ui-icon-help"> </span><span class="ui-button-text">Parameter <b>text</b> is empty</span></span></a></div> <div class="mw-collapsible-content"><style data-mw-deduplicate="TemplateStyles:r951023178">.mw-parser-output .commons-template-TemplateDataInfo{background:var(--background-color-warning-subtle,#fdf2d5);border:1px solid var(--border-color-warning,#ab7f2a);color:inherit;padding:0 .5em;margin:.5em 0}.mw-parser-output .commons-template-TemplateDataInfo .header{font-size:120%;font-family:monospace,monospace}.mw-parser-output .commons-template-TemplateDataInfo[dir="ltr"] .header{float:right}.mw-parser-output .commons-template-TemplateDataInfo[dir="rtl"] .header{float:left}</style><div class="commons-template-TemplateDataInfo" lang="en" dir="ltr"> <div class="header" lang="zxx" dir="ltr"><templatedata>JSON</templatedata> ./. <a href="/wiki/Template:TemplateBox" title="Template:TemplateBox"><span style="font-family:monospace,monospace;">{{TemplateBox}}</span></a></div> <dl><dt>TemplateData</dt></dl> <p><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TemplateData" class="extiw" title="mw:Special:MyLanguage/Extension:TemplateData">TemplateData</a> is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/:VisualEditor" class="extiw" title="mw:Special:MyLanguage/:VisualEditor">VisualEditor</a> and possibly other tools like <a href="/wiki/Special:MyLanguage/Commons:Upload_Wizard" title="Special:MyLanguage/Commons:Upload Wizard">Upload Wizard</a>. </p> <hr /> <p><u>Existing template documentation</u><br /> At Wikimedia Commons, it is recommended to use <a href="/wiki/Template:TemplateBox" title="Template:TemplateBox"><span style="font-family:monospace,monospace;">{{TemplateBox}}</span></a> with either <code>‎useTemplateData=1</code> or <code>‎useTemplateData=only</code> on the <code>‎/doc</code> subpage and transcluding it with <a href="/wiki/Template:Documentation" title="Template:Documentation"><span style="font-family:monospace,monospace;">{{Documentation}}</span></a> into the template. <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎<</span><span class="nt">nowiki</span><span class="p">></span></code>-tags can be wrapped around the arguments, if required, to avoid templates being expanded. </p><p><u>Newly created template documentation and imports</u><br /> Another option, especially for imported templates, or for users with JSON experience, is placing raw <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎<</span><span class="nt">templatedata</span><span class="p">></span></code>-tags into the Wikitext of the template, as described in various Wikipediae. </p> <hr /> <p><a href="https://en.wikipedia.org/wiki/Wikipedia:VisualEditor/TemplateData/Tutorial" class="extiw" title="en:Wikipedia:VisualEditor/TemplateData/Tutorial">Wikipedia's help about TemplateData</a> • <a href="/wiki/Special:MyLanguage/Commons:TemplateData" title="Special:MyLanguage/Commons:TemplateData">Commons-specific information</a> </p> </div></div> </div> <section class="mw-templatedata-doc-wrap"><header><p class="mw-templatedata-doc-desc">Provides a method to present a string of text selected from an array of many language translations in the language set in the user's preferences or the most appropriate fallback language.</p></header><table class="wikitable mw-templatedata-doc-params sortable"><caption><p class="mw-templatedata-caption">Template parameters<span class="mw-editsection-like"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Template:TemplateBox/layout&action=edit&templatedata=edit" title="Template:TemplateBox/layout">Edit template data</a><span class="mw-editsection-bracket">]</span></span></p><p><span class="oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement-icon oo-ui-icon-template-format-block oo-ui-iconElement oo-ui-labelElement-invisible oo-ui-iconWidget"></span><span class="mw-templatedata-format">This template prefers block formatting of parameters.</span></p></caption><thead><tr><th colspan="2">Parameter</th><th>Description</th><th>Type</th><th>Status</th></tr></thead><tbody><tr><th>Default Fallback</th><td class="mw-templatedata-doc-param-name"><code>default</code></td><td><p>Default text in case one of the "xx" languages is not the language of user's preferences. By default, the English version will be shown, if provided.</p><dl><dt>Default</dt><dd>{{{en|}}} (English version)</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-suggested" data-sort-value="1">suggested</td></tr><tr><th>English</th><td class="mw-templatedata-doc-param-name"><code>en</code></td><td><p>Text in English language. Unless ''default'' option is used, this text will also be used if the languages provided do not include the language set in the user's preferences. If you do not want to show any text when the user's language is English, then use "en=~".</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-required" data-sort-value="2">required</td></tr><tr><th>Language Code</th><td class="mw-templatedata-doc-param-name"><code>lang</code></td><td><p>Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences). {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} is not necessary.</p><dl><dt>Default</dt><dd>Value of {{int:Lang}} (the preferred language of the visitor viewing the page).</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>No Category?</th><td class="mw-templatedata-doc-param-name"><code>nocat</code></td><td><p>"nocat=1" will overwrite the default behavior of tracking uses without "en" or "default" options.</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th></th><td class="mw-templatedata-doc-param-name"><code>xx</code></td><td><p>Translated text in language ''xx'' (the parameter name ''xx'' can be any supported language code (from BCP 47/ISO 639-1), and you can specify as many such parameters as needed for each translated language). Use "xx=~" if you do not want any message (or default) in some specific language. You can map multiple languages to a single text by using "{{LangSwitch|xx/yy/zz=text}}" which is equivalent to "{{LangSwitch|xx=text|yy=text|zz=text}}" .</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr></tbody></table></section> <div class="mw-heading mw-heading3"><h3 id="Additional_information">Additional information</h3></div> <p>The template is intended to be used in the following namespaces: no namespace specified </p><p>The template is intended to be used by the following user groups: <a href="/wiki/Special:MyLanguage/Commons:Users" title="Special:MyLanguage/Commons:Users">all users</a> </p><p>Relies on:<br /> <a href="/wiki/Module:Fallback" title="Module:Fallback">Module:Fallback</a> </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div> <p><small></small> </p> <div class="templatebox-languagedependant"> <ul><li><a href="/wiki/Template:Autotranslate" title="Template:Autotranslate"><span style="font-family:monospace,monospace;">{{Autotranslate}}</span></a> for template internationalization (i18n) mechanism for templates that use <i>named</i> parameters</li> <li><a href="/wiki/Template:GetFallback" title="Template:GetFallback"><span style="font-family:monospace,monospace;">{{GetFallback}}</span></a>, <a href="/wiki/Template:Fallback" title="Template:Fallback"><span style="font-family:monospace,monospace;">{{Fallback}}</span></a>, <a href="/wiki/Template:Translation_table" title="Template:Translation table"><span style="font-family:monospace,monospace;">{{Translation table}}</span></a></li> <li><a href="/wiki/Template:Multilingual_link" title="Template:Multilingual link"><span style="font-family:monospace,monospace;">{{Multilingual link}}</span></a></li> <li><a href="/wiki/Category:Internationalization_templates_using_LangSwitch" title="Category:Internationalization templates using LangSwitch">Category:Internationalization templates using LangSwitch</a></li></ul> </div> <div class="mw-heading mw-heading2"><h2 id="Localization">Localization</h2></div> <p>This template is not intended to be localized. </p><p><small></small> </p> <div class="templatebox-languagedependant"> <table lang="en" dir="ltr" class="wikitable" style="text-align:center; hyphens:auto;"> <caption>Help for choosing the right template for your use case: </caption> <tbody><tr> <th scope="row" style="text-align:left"><small style="font-size:x-small"><a href="/wiki/Template:I18n_templates" title="Template:I18n templates">I18n templates</a>:</small> </th> <th scope="col" style="text-align:left; hyphens:none">{{<a href="/wiki/Template:Multilingual_description" title="Template:Multilingual description">Multilingual description</a>|lang=<br />|de,en,default=<i>Deutsch/​English</i><br />|fr=<i>français</i><br />|...<br />}} </th> <th scope="col" style="text-align:left; hyphens:none">{{<a href="/wiki/Template:De" title="Template:De">de</a>|<i>Deutsch</i>}}<br /> {{<a href="/wiki/Template:En" title="Template:En">en</a>|<i>English</i>}}<br /> {{<a href="/wiki/Template:Fr" title="Template:Fr">fr</a>|<i>français</i>}}<br /> ... </th> <th scope="col" style="text-align:left; hyphens:none">{{<a class="mw-selflink selflink">LangSwitch</a>|lang=<br />|de,en,default=<i>Deutsch/​English</i><br />|fr=<i>français</i><br />|...<br />}} </th> <th scope="col">{{<a href="/wiki/Template:Autotranslate" title="Template:Autotranslate">Autotranslate</a>}} </th> <th scope="col">{{<a href="/wiki/Template:Tnt" class="mw-redirect" title="Template:Tnt">tnt</a>}} </th> <th scope="col"><a href="https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_administration#Life_of_a_translatable_page" class="extiw" title="mw:Help:Extension:Translate/Page translation administration">Language-aware transclusion</a> </th></tr> <tr> <th scope="row" style="text-align:left">Recommended use at </th> <td style="text-align:left">Categories, galleries </td> <td style="text-align:left">File description pages <i>(deprecated, can be safely replaced by <a href="/wiki/Template:Multilingual_description" title="Template:Multilingual description"><span style="font-family:monospace,monospace;">{{Multilingual description}}</span></a>)</i> </td> <td style="text-align:left">Small templates, whenever the previous options are not suitable (removes the visual indication of the language before each translated text) </td> <td style="text-align:left">Data tables with translated cells or larger templates, when used on pages that <b>do not</b> have language subpages (e.g. not having <code>Main page/en</code>, <code>Main page/de</code>) and where the language displayed will be automatically determined by the language set in user preferences </td> <td style="text-align:left">Data tables with translated cells or larger templates, when used on pages that <b>do</b> have language subpages; most of the time these will be pages prepared with the <a href="https://www.mediawiki.org/wiki/Help:Extension:Translate" class="extiw" title="mw:Help:Extension:Translate">Translate Extension</a> </td> <td style="text-align:left">Data tables with translated cells or larger templates, when used on pages that <b>do</b> have language subpages; the transcluded page needs to be prepared with the <a href="https://www.mediawiki.org/wiki/Help:Extension:Translate" class="extiw" title="mw:Help:Extension:Translate">Translate Extension</a>, the transcluding page needs to be either prepared with the Translate Extension, or have the page language set by a translation administrator </td></tr> <tr> <th scope="row" style="text-align:left">Requires JavaScript enabled for folding </th> <td colspan="2" style="background:#FDD">Yes </td> <td colspan="4" style="background:#CFC">No </td></tr> <tr> <th scope="row" style="text-align:left">Folding can be disabled by user </th> <td colspan="2" style="background:#CFC">Yes </td> <td colspan="4" style="background:#FDD">No </td></tr> <tr> <th scope="row" style="text-align:left">Folding is done server-side </th> <td colspan="2">No </td> <td colspan="4">Yes </td></tr> <tr> <th scope="row" style="text-align:left">Folding when at least <i>n</i> languages are provided </th> <td>1 (all translations are shown without folding if the preferred language selected by the user has no matching translation) </td> <td>4 </td> <td colspan="4">1 </td></tr> <tr> <th scope="row" style="text-align:left">Detection of duplicate, incorrect, or unsupported language codes </th> <td style="background:#CFC">Yes </td> <td style="background:#FDD">No </td> <td style="background:#CFC">Yes </td> <td colspan="3" style="background:#FFC">Duplicate language codes are impossible by design. Incorrect or unsupported codes are never displayed, but not reported. The Translate extension's interface (if it's used on the translation subpages) doesn't let the user create translations with invalid codes, but other methods (e.g. entering the translation's URL directly) allow it without any warning. </td></tr> <tr> <th scope="row" style="text-align:left">Allows the same translation to be used for several languages </th> <td style="background:#CFC">Yes </td> <td style="background:#FDD">No </td> <td colspan="4" style="background:#CFC">Yes </td></tr> <tr> <th scope="row" style="text-align:left">Supports language fallbacks </th> <td colspan="2" style="background:#FDD">No </td> <td colspan="2" style="background:#CFC">Yes </td> <td colspan="2" style="background:#FDD">No </td></tr> <tr> <th scope="row" style="text-align:left">Collation order of languages (when not folded) </th> <td style="background:#CFC;text-align:left">Consistent order by native language name, languages grouped by script: <ul><li>LTR scripts: Latin, Latin or Cyrillic, Cyrillic, Greek, other simple LTR alphabets (Armenian, Georgian, etc.), abugidas (North Indian, South Indian, other South-East Asian, etc.), syllabaries (European, American, African, Asian), Korean alphabets (basic Jamos, Hangul including some sinograms), Japanese syllabaries (including some sinograms), sinograms (including some syllabaries)</li> <li>RTL scripts: Hebrew, Arabic, other RTL abjads (Divehi, etc.), RTL syllabaries (N'ko)</li></ul> </td> <td style="background:#FDD">As provided by the user in the wikitext (any inconsistent order may be difficult to lookup visually) </td> <td style="background:#CCC" colspan="4">N/A </td></tr> <tr> <th scope="row" style="text-align:left">Search indexing issues </th> <td colspan="2" style="background:#CFC">No (all translations are included on the same page, however search results may be less relevant with many languages mixed) </td> <td style="background:#FDD">Yes (may not index all languages depending on search engines, unless there's a list of links for visiting other languages) </td> <td style="background:#FFC">Partially (where used; language subpages of templates are indexed) </td> <td colspan="2" style="background:#CFC">No (translated pages should include a <code style="hyphens:none;"><languages/></code> navigation bar for visiting other languages) </td></tr> <tr> <th scope="row" style="text-align:left">Page size issues </th> <td colspan="2" style="background:#FDD">Yes (may exhaust size or time limits in the wiki parser if many languages are included; larger pages to download for all visitors; slower navigation for visitors with slow Internet access; may be costly for visitors with limited data plans) </td> <td colspan="4" style="background:#CFC">No (only the content for the selected language or a suitable fallback language is present in the generated page) </td></tr> <tr> <th scope="row" style="text-align:left">Contains expensive parser functions </th> <td colspan="3" style="background:#CFC">No </td> <td style="background:#FDD">Yes, checks for several translations along the fallback chain until finds a suitable </td> <td style="background:#FDD">Yes, 2–4 checks per call </td> <td style="background:#CFC">No </td></tr></tbody></table> </div> <div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2></div> <div class="mw-heading mw-heading3"><h3 id="Without_a_default_option">Without a default option</h3></div> <p>Here are a few examples showing template behavior for three languages: English, Italian and Corsu, which defaults to Italian if Corsu text is not available: </p> <table class="wikitable"> <tbody><tr> <th scope="col">Test </th> <th scope="col">Code </th> <th scope="col">lang=en </th> <th scope="col">lang=it </th> <th scope="col">lang=co </th></tr> <tr> <td>No en; default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|it=Italian|default=default}} </td> <td>default </td> <td>Italian </td> <td>Italian </td></tr> <tr> <td>No en; no default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|it=Italian|co=Corsu}} </td> <td><b class="error">LangSwitch Error: no default</b><sup id="cite_ref-c_1-0" class="reference"><a href="#cite_note-c-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td> <td><b class="error">LangSwitch Error: no default</b><sup id="cite_ref-c_1-1" class="reference"><a href="#cite_note-c-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td> <td><b class="error">LangSwitch Error: no default</b><sup id="cite_ref-c_1-2" class="reference"><a href="#cite_note-c-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td>en; default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|co=Corsu|default=default}} </td> <td>English </td> <td>default </td> <td>Corsu </td></tr> <tr> <td>en; no default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|co=Corsu}} </td> <td>English </td> <td>English </td> <td>Corsu </td></tr> <tr> <td>en; skip default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|co=Corsu|default=~}} </td> <td>English </td> <td> </td> <td>Corsu </td></tr> <tr> <td>en; empty default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|co=Corsu|default=}} </td> <td>English </td> <td>English </td> <td>Corsu </td></tr> <tr> <td>Skip en; default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=~|it=Italian|default=default}} </td> <td> </td> <td>Italian </td> <td>Italian </td></tr> <tr> <td>Skip en; no default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=~|it=Italian}} </td> <td> </td> <td>Italian </td> <td>Italian </td></tr> <tr> <td>Empty en; no default </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=|it=Italian}} </td> <td><b class="error">LangSwitch Error: no default</b> </td> <td>Italian </td> <td><b class="error">LangSwitch Error: no default</b> </td></tr> <tr> <td>en; default; skip it </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|it=~|co=Corsu|default=default}} </td> <td>English </td> <td> </td> <td>Corsu </td></tr> <tr> <td>en; default; empty it </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|it=|co=Corsu|default=default}} </td> <td>English </td> <td>default </td> <td>Corsu </td></tr> <tr> <td>en; no default; skip it </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|it=~|co=Corsu}} </td> <td>English </td> <td> </td> <td>Corsu </td></tr> <tr> <td>Forced "lang=co" </td> <td>{{<a class="mw-selflink selflink">LangSwitch</a>|en=English|co=Corsu|default=default|lang=co}} </td> <td>Corsu </td> <td>Corsu </td> <td>Corsu </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Example_for_more">Example for more</h3></div> <p><code><kbd>LangSwitch|de=Grün|es/it/pt=Verde|fr=Vert|en=Green |lang={{{lang|{{int:lang}}}}}}}</kbd></code> will give <kbd>Green</kbd> for language <kbd>en</kbd> </p> <hr /> <table class="wikitable" style="float:left; margin-right:1em"> <tbody><tr> <th style="color:#FFF;background-color:#900">red </th> <th style="color:#FFF;background-color:#039">bleu<br /><span style="font-weight:normal">(blue)</span> </th></tr></tbody></table> <br />This example will translate <code>red</code> when <i>not</i> English, and <code>bleu</code> when <i>not</i> French<div style="clear:both;"></div> <div class="mw-heading mw-heading3"><h3 id="Default_option">Default option</h3></div> <p>The default option is intended for providing more language independent option. For example:<br /> </p> <blockquote style="border:1px solid #AAA;background:#FFF;color:#222;padding:2px .3em"> <p>{{LangSwitch<br /> |de={{Wd|Warschau}}<br /> |en={{W|Warsaw}}<br /> |fr={{Wf|Varsovie}}<br /> |ja={{W日|ワルシャワ}}<br /> |pl={{WP|Warszawa}}<br /> |ru={{Wr|Варшава}}<br /> |default=[[d:Q270]]<br /> }} </p> </blockquote> <p>will provide link to Wikipedia articles in case one of the languages provided matches user's language but will link to Commons gallery page (<a href="/wiki/Warsaw" class="mw-redirect" title="Warsaw">Warsaw</a>) if any other language is used. The expression <code>{{W|Q270||d}}</code> is equivalent to the shorter <code>[[d:Q270]]</code> (it just does not show the "d:"). </p> <div class="mw-heading mw-heading2"><h2 id="Warning">Warning</h2></div> <p>This template <b>SHOULD NOT</b> be used out of software interface purpose. For example it <b>SHOULD NOT</b> be used to manage multilingual description of the subject of a media or a category or whatsoever. </p> <div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2></div> <ol class="references"> <li id="cite_note-c-1"><span class="mw-cite-backlink">↑ <a href="#cite_ref-c_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-c_1-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-c_1-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text">would add <a href="/wiki/Category:LangSwitch_template_without_default_version" title="Category:LangSwitch template without default version">Category:LangSwitch template without default version</a></span> </li> </ol> </div> </div> <p><br /> </p> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐67794785f5‐zpxxz Cached time: 20250228123407 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.249 seconds Real time usage: 0.346 seconds Preprocessor visited node count: 6240/1000000 Post‐expand include size: 201589/2097152 bytes Template argument size: 32437/2097152 bytes Highest expansion depth: 19/100 Expensive parser function count: 8/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 15455/5000000 bytes Lua time usage: 0.209/10.000 seconds Lua memory usage: 3767117/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 304.989 1 -total 76.44% 233.126 1 Template:Documentation 73.82% 225.141 1 Template:Documentation/layout 61.85% 188.622 1 Template:LangSwitch/doc 33.06% 100.824 1 Template:TemplateBox 23.54% 71.798 1 Template:Heavily_used_template 18.57% 56.643 1 Template:Heavily_used_template/layout 18.04% 55.022 1 Template:Mbox 12.75% 38.897 44 Template:LangSwitch 8.56% 26.118 1 Template:TemplateDataInfo/toggler --> <!-- Saved in parser cache with key commonswiki:pcache:6296689:|#|:idhash:canonical and timestamp 20250228123407 and revision id 304554635. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&type=1x1&usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://commons.wikimedia.org/w/index.php?title=Template:LangSwitch&oldid=304554635">https://commons.wikimedia.org/w/index.php?title=Template:LangSwitch&oldid=304554635</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Heavily_used_templates" title="Category:Heavily used templates">Heavily used templates</a></li><li><a href="/wiki/Category:Lua-based_templates" title="Category:Lua-based templates">Lua-based templates</a></li><li><a href="/wiki/Category:Templates_using_TemplateData" title="Category:Templates using TemplateData">Templates using TemplateData</a></li><li><a href="/wiki/Category:Templates_not_requiring_internationalization" title="Category:Templates not requiring internationalization">Templates not requiring internationalization</a></li><li><a href="/wiki/Category:Internationalization_templates" title="Category:Internationalization templates">Internationalization templates</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-user-shown">Hidden categories: <ul><li><a href="/wiki/Category:Main_message_boxes" title="Category:Main message boxes">Main message boxes</a></li><li><a href="/wiki/Category:LangSwitch_template_without_default_version" title="Category:LangSwitch template without default version">LangSwitch template without default version</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 4 June 2018, at 12:13.</li> <li id="footer-info-copyright">Files are available under licenses specified on their description page. All structured data from the file namespace is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>; all unstructured text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Commons:Welcome">About Wikimedia Commons</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Commons:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/commons.wikimedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//commons.m.wikimedia.org/w/index.php?title=Template:LangSwitch&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><picture><source media="(min-width: 500px)" srcset="/static/images/footer/wikimedia-button.svg" width="84" height="29"><img src="/static/images/footer/wikimedia.svg" width="25" height="25" alt="Wikimedia Foundation" lang="en" loading="lazy"></picture></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><picture><source media="(min-width: 500px)" srcset="/w/resources/assets/poweredby_mediawiki.svg" width="88" height="31"><img src="/w/resources/assets/mediawiki_compact.svg" alt="Powered by MediaWiki" lang="en" width="25" height="25" loading="lazy"></picture></a></li> </ul> </footer> </div> </div> </div> <div class="vector-header-container vector-sticky-header-container"> <div id="vector-sticky-header" class="vector-sticky-header"> <div class="vector-sticky-header-start"> <div class="vector-sticky-header-icon-start vector-button-flush-left vector-button-flush-right" aria-hidden="true"> <button class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-sticky-header-search-toggle" tabindex="-1" data-event-name="ui.vector-sticky-search-form.icon"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </button> </div> <div role="search" class="vector-search-box-vue vector-search-box"> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search"> <form action="/w/index.php" id="vector-sticky-search-form" class="cdx-search-input cdx-search-input--has-end-button"> <div class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikimedia Commons"> <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:MediaSearch"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <div class="vector-sticky-header-context-bar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-sticky-header-toc" class="vector-dropdown mw-portlet mw-portlet-sticky-header-toc vector-sticky-header-toc vector-button-flush-left" > <input type="checkbox" id="vector-sticky-header-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-sticky-header-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-sticky-header-toc-label" for="vector-sticky-header-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-sticky-header-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div class="vector-sticky-header-context-bar-primary" aria-hidden="true" ><span class="mw-page-title-namespace">Template</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">LangSwitch</span></div> </div> </div> <div class="vector-sticky-header-end" aria-hidden="true"> <div class="vector-sticky-header-icons"> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-talk-sticky-header" tabindex="-1" data-event-name="talk-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbles mw-ui-icon-wikimedia-speechBubbles"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-subject-sticky-header" tabindex="-1" data-event-name="subject-sticky-header"><span class="vector-icon mw-ui-icon-article mw-ui-icon-wikimedia-article"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-history-sticky-header" tabindex="-1" data-event-name="history-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-history mw-ui-icon-wikimedia-wikimedia-history"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only mw-watchlink" id="ca-watchstar-sticky-header" tabindex="-1" data-event-name="watch-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-star mw-ui-icon-wikimedia-wikimedia-star"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-edit-sticky-header" tabindex="-1" data-event-name="wikitext-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-wikiText mw-ui-icon-wikimedia-wikimedia-wikiText"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-ve-edit-sticky-header" tabindex="-1" data-event-name="ve-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-edit mw-ui-icon-wikimedia-wikimedia-edit"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-viewsource-sticky-header" tabindex="-1" data-event-name="ve-edit-protected-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-editLock mw-ui-icon-wikimedia-wikimedia-editLock"></span> <span></span> </a> </div> <div class="vector-sticky-header-buttons"> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive" id="ca-addsection-sticky-header" tabindex="-1" data-event-name="addsection-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbleAdd-progressive mw-ui-icon-wikimedia-speechBubbleAdd-progressive"></span> <span>Add topic</span> </a> </div> <div class="vector-sticky-header-icon-end"> <div class="vector-user-links"> </div> </div> </div> </div> </div> <div class="mw-portlet mw-portlet-dock-bottom emptyPortlet" id="p-dock-bottom"> <ul> </ul> </div> <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-64b5bb4b79-ffg58","wgBackendResponseTime":145,"wgPageParseReport":{"limitreport":{"cputime":"0.249","walltime":"0.346","ppvisitednodes":{"value":6240,"limit":1000000},"postexpandincludesize":{"value":201589,"limit":2097152},"templateargumentsize":{"value":32437,"limit":2097152},"expansiondepth":{"value":19,"limit":100},"expensivefunctioncount":{"value":8,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":15455,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 304.989 1 -total"," 76.44% 233.126 1 Template:Documentation"," 73.82% 225.141 1 Template:Documentation/layout"," 61.85% 188.622 1 Template:LangSwitch/doc"," 33.06% 100.824 1 Template:TemplateBox"," 23.54% 71.798 1 Template:Heavily_used_template"," 18.57% 56.643 1 Template:Heavily_used_template/layout"," 18.04% 55.022 1 Template:Mbox"," 12.75% 38.897 44 Template:LangSwitch"," 8.56% 26.118 1 Template:TemplateDataInfo/toggler"]},"scribunto":{"limitreport-timeusage":{"value":"0.209","limit":"10.000"},"limitreport-memusage":{"value":3767117,"limit":52428800},"limitreport-logs":"Warning: Module:TemplateBox - templatedata invoked but not requested by user (setting useTemplateData=1).\n"},"cachereport":{"origin":"mw-api-int.codfw.main-67794785f5-zpxxz","timestamp":"20250228123407","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>