Locales

Norwegian Nynorsk typography rules · nn

Norsk nynorsk

Norwegian Nynorsk sets primary quotation marks as «…» and secondary quotation marks as ‘…’. A break in a sentence is written with an en dash (U+2013) with a space on each side; number and date ranges take an en dash (U+2013) with no surrounding spaces. Numbers bind to units such as % kr km with U+00A0.

Updated · spec 1.33.0

Run polytypo with Norwegian Nynorsk rules

Edit the text and polytypo typesets it with the nn locale, in your browser. The code under the form is the call that produces the result.

Runs in your browser. Nothing you paste is sent anywhere.

The call the form above is making, right now

Other locales, and all the options, are in the full playground.

Norwegian Nynorsk typography at a glance #

Tagnn
NameNorwegian Nynorsk
Primary quotes« U+00AB left-pointing double angle quotation mark … » U+00BB right-pointing double angle quotation mark
Secondary quotes‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark
Parenthetical dashspaced en dash
Range dashunspaced en dash
Rules with citationsquotes, dashes, ranges, ellipsis, hyphen, nbsp
Conformance cases36

Which locale tags resolve to Norwegian Nynorsk? #

The locale option is resolved exactly, then by declared alias, then by dropping the region once; anything else throws POLYTYPO_UNKNOWN_LOCALE.

TagHow it resolves
nnregistered locale
nn-NOregion removed, then the registered locale

Which quotation marks does Norwegian Nynorsk use? #

Primary« U+00AB left-pointing double angle quotation mark … » U+00BB right-pointing double angle quotation mark — no space inside the marks
Secondary‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark — no space inside the marks

quotes

nn-quotes-primary
Han sa: "Eg er trøytt." og gjekk.
Han sa: «Eg er trøytt.» og gjekk.
nn-quotes-nested-secondary
Han sa: "Ho sa 'ja' til meg" og gjekk.
Han sa: «Ho sa ‘ja’ til meg» og gjekk.
nn-quotes-nested-at-end
Han sa: "Ho sa 'ja'" og gjekk.
Han sa: «Ho sa ‘ja’» og gjekk.

How are apostrophes set in Norwegian Nynorsk? #

apostrophe

nn-apostrophe-foreign-name
O'Brien kom.
O’Brien kom.

Which dashes does Norwegian Nynorsk use for breaks and ranges? #

Parenthetical break (dash.parenthetical)an en dash (U+2013) with a space on each side
Between numbers and dates (dash.range)an en dash (U+2013) with no surrounding spaces

The dashes rule reads the parenthetical convention. The ranges rule reads the range convention and is on by default.

dashes

nn-dashes-parenthetical
No - ikkje minst - går vi.
No – ikkje minst – går vi.
nn-dashes-em-input
No — ikkje minst — går vi.
No – ikkje minst – går vi.

ranges

The ranges rule is on by default; rules: { ranges: false } switches it off.

nn-ranges-hyphen-converted
kapitla 2-10
kapitla 2⁠–⁠10

options: rules: {"ranges": true}

nn-ranges-opening-hours
opent 9-19
opent 9⁠–⁠19

options: rules: {"ranges": true}

How is the ellipsis set in Norwegian Nynorsk? #

An ellipsis keeps its full form after ! and ?; this locale does not abbreviate it there.

ellipsis

nn-ellipsis-three-dots
Vent... og så.
Vent… og så.
nn-ellipsis-before-question
Er det no...?
Er det no…?
nn-ellipsis-before-exclamation
Kva no...!
Kva no…!

How are hyphens handled in Norwegian Nynorsk? #

The hyphen lists are empty for this locale, so the hyphen rule changes nothing.

Where does Norwegian Nynorsk use no-break spaces? #

Characters that take U+00A0 before them (nbsp.beforePunctuation)none
Characters that take U+202F before them (nbsp.narrowBeforePunctuation)none
Short words after which the space becomes U+00A0, so the word is not left at the end of a line (nbsp.afterShortWords)none
Multi-token abbreviations whose internal spaces become U+00A0 (nbsp.abbreviations)none
Units and signs bound to the preceding number with U+00A0 when the author typed a space (nbsp.beforeUnits)none
Units and signs written with a space after the number: the space is bound with U+00A0, and inserted when missing (nbsp.spacedUnits)% kr km kg cm °C
Units and signs written closed up to the number: a space between them is removed (nbsp.closedUnits)none
Abbreviations bound to the following number with U+00A0 (nbsp.beforeNumber)none
Abbreviations bound to the following word with U+00A0 (nbsp.beforeWord)none
Symbols bound to the following number with U+00A0 (nbsp.afterSymbols)none
Initials (nbsp.initialBinding)none — disabled: initials are never bound to the name that follows

