CINXE.COM
Nodyn:Lang/doc - Wicipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-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-toc-available" lang="cy" dir="ltr"> <head> <meta charset="UTF-8"> <title>Nodyn:Lang/doc - Wicipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-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-toc-available";var cookie=document.cookie.match(/(?:^|; )cywikimwclientpreferences=([^;]+)/);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":["","Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],"wgRequestId":"e3cef68c-1b1e-4485-a01f-2276ccf17d96","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Nodyn:Lang/doc","wgTitle":"Lang/doc","wgCurRevisionId":1497156,"wgRevisionId":1497156,"wgArticleId":87577,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Nodyn tudalennau","Tudalennau sy'n defnyddio dolenni hud RFC"],"wgPageViewLanguage":"cy","wgPageContentLanguage":"cy","wgPageContentModel":"wikitext","wgRelevantPageName":"Nodyn:Lang/doc","wgRelevantArticleId":87577,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0, "wgVisualEditor":{"pageLanguageCode":"cy","pageLanguageDir":"ltr","pageVariantFallbacks":"cy"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading", "skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","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=cy&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=cy&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=cy&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <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="Nodyn:Lang/doc - Wicipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//cy.m.wikipedia.org/wiki/Nodyn:Lang/doc"> <link rel="alternate" type="application/x-wiki" title="Golygu" href="/w/index.php?title=Nodyn:Lang/doc&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wicipedia (cy)"> <link rel="EditURI" type="application/rsd+xml" href="//cy.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://cy.wikipedia.org/wiki/Nodyn:Lang/doc"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.cy"> <link rel="alternate" type="application/atom+xml" title="Ffrwd Atom Wicipedia" href="/w/index.php?title=Arbennig: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 mw-editable page-Nodyn_Lang_doc rootpage-Nodyn_Lang skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Neidio i'r cynnwys</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="Safle"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <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="Prif ddewislen" > <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">Prif ddewislen</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">Prif ddewislen</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">symud i'r bar ochr</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">cuddio</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Panel llywio </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Hafan" title="Ymweld â'r Hafan [z]" accesskey="z"><span>Hafan</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wicipedia:Porth_y_Gymuned" title="Pethau i'w gwneud, adnoddau a thudalennau'r gymuned"><span>Porth y Gymuned</span></a></li><li id="n-cafe" class="mw-list-item"><a href="/wiki/Wicipedia:Y_Caffi"><span>Y Caffi</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Categori:Materion_cyfoes" title="Gwybodaeth yn gysylltiedig â materion cyfoes"><span>Materion cyfoes</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Arbennig:RecentChanges" title="Rhestr y newidiadau diweddar ar y wici. [r]" accesskey="r"><span>Newidiadau diweddar</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Arbennig:Random" title="Llwytho tudalen ar hap [x]" accesskey="x"><span>Erthygl ar hap</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Wicipedia:Cymorth" title="Tudalennau cymorth"><span>Cymorth</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Hafan" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wicipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-cy.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-cy.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </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-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Arbennig:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Chwilio Wicipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Chwilio</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <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="Chwilio Wicipedia" aria-label="Chwilio Wicipedia" autocapitalize="sentences" title="Chwilio Wicipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Arbennig:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Chwilio</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Offer personol"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" 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-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="Gwedd"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Newidiwch ymddangosiad maint ffont, lled a lliw y dudalen" > <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="Gwedd" > <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">Gwedd</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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_cy.wikipedia.org&uselang=cy" class=""><span>Rhoi</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=Arbennig:CreateAccount&returnto=Nodyn%3ALang%2Fdoc" title="Rydym yn argymell eich bod yn creu cyfri ac yn menwgofnodi. Fodd bynnag, dydy hyn ddim yn orfodol" class=""><span>Creu cyfrif</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=Arbennig:UserLogin&returnto=Nodyn%3ALang%2Fdoc" title="Fe'ch anogir i fewngofnodi, er nad oes rhaid gwneud. [o]" accesskey="o" class=""><span>Mewngofnodi</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="Rhagor o opsiynau" > <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="Offer personol" > <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">Offer personol</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Dewislen defnyddiwr" > <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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_cy.wikipedia.org&uselang=cy"><span>Rhoi</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Arbennig:CreateAccount&returnto=Nodyn%3ALang%2Fdoc" title="Rydym yn argymell eich bod yn creu cyfri ac yn menwgofnodi. Fodd bynnag, dydy hyn ddim yn orfodol"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Creu cyfrif</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Arbennig:UserLogin&returnto=Nodyn%3ALang%2Fdoc" title="Fe'ch anogir i fewngofnodi, er nad oes rhaid gwneud. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Mewngofnodi</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"> Tudalennau ar gyfer golygyddion allgofnodedig <a href="/wiki/Cymorth:Cyflwyniad" aria-label="Dysgu mwy am olygu"><span>dysgu mwy</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/Arbennig:MyContributions" title="Rhestr golygiadau o'r cyfeiriad IP hwn [y]" accesskey="y"><span>Cyfraniadau</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Arbennig:MyTalk" title="Sgwrs ynglŷn â golygiadau o'r cyfeiriad IP hwn [n]" accesskey="n"><span>Sgwrs</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="Safle"> <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="Cynnwys" 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">Cynnwys</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">symud i'r bar ochr</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">cuddio</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">Y dechrau</div> </a> </li> <li id="toc-Indicating_writing_script" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Indicating_writing_script"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Indicating writing script</span> </div> </a> <button aria-controls="toc-Indicating_writing_script-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>Toglo is-adran Indicating writing script</span> </button> <ul id="toc-Indicating_writing_script-sublist" class="vector-toc-list"> <li id="toc-Undetermined_language" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Undetermined_language"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Undetermined language</span> </div> </a> <ul id="toc-Undetermined_language-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Indicating_regional_variant" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Indicating_regional_variant"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Indicating regional variant</span> </div> </a> <ul id="toc-Indicating_regional_variant-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Writing_direction" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Writing_direction"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Writing direction</span> </div> </a> <ul id="toc-Writing_direction-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Rationale" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rationale"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Rationale</span> </div> </a> <ul id="toc-Rationale-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Applying_styles" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Applying_styles"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Applying styles</span> </div> </a> <ul id="toc-Applying_styles-sublist" class="vector-toc-list"> </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">6</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>References</span> </div> </a> <ul id="toc-References-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="Cynnwys" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <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="Toglo'r tabl cynnwys" > <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">Toglo'r tabl cynnwys</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">Nodyn</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Lang/doc</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Mae'r erthygl hon ar gael yn yr iaith hon yn unig. Ychwanegwch yr erthygl mewn ieithoedd eraill" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Ychwanegu ieithoedd</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=cywiki&page=Nodyn%3ALang%2Fdoc" title="Ychwanegu dolenni rhyngwici" class="wbc-editpage">Ychwanegu dolenni</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Parthau"> <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/Nodyn:Lang/doc" title="Gweld y nodyn [c]" accesskey="c"><span>Nodyn</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Sgwrs_Nodyn:Lang/doc&action=edit&redlink=1" rel="discussion" class="new" title="Sgwrsio am y dudalen (dim tudalen ar gael) [t]" accesskey="t"><span>Sgwrs</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="Newid amrywiad iaith" > <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">Cymraeg</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="Golygon"> <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/Nodyn:Lang/doc"><span>Darllen</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit" title="Golygu cod ffynhonnell y dudalen hon [e]" accesskey="e"><span>Golygu cod</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&action=history" title="Fersiynau cynt o'r dudalen hon. [h]" accesskey="h"><span>Gweld hanes</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Offer tudalen"> <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="Blwch offer" > <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">Blwch offer</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">Blwch offer</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">symud i'r bar ochr</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">cuddio</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Rhagor o opsiynau" > <div class="vector-menu-heading"> Gweithredoedd </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/Nodyn:Lang/doc"><span>Darllen</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit" title="Golygu cod ffynhonnell y dudalen hon [e]" accesskey="e"><span>Golygu cod</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&action=history"><span>Gweld hanes</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Cyffredinol </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Arbennig:WhatLinksHere/Nodyn:Lang/doc" title="Rhestr o bob tudalen sy'n cysylltu â hon [j]" accesskey="j"><span>Beth sy'n cysylltu yma</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Arbennig:RecentChangesLinked/Nodyn:Lang/doc" rel="nofollow" title="Newidiadau diweddar i dudalennau sydd yn cysylltu â hon [k]" accesskey="k"><span>Newidiadau perthnasol</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Arbennig:SpecialPages" title="Rhestr o'r holl dudalennau arbennig [q]" accesskey="q"><span>Tudalennau arbennig</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&oldid=1497156" title="Dolen barhaol i'r fersiwn hwn y dudalen hon"><span>Dolen barhaol</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Nodyn:Lang/doc&action=info" title="Mwy o wybodaeth am y dudalen hon"><span>Gwybodaeth am y dudalen</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Arbennig:UrlShortener&url=https%3A%2F%2Fcy.wikipedia.org%2Fwiki%2FNodyn%3ALang%2Fdoc"><span>Cael URL byr</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Arbennig:QrCode&url=https%3A%2F%2Fcy.wikipedia.org%2Fwiki%2FNodyn%3ALang%2Fdoc"><span>Lawrlwytho cod QR</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"> Argraffu / allforio </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=Arbennig:DownloadAsPdf&page=Nodyn%3ALang%2Fdoc&action=show-download-screen"><span>Lawrlwytho fel PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Cynhyrchwch fersiwn o'r dudalen yn barod at ei hargraffu [p]" accesskey="p"><span>Fersiwn argraffu</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> Mewn prosiectau eraill </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </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="Offer tudalen"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Gwedd"> <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">Gwedd</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">symud i'r bar ochr</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">cuddio</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 class="mw-indicators"> </div> <div id="siteSub" class="noprint">Oddi ar Wicipedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">< <bdi dir="ltr"><a href="/wiki/Nodyn:Lang" title="Nodyn:Lang">Nodyn:Lang</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="cy" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r12942842">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.ombox img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style><table class="plainlinks ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><a href="/wiki/Delwedd:Edit-copy_green.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/15/Edit-copy_green.svg/40px-Edit-copy_green.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/15/Edit-copy_green.svg/60px-Edit-copy_green.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/15/Edit-copy_green.svg/80px-Edit-copy_green.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span></td><td class="mbox-text"><b>Dyma is-ddalen <a href="/wiki/Wicipedia:Dogfennaeth_nodyn" title="Wicipedia:Dogfennaeth nodyn">dogfennaeth</a> ar gyfer <a href="/wiki/Nodyn:Lang" title="Nodyn:Lang">Nodyn:Lang</a></b>.<br />Mae'n cynnwys gwybodaeth defnydd, categorïau, dolenni rhyngiaith a chynnwys eraill sydd ddim yn rhan o nodyn dudalen wreiddiol.</td></tr></tbody></table> <p>The purpose of this template is to indicate that a given span of text belongs to a particular language (see <a href="/w/index.php?title=Language_code&action=edit&redlink=1" class="new" title="Language code (dim tudalen ar gael)">language code</a>). It often makes no visible changes to the text, but can help web browsers choose the right font, screen readers use the right pronunciation and more. </p> <pre>{{lang|<i>Language tag</i>|<i>Text</i>}} </pre> <p>Use <a href="/w/index.php?title=List_of_ISO_639_codes&action=edit&redlink=1" class="new" title="List of ISO 639 codes (dim tudalen ar gael)">ISO 639 language codes</a>. Example (where <tt>fr</tt> is the code for <a href="/w/index.php?title=French_language&action=edit&redlink=1" class="new" title="French language (dim tudalen ar gael)">French</a>): </p> <pre>* She said: "{{lang|fr|''Je suis française.''}}" </pre> <p>Results in your browser: </p> <ul><li>She said: "<span lang="fr"><i>Je suis française.</i></span>"</li></ul> <p>This template also includes a categorisation link when used by main namespace pages, therefore it should not be included inside a hyperlink. This error may not be immediately obvious if it is used via another template namespace page. If appropriate, the entire hyperlink may be fed to the template instead: {{lang|ar|[[Arabic language|العربية]]}}. </p><p>There are also versions of this template for specific languages that also print the language's name, intended to be used the first time that language is used in the article. For example, "<code>{{<a href="/wiki/Nodyn:Lang-es" title="Nodyn:Lang-es">lang-es</a>|Español}}</code>" and "<code>{{<a href="/wiki/Nodyn:Lang-ru" title="Nodyn:Lang-ru">lang-ru</a>|русский язык}}</code>" gives "<a href="/wiki/Sbaeneg" title="Sbaeneg">Sbaeneg</a>: <span lang="es"><i>Español</i></span>" and "<a href="/wiki/Rwsieg" class="mw-redirect" title="Rwsieg">Rwsieg</a>: <span lang="ru">русский язык</span>". </p><p>Language subtags can also be used to indicate writing script or regional variation of a language. According to the <a href="/w/index.php?title=World_Wide_Web_Consortium&action=edit&redlink=1" class="new" title="World Wide Web Consortium (dim tudalen ar gael)">W3C</a>, "The golden rule when creating language tags is to keep the tag as short as possible", <a rel="nofollow" class="external autonumber" href="http://www.w3.org/International/articles/language-tags/Overview.en.php">[1]</a> so such subtags should only be added if there is an important reason to use them. <a href="/wiki/ISO_639-1" title="ISO 639-1">ISO 639-1</a> is preferred over <a href="/wiki/ISO_639-2" title="ISO 639-2">ISO 639-2</a> and <a href="/wiki/ISO_639-3" title="ISO 639-3">ISO 639-3</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading3"><h3 id="Indicating_writing_script">Indicating writing script</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=1" title="Edit section's source code: Indicating writing script"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If necessary, add the <a href="/w/index.php?title=List_of_ISO_15924_codes&action=edit&redlink=1" class="new" title="List of ISO 15924 codes (dim tudalen ar gael)">ISO 15924</a> code to indicate the script. </p><p>For example, <a href="/w/index.php?title=Russian_language&action=edit&redlink=1" class="new" title="Russian language (dim tudalen ar gael)">Russian</a> is usually written in the <a href="/w/index.php?title=Cyrillic_alphabet&action=edit&redlink=1" class="new" title="Cyrillic alphabet (dim tudalen ar gael)">Cyrillic alphabet</a>, therefore the '<tt>Cyrl</tt>' script code is superfluous and the language code will be <tt>ru</tt> instead of <tt>ru-Cyrl</tt>. However, when that text is <a href="/w/index.php?title=Transliteration&action=edit&redlink=1" class="new" title="Transliteration (dim tudalen ar gael)">transliterated</a> the <tt>Latn</tt> code (latin script) should be used because it isn't the default script for Russian: <tt>ru-Latn</tt>. Example: </p> <pre>* Moscow ([[Russian language|Russian]]: {{lang|ru|Москва́}}, {{lang|ru-Latn|''Moskva''}}) </pre> <p>which is the same as </p> <pre>* Moscow ({{lang-ru|Москва́}}, {{lang|ru-Latn|''Moskva''}}) </pre> <p>Results in your browser: </p> <ul><li>Moscow (<a href="/wiki/Rwsieg" class="mw-redirect" title="Rwsieg">Rwsieg</a>: <span lang="ru">Москва́</span>, <span lang="ru-Latn"><i>Moskva</i></span>)</li></ul> <p>{{lang|ru-Latn|''Moskva''}} is equivalent to {{transl|ru|''Moskva''}}. To specify you are using the <a href="/w/index.php?title=ISO_9&action=edit&redlink=1" class="new" title="ISO 9 (dim tudalen ar gael)">ISO 9</a> transliteration of Cyrillic, use {{transl|ru|ISO|''Moskva''}}: </p> <ul><li>Moscow (<a href="/wiki/Rwsieg" class="mw-redirect" title="Rwsieg">Rwsieg</a>: <span lang="ru">Москва́</span>, <a href="/w/index.php?title=ISO_9&action=edit&redlink=1" class="new" title="ISO 9 (dim tudalen ar gael)">ISO 9</a>: <span title="ISO 9 Cyrillic" class="Unicode" style="white-space:normal; text-decoration: none"><i>Moskva</i></span>)</li></ul> <p><a href="/w/index.php?title=Internet_Assigned_Numbers_Authority&action=edit&redlink=1" class="new" title="Internet Assigned Numbers Authority (dim tudalen ar gael)">IANA</a> maintains a list specifying when the script tag should be suppressed <a rel="nofollow" class="external autonumber" href="http://www.iana.org/assignments/language-subtag-registry">[2]</a>. In some cases, the script must be always specified, like <a href="/w/index.php?title=Tajik_language&action=edit&redlink=1" class="new" title="Tajik language (dim tudalen ar gael)">Tajik</a> which can be equally written in <a href="/w/index.php?title=Arabic_alphabet&action=edit&redlink=1" class="new" title="Arabic alphabet (dim tudalen ar gael)">Arabic</a>, <a href="/w/index.php?title=Latin_alphabet&action=edit&redlink=1" class="new" title="Latin alphabet (dim tudalen ar gael)">Latin</a> or <a href="/w/index.php?title=Cyrillic_alphabet&action=edit&redlink=1" class="new" title="Cyrillic alphabet (dim tudalen ar gael)">Cyrillic</a> alphabets: </p> <pre>* Tajik ({{rtl-lang|tg-Arab|تاجیکی}}, {{lang|tg-Latn|''tojikī''}}, {{lang|tg-Cyrl|тоҷикӣ}}) </pre> <p>Which results in your browser: </p> <ul><li>Tajik (<a href="/w/index.php?title=Nodyn:Rtl-lang&action=edit&redlink=1" class="new" title="Nodyn:Rtl-lang (dim tudalen ar gael)">Nodyn:Rtl-lang</a>, <span lang="tg-Latn"><i>tojikī</i></span>, <span lang="tg-Cyrl">тоҷикӣ</span>)</li></ul> <p>Note the use of <span class="nowrap">{{</span><a href="/w/index.php?title=Nodyn:Rtl-lang&action=edit&redlink=1" class="new" title="Nodyn:Rtl-lang (dim tudalen ar gael)">rtl-lang</a><span class="nowrap">}}</span> instead of <span class="nowrap">{{</span><a href="/wiki/Nodyn:Lang" title="Nodyn:Lang">lang</a><span class="nowrap">}}</span> when using the Arabic script (see below section <a href="#Writing_direction">writing direction</a>). </p> <div class="mw-heading mw-heading4"><h4 id="Undetermined_language">Undetermined language</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=2" title="Edit section's source code: Undetermined language"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The {{lang}} template is not only used to specify the language of foreign words, but also to specify a single symbol or character in a specific script, for example when discussing about a specific writing system. Many times the character/symbol is used in several languages, but when the article refers to the <a href="/w/index.php?title=Grapheme&action=edit&redlink=1" class="new" title="Grapheme (dim tudalen ar gael)">grapheme</a> itself the <a href="/wiki/ISO_639-2" title="ISO 639-2">ISO 639-2</a> and <a href="/wiki/ISO_639-3" title="ISO 639-3">ISO 639-3</a> language code <tt>und</tt> for Undetermined language. For example: </p> <pre>The {{lang|und-Hani|字}} Han character has 6 strokes. </pre> <dl><dd>The <span lang="und-Hani">字</span> Han character has 6 strokes.</dd></dl> <p><br /> Han characters are used in Chinese, Japanese, sometimes Korean, and formerly Vietnamese, and in this case the character is not used for any specific language. Note that the script code used is <tt>Hani</tt>, which specifies generic Han characters (Hanzi, Kanji, Hanja). </p><p>Compare <span class="nowrap">{{</span><a href="/wiki/Nodyn:Script" title="Nodyn:Script">script</a><span class="nowrap">}}</span> </p> <pre>The {{script|Hani|字}} Han character has 6 strokes. </pre> <dl><dd>The <span class="Unicode">字</span> Han character has 6 strokes.</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Indicating_regional_variant">Indicating regional variant</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=3" title="Edit section's source code: Indicating regional variant"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In some cases, maybe it will be needed to add <a href="/w/index.php?title=ISO_3166-1_alpha-2&action=edit&redlink=1" class="new" title="ISO 3166-1 alpha-2 (dim tudalen ar gael)">ISO 3166-1 alpha-2</a> country codes (specific usage of that country). Of course the three codes can appear in the same tag, for example the code <tt>zh-Hant-TW</tt> will be used for <a href="/w/index.php?title=Chinese_language&action=edit&redlink=1" class="new" title="Chinese language (dim tudalen ar gael)">Chinese</a> text written with <a href="/w/index.php?title=Traditional_Chinese_characters&action=edit&redlink=1" class="new" title="Traditional Chinese characters (dim tudalen ar gael)">Traditional Han characters</a>, containing words or expressions specific to <a href="/wiki/Taiwan" title="Taiwan">Taiwan</a>. <tt>zh-Hans</tt> is for simplified. Examples: </p> <pre>* {{lang|zh-Hant-TW|臺灣}} </pre> <p>Results in your browser: </p> <ul><li><span lang="zh-Hant-TW">臺灣</span></li></ul> <div class="mw-heading mw-heading3"><h3 id="Writing_direction">Writing direction</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=4" title="Edit section's source code: Writing direction"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><s><span class="nowrap">{{</span><a href="/w/index.php?title=Nodyn:Rtl-lang&action=edit&redlink=1" class="new" title="Nodyn:Rtl-lang (dim tudalen ar gael)">rtl-lang</a><span class="nowrap">}}</span> is a specific template for right-to-left languages like <a href="/wiki/Arabic_language" class="mw-redirect" title="Arabic language">Arabic</a> or <a href="/wiki/Hebrew_language" class="mw-redirect" title="Hebrew language">Hebrew</a>.</s> </p><p>For right-to-left paragraphs (as opposed to rtl strings embedded in an English paragraph), use <span class="nowrap">{{</span><a href="/w/index.php?title=Nodyn:Rtl-para&action=edit&redlink=1" class="new" title="Nodyn:Rtl-para (dim tudalen ar gael)">rtl-para</a><span class="nowrap">}}</span>. </p> <div class="mw-heading mw-heading2"><h2 id="Rationale">Rationale</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=5" title="Edit section's source code: Rationale"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>Web browsers can use the information to choose an appropriate font. <ul><li>This is great for <a href="/w/index.php?title=CJK_characters&action=edit&redlink=1" class="new" title="CJK characters (dim tudalen ar gael)">CJK</a> where a character can be given its language-specific shape but will fall back to another form if no appropriate font is found or if the preferred font lacks that character, for example because the language does not make use of that character: see <a href="/w/index.php?title=Defnyddiwr:Wikipeditor/CJK&action=edit&redlink=1" class="new" title="Defnyddiwr:Wikipeditor/CJK (dim tudalen ar gael)">this comparison table and screenshot</a>.</li></ul></li> <li>For <a href="/w/index.php?title=Web_accessibility&action=edit&redlink=1" class="new" title="Web accessibility (dim tudalen ar gael)">accessibility</a> purposes: <a href="/w/index.php?title=Screen_reader&action=edit&redlink=1" class="new" title="Screen reader (dim tudalen ar gael)">screen readers</a> need language info to speak text in its correct language.</li> <li>For <a href="/w/index.php?title=Spell_checker&action=edit&redlink=1" class="new" title="Spell checker (dim tudalen ar gael)">spell checkers</a> and grammar checkers.</li> <li>To help browsers choosing appropriate <a href="/w/index.php?title=Quotation_mark&action=edit&redlink=1" class="new" title="Quotation mark (dim tudalen ar gael)">quotation marks</a>, and making decisions about <a href="/w/index.php?title=Hyphen&action=edit&redlink=1" class="new" title="Hyphen (dim tudalen ar gael)">hyphenation</a>, <a href="/w/index.php?title=Typographic_ligature&action=edit&redlink=1" class="new" title="Typographic ligature (dim tudalen ar gael)">ligatures</a>, and spacing.</li> <li>Users can apply styles to languages in their <a href="/w/index.php?title=Style_sheet_(web_development)&action=edit&redlink=1" class="new" title="Style sheet (web development) (dim tudalen ar gael)">style sheets</a> (useful for editors).</li> <li>Google and other <a href="/w/index.php?title=Web_search_engine&action=edit&redlink=1" class="new" title="Web search engine (dim tudalen ar gael)">search engines</a> can use this information when <a href="/w/index.php?title=Index_(information_technology)&action=edit&redlink=1" class="new" title="Index (information technology) (dim tudalen ar gael)">indexing</a> text.</li> <li>Facilitates better data-scraping, parsing and re-use.</li> <li>Could be useful for application developers who re-publish Wikipedia.</li> <li>Could be useful for research or compiling statistics about language use in Wikipedia.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Applying_styles">Applying styles</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=6" title="Edit section's source code: Applying styles"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>You can apply <a href="/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets">CSS</a> styles in your user style sheet. Registered users can put styles into User:XXX/monobook.css, where <i>XXX</i> is the user name. </p><p>These examples may work in <a href="/w/index.php?title=Internet_Explorer_8&action=edit&redlink=1" class="new" title="Internet Explorer 8 (dim tudalen ar gael)">Internet Explorer 8</a>; prior versions do not support attribute selectors. Alternatively, try <a href="/w/index.php?title=List_of_web_browsers&action=edit&redlink=1" class="new" title="List of web browsers (dim tudalen ar gael)">another browser</a> such as <a href="/wiki/Firefox" class="mw-disambig" title="Firefox">Firefox</a>. </p><p>Example: to apply a font to Russian-language text: </p> <pre> span[lang|=ru] { font-family: fonteskaya; } </pre> <p>Example: to apply a colour to text marked with any language: </p> <pre> span[lang] { color: green; } </pre> <p>Do <i>not</i> use quotation marks in your user style sheet; Wikitext will screw them up. They are recommended in CSS, but not required. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=7" title="Edit section's source code: See also"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Categori:Multilingual_support_templates" title="Categori:Multilingual support templates">Category:Multilingual support templates</a></li> <li><a href="/w/index.php?title=List_of_ISO_639_codes&action=edit&redlink=1" class="new" title="List of ISO 639 codes (dim tudalen ar gael)">List of ISO 639 codes</a> (language codes)</li> <li><a href="/w/index.php?title=List_of_ISO_15924_codes&action=edit&redlink=1" class="new" title="List of ISO 15924 codes (dim tudalen ar gael)">List of ISO 15924 codes</a> (script codes)</li> <li><a href="/w/index.php?title=List_of_ISO_romanizations&action=edit&redlink=1" class="new" title="List of ISO romanizations (dim tudalen ar gael)">List of ISO transliterations</a> (transliteration codes)</li> <li><span class="nowrap">{{</span><a href="/w/index.php?title=Nodyn:Cleanup-lang&action=edit&redlink=1" class="new" title="Nodyn:Cleanup-lang (dim tudalen ar gael)">Cleanup-lang</a><span class="nowrap">}}</span> - For articles which should use this template; but do not yet</li> <li><span class="nowrap">{{</span><a href="/wiki/Nodyn:Transl" title="Nodyn:Transl">transl</a><span class="nowrap">}}</span> for romanisation of languages not natively written in the Latin alphabet.</li> <li><span class="nowrap">{{</span><a href="/wiki/Nodyn:Script" title="Nodyn:Script">script</a><span class="nowrap">}}</span></li> <li><a href="/wiki/Categori:Language_icon_templates" title="Categori:Language icon templates">Category:Language icon templates</a>, for visually marking external links to foreign-language content</li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Nodyn:Lang/doc&action=edit&section=8" title="Edit section's source code: References"><span>golygu cod</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/w/index.php?title=World_Wide_Web_Consortium&action=edit&redlink=1" class="new" title="World Wide Web Consortium (dim tudalen ar gael)">W3C</a> <ul><li><a rel="nofollow" class="external text" href="http://www.w3.org/International/articles/language-tags/Overview.en.php">Language tags in HTML and XML</a>—overview</li> <li><a rel="nofollow" class="external text" href="http://www.w3.org/TR/i18n-html-tech-lang/">Internationalization Best Practices: Specifying Language in XHTML & HTML Content</a>—W3C Working Draft 21 July 2006</li> <li><a rel="nofollow" class="external text" href="http://www.w3.org/International/articles/bcp47/">Understanding the New Language Tags</a></li> <li><a rel="nofollow" class="external text" href="http://www.w3.org/International/questions/qa-css-lang">FAQ: Styling using the lang attribute</a></li></ul></li> <li><a href="/w/index.php?title=Internet_Assigned_Numbers_Authority&action=edit&redlink=1" class="new" title="Internet Assigned Numbers Authority (dim tudalen ar gael)">IANA</a> <ul><li><a rel="nofollow" class="external text" href="http://www.iana.org/assignments/language-subtag-registry">IANA Language Subtag Registry</a></li> <li><a rel="nofollow" class="external text" href="http://www.rfc-editor.org/rfc/rfc4646.txt">Tags for Identifying Languages</a> (<a class="external mw-magiclink-rfc" rel="nofollow" href="https://tools.ietf.org/html/rfc4646">RFC 4646</a>)</li> <li><a rel="nofollow" class="external text" href="http://www.rfc-editor.org/rfc/rfc4647.txt">Matching of Language Tags</a> (<a class="external mw-magiclink-rfc" rel="nofollow" href="https://tools.ietf.org/html/rfc4647">RFC 4647</a>)</li> <li><a rel="nofollow" class="external text" href="http://www.iana.org/assignments/language-tags">Language tags</a>—(obsolete per RFC4646)</li></ul></li> <li><a href="/wiki/Mozilla_Firefox" title="Mozilla Firefox">Mozilla Firefox</a> <ul><li><a rel="nofollow" class="external text" href="https://bugzilla.mozilla.org/show_bug.cgi?id=192636">Bug with script selection</a></li></ul></li></ul> <p><br /> </p> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐65496f48b4‐4cfpd Cached time: 20241125085732 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.174 seconds Real time usage: 0.255 seconds Preprocessor visited node count: 2891/1000000 Post‐expand include size: 9689/2097152 bytes Template argument size: 1333/2097152 bytes Highest expansion depth: 20/100 Expensive parser function count: 1/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 2295/5000000 bytes Lua time usage: 0.047/10.000 seconds Lua memory usage: 1333004/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 214.615 1 -total 36.93% 79.253 10 Nodyn:Lang 35.23% 75.603 1 Nodyn:Documentation_subpage 34.99% 75.084 10 Nodyn:Category_handler 32.89% 70.579 1 Nodyn:Mbox 13.50% 28.971 4 Nodyn:Language_with_name 13.36% 28.675 10 Nodyn:Category_handler/numbered 10.61% 22.766 10 Nodyn:Namespace_detect 10.60% 22.753 1 Nodyn:Lang-es 9.88% 21.202 3 Nodyn:Lang-ru --> <!-- Saved in parser cache with key cywiki:pcache:idhash:87577-0!canonical and timestamp 20241125085732 and revision id 1497156. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Wedi dod o "<a dir="ltr" href="https://cy.wikipedia.org/w/index.php?title=Nodyn:Lang/doc&oldid=1497156">https://cy.wikipedia.org/w/index.php?title=Nodyn:Lang/doc&oldid=1497156</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Arbennig:Categories" title="Arbennig:Categories">Categorïau</a>: <ul><li><a href="/wiki/Categori:Nodyn_tudalennau" title="Categori:Nodyn tudalennau">Nodyn tudalennau</a></li><li><a href="/wiki/Categori:Tudalennau_sy%27n_defnyddio_dolenni_hud_RFC" title="Categori:Tudalennau sy'n defnyddio dolenni hud RFC">Tudalennau sy'n defnyddio dolenni hud RFC</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"> Golygwyd y dudalen hon ddiwethaf ar 13 Ebrill 2013, am 05:00.</li> <li id="footer-info-copyright">Mae'r testun ar gael o dan <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; gall telerau ychwanegol fod yn berthnasol. Gweler y <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Telerau Gwasanaeth</a> am fanylion.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Polisi preifatrwydd</a></li> <li id="footer-places-about"><a href="/wiki/Wicipedia:Yngl%C5%B7n_%C3%A2_Wicipedia">Ynglŷn â Wicipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wicipedia:Gwadiad_Cyffredinol">Gwadiadau</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Cod Ymddygiad</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Datblygwyr</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/cy.wikipedia.org">Ystadegau</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Datganiad cwcis</a></li> <li id="footer-places-mobileview"><a href="//cy.m.wikipedia.org/w/index.php?title=Nodyn:Lang/doc&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Golwg symudol</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"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></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"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-65496f48b4-4cfpd","wgBackendResponseTime":403,"wgPageParseReport":{"limitreport":{"cputime":"0.174","walltime":"0.255","ppvisitednodes":{"value":2891,"limit":1000000},"postexpandincludesize":{"value":9689,"limit":2097152},"templateargumentsize":{"value":1333,"limit":2097152},"expansiondepth":{"value":20,"limit":100},"expensivefunctioncount":{"value":1,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":2295,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 214.615 1 -total"," 36.93% 79.253 10 Nodyn:Lang"," 35.23% 75.603 1 Nodyn:Documentation_subpage"," 34.99% 75.084 10 Nodyn:Category_handler"," 32.89% 70.579 1 Nodyn:Mbox"," 13.50% 28.971 4 Nodyn:Language_with_name"," 13.36% 28.675 10 Nodyn:Category_handler/numbered"," 10.61% 22.766 10 Nodyn:Namespace_detect"," 10.60% 22.753 1 Nodyn:Lang-es"," 9.88% 21.202 3 Nodyn:Lang-ru"]},"scribunto":{"limitreport-timeusage":{"value":"0.047","limit":"10.000"},"limitreport-memusage":{"value":1333004,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-65496f48b4-4cfpd","timestamp":"20241125085732","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>