spaces

nn-spaces-before-punctuation
Kva no ? Ikkje !
Kva no? Ikkje!
nn-spaces-brackets
Han ( stille ) gjekk .
Han (stille) gjekk.

nbsp

nn-nbsp-spaced-units
Prisen er 25 % og 10 kr og 3 km og 5 kg og 7 cm og 38 °C
Prisen er 25 % og 10 kr og 3 km og 5 kg og 7 cm og 38 °C
nn-nbsp-spaced-unit-inserted
Prisen 25% og 10kr her
Prisen 25 % og 10 kr her
nn-nbsp-spaced-unit-inserted-metric
Det er 3km og 5kg og 7cm og 38°C
Det er 3 km og 5 kg og 7 cm og 38 °C

How are symbols set in Norwegian Nynorsk? #

symbols

nn-symbols-copyright
(c) 2026
© 2026

How does Norwegian Nynorsk text behave in text, HTML and Markdown modes? #

Each input is the locale's sample sentence followed by a code run, say("a -- b ..."). text mode sets the whole string as prose, code run included. In html and markdown mode the code run comes back byte for byte; only the prose is set.

text
Ho spurde: "Er ikkje dette butikken dei kallar 'den rundt hjørnet'?" ... Vi gjekk - nesten 3 km - og han var stengd. Copyright (c) 2026, format 40x60 cm. say("a -- b ...")
Ho spurde: «Er ikkje dette butikken dei kallar ‘den rundt hjørnet’?» … Vi gjekk – nesten 3 km – og han var stengd. Copyright © 2026, format 40×60 cm. say(«a – b …»)
html
<p>Ho spurde: "Er ikkje dette butikken dei kallar 'den rundt hjørnet'?" ... Vi gjekk - nesten 3 km - og han var stengd. Copyright (c) 2026, format 40x60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
<p>Ho spurde: «Er ikkje dette butikken dei kallar ‘den rundt hjørnet’?» … Vi gjekk – nesten 3 km – og han var stengd. Copyright © 2026, format 40×60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
markdown
Ho spurde: "Er ikkje dette butikken dei kallar 'den rundt hjørnet'?" ... Vi gjekk - nesten 3 km - og han var stengd. Copyright (c) 2026, format 40x60 cm. `say("a -- b ...")`
Ho spurde: «Er ikkje dette butikken dei kallar ‘den rundt hjørnet’?» … Vi gjekk – nesten 3 km – og han var stengd. Copyright © 2026, format 40×60 cm. `say("a -- b ...")`

Which sources define Norwegian Nynorsk typography? #

6 citations in spec/locales/nn.json, grouped by the rule each one supports. A citation names the authority; the note records what the source does and does not settle.

ellipsis

  • Språkrådet, «Mellomrom» (Nynorsk text): «Er det meininga å gjere det slik, eller ...?», «Svarte f…!» sprakradet.no

    abbreviatedAfterTerminal = false: in every example the terminal mark follows the dots, and no source reduces the dots after ? or !. Spacing before the dots depends on what is omitted and is not encoded. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

ranges

  • Språkrådet, «Mellomrom» (Nynorsk text): «Det skal ikkje vere mellomrom føre og etter tankestrekar som viser tidsrom, avstandar, relasjonar eller andre motpolar» («1. mai–10. september») sprakradet.no

    dash.range = en-tight (U+2013, no spaces), identical to nb. The Bokmål Tankestrek page gives the same rule with further examples (1349–54, 2–10). Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

dashes

  • Språkrådet, «Mellomrom» (Nynorsk text): «Det skal vere mellomrom føre (og etter) ein tankestrek ved innskot og i liknande funksjonar» («Han har – sant å seie – ikkje lenge att»); «Tankestrek» (Bokmål only): «Vi bruker kort tankestrek (–), ikke lang (—)» sprakradet.no

    dash.parenthetical = en-spaced (U+0020 U+2013 U+0020). The spacing is stated in Nynorsk. That the dash is U+2013 and not U+2014 is stated only on the Tankestrek page, which exists in Bokmål alone (https://sprakradet.no/godt-og-korrekt-sprak/rettskriving-og-grammatikk/tegn/tankestrek/); it is a common page for both written standards, and the Nynorsk «Kronebeløp» answer confirms only «tankestrek, ikkje bindestrek». The dialogue dash is not encoded. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

hyphen

  • Språkrådet, «Bindestrek» (Bokmål only; no Nynorsk version published): when a hyphen is written, e.g. «2.-prioritetslån», «e-post» sprakradet.no

    All three lists are empty: no source, in either written standard, says where a line must not break. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

quotes

  • Språkrådet, «Hermeteikn» (Godt og korrekt språk › Tegn): «Sitat inni eit sitat markerer vi med enkle hermeteikn»; «Komma skal setjast utanfor, anten det opphavleg høyrer til sitatet eller ikkje»; språkspørsmål «Hermeteikn, kva slags?» (last updated 1 January 2024): «Dei to formene for hermeteikn som er vanlegast i norsk […] Dei blir rekna som like rette»; «Sitat i sitat» (last updated 1 January 2024): «Eit sitat inni eit anna sitat bør helst markerast med enkle hermeteikn»; «Enkle vinklar er mindre brukt, men […] kan gjerne brukast» sprakradet.no

    PICK-AND-PIN, identical to nb: «…» (U+00AB, U+00BB) with ‘…’ (U+2018, U+2019) inside. All three pages are written in Nynorsk; Språkrådet publishes one version of each and states no separate rule for either written standard. The doubled-comma form is called equally correct; «Hermeteikn, kva slags?» reports that guillemets are the most common form in print and, as far as Språkrådet knows, the agreed computer default. Inner level: single marks are preferred; ’…’ (U+2019 both sides, «9 9 er det tradisjonelle i norsk») and ‹…› (U+2039, U+203A) are also allowed, and ‘…’ is pinned because «Sitat i sitat» uses it in its examples. innerSpace none. punctuationPlacement none: the comma goes outside; a full stop, question mark or exclamation mark goes inside only when it belongs to the quotation. elisionIdioms and elisionClitics empty: not addressed. ACCEPTED GAP: «Sitat i sitat» recommends a thin space (U+2009) where a double and a single mark touch, which the schema cannot express. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

nbsp

  • Språkrådet, «Mellomrom» (Nynorsk text): «Det skal vere mellomrom mellom tal og (forkorta) nemningar anten nemninga står framfor talet eller etter det» (10 kr, 5,68 kg, 10 %, +5 °C, § 10); språkspørsmål «Prosentteikn og mellomrom» (last updated 1 January 2024): «Det rette er 25 %, med mellomrom mellom sifferet og prosentteiknet», recommending «hardt eller fast mellomrom»; «Kronebeløp: rekkjefølgje, komma og strek» (last updated 1 January 2024): «I vanleg tekst er 500 kr (eller helst 500 kroner) i utgangspunktet det beste» sprakradet.no

    spacedUnits = % kr km kg cm °C, identical to nb. A hard space is stated only for % (https://sprakradet.no/spraksporsmal-og-svar/prosentteikn-og-mellomrom/); the other units take the same pin. kr carries no full stop and has the same form in Nynorsk (https://sprakradet.no/spraksporsmal-og-svar/kronebelop-rekkjefolgje-komma-og-strek/); nkr is advised only when several currencies appear, which is word choice and not encoded. A bare ° is written closed up («5°»), so only °C is listed. Single-letter and common-word units (m, l, min) are excluded (nbsp.md §3.7). closedUnits, abbreviations, afterSymbols and the other lists are empty, and initialBinding is none: not addressed. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.

Is something missing or wrong in the Norwegian Nynorsk rules? #

Have something to add or discuss about Norwegian Nynorsk typography? Open a thread in GitHub Discussions and name the locale (nn), or read the existing threads. A rule changes only with a cited source, so bring one if you have it.

Already using polytypo? Add our badge

Two lines: a script tag and a span. No per-embed network call. Pick a language and a theme, then copy the code into your footer or credits. Embedding notes cover Content Security Policy. Sites with the badge are listed on Sites using polytypo.

<script async src="https://polytypo.dev/badge.js"></script>
<span data-polytypo-lang="en" data-polytypo-theme="light"></span>

Search runs in your browser. Nothing is sent anywhere.