Locales

Albanian typography rules · sq

Shqip

Albanian 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; no single range convention is verified, so none is substituted. Numbers bind to units such as km kg cm with U+00A0.

Updated · spec 1.33.0

Run polytypo with Albanian rules

Edit the text and polytypo typesets it with the sq 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.

Albanian typography at a glance #

Tagsq
NameAlbanian
Primary quotes“ U+201C left double quotation mark … ” U+201D right double quotation mark
Secondary quotes‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark
Parenthetical dashspaced en dash
Range dashno dash substitution
Rules with citationsquotes, dashes, ranges, ellipsis, hyphen, nbsp
Conformance cases30

Which locale tags resolve to Albanian? #

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
sqregistered locale
sq-ALregion removed, then the registered locale
sq-XKregion removed, then the registered locale

Which quotation marks does Albanian use? #

Primary“ U+201C left double quotation mark … ” U+201D right double 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

sq-quotes-primary
Ai tha: "Jam i lodhur." dhe iku.
Ai tha: “Jam i lodhur.” dhe iku.
sq-quotes-nested-secondary
Ai tha: "Ajo tha 'po' mua" dhe iku.
Ai tha: “Ajo tha ‘po’ mua” dhe iku.
sq-quotes-nested-at-end
Ai tha: "Ajo tha 'po'" dhe iku.
Ai tha: “Ajo tha ‘po’” dhe iku.

How are apostrophes set in Albanian? #

apostrophe

sq-apostrophe-foreign-name
O'Brien erdhi.
O’Brien erdhi.

Which dashes does Albanian 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)no substitution: the locale has no verified convention, so the rule writes nothing

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

dashes

sq-dashes-parenthetical
Libri - botuar para luftës - është i mirë.
Libri – botuar para luftës – është i mirë.
sq-dashes-em-input
Libri — botuar para luftës — është i mirë.
Libri – botuar para luftës – është i mirë.

How is the ellipsis set in Albanian? #

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

ellipsis

sq-ellipsis-three-dots
Prit... pastaj.
Prit… pastaj.
sq-ellipsis-before-question
A është kjo...?
A është kjo…?
sq-ellipsis-before-exclamation
Çfarë tani...!
Çfarë tani…!

How are hyphens handled in Albanian? #

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

Where does Albanian 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)km kg cm dm ha km²
Units and signs written with a space after the number: the space is bound with U+00A0, and inserted when missing (nbsp.spacedUnits)none
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)§
Initials (nbsp.initialBinding)none — disabled: initials are never bound to the name that follows

spaces

sq-spaces-before-punctuation
Pse ? Jo !
Pse? Jo!
sq-spaces-brackets
Ai ( i qetë ) shkoi .
Ai (i qetë) shkoi.

nbsp

sq-nbsp-units-bound
Rruga është 3 km dhe 5 kg dhe 7 cm dhe 4 dm dhe 90 ha
Rruga është 3 km dhe 5 kg dhe 7 cm dhe 4 dm dhe 90 ha
sq-nbsp-square-unit
Sipërfaqja është 28 800 km² këtu
Sipërfaqja është 28 800 km² këtu
sq-nbsp-section-sign
shih § 12 dhe § 67
shih § 12 dhe § 67

How are symbols set in Albanian? #

symbols

sq-symbols-copyright
(c) 2026
© 2026

How does Albanian 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
Ajo pyeti: "A nuk është ky dyqani që e quajnë 'në qoshe'?" ... Ecëm - gati 3 km - dhe ishte mbyllur. Copyright (c) 2026, formati 40x60 cm. say("a -- b ...")
Ajo pyeti: “A nuk është ky dyqani që e quajnë ‘në qoshe’?” … Ecëm – gati 3 km – dhe ishte mbyllur. Copyright © 2026, formati 40×60 cm. say(“a – b …”)
html
<p>Ajo pyeti: "A nuk është ky dyqani që e quajnë 'në qoshe'?" ... Ecëm - gati 3 km - dhe ishte mbyllur. Copyright (c) 2026, formati 40x60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
<p>Ajo pyeti: “A nuk është ky dyqani që e quajnë ‘në qoshe’?” … Ecëm – gati 3 km – dhe ishte mbyllur. Copyright © 2026, formati 40×60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
markdown
Ajo pyeti: "A nuk është ky dyqani që e quajnë 'në qoshe'?" ... Ecëm - gati 3 km - dhe ishte mbyllur. Copyright (c) 2026, formati 40x60 cm. `say("a -- b ...")`
Ajo pyeti: “A nuk është ky dyqani që e quajnë ‘në qoshe’?” … Ecëm – gati 3 km – dhe ishte mbyllur. Copyright © 2026, formati 40×60 cm. `say("a -- b ...")`

Which sources define Albanian typography? #

6 citations in spec/locales/sq.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

  • Akademia e Shkencave e Shqipërisë, «Rregullat e pikësimit në gjuhën shqipe» (2002), ch. 7: «Shumëpikëshi është shenjë pikësimi e përbërë prej tri pikash të njëpasnjëshme»; §175: «… tre pikat vijnë menjëherë pas shkronjës së fundit»; §140 example «të mykura?...» archive.org

    abbreviatedAfterTerminal = false: the example keeps three dots after a question mark. Read 2026-11-16 from archive.org page images of the scan.

ranges

  • Akademia e Shkencave e RP të Shqipërisë, Instituti i Gjuhësisë dhe i Letërsisë, «Drejtshkrimi i gjuhës shqipe» (Tiranë 1973), §69 b): «Shkruhen me vizë të gjatë në mes tyre: … numërorët që shënojnë caqet e një hapësire kohore: periudha 1939—1944»; §68 a): approximate quantities take a hyphen, «10-15 vjet», «5-6 ditë»; §68 i): «27-51, 25-09» www.klasaletersi.com

    dash.range = none. The source asks for a long dash in time spans and for a hyphen in approximate quantities and number groups of the same shape («5-6 ditë», «27-51»); the ranges rule reads only code points and cannot tell them apart, so converting would break the second norm. Read 2026-11-16 from the scan.

dashes

  • Akademia e Shkencave e Shqipërisë, «Rregullat e pikësimit në gjuhën shqipe» (2002), §165: «Viza përdoret për të veçuar fjalitë e ndërkallura»; §175: «Vizat paraprihen dhe ndiqen gjithmonë nga një hapësirë e bardhë: tekst – fjali e ndërkallur – tekst» archive.org

    dash.parenthetical = en-spaced (U+0020 U+2013 U+0020). The spacing is normative. The code point is PICK-AND-PIN: both sources call the dash «viza e gjatë» (2002 §163 and p. 109; 1973 §69), which sets it against the hyphen, «vizë lidhëse», and does not name en or em; the 2002 rules print it short throughout (heading «10. VIZA (–)») and the 1973 Drejtshkrimi prints it long. U+2013 is pinned. Read 2026-11-16 from archive.org page images of the scan.

hyphen

  • Akademia e Shkencave e RP të Shqipërisë, «Drejtshkrimi i gjuhës shqipe» (1973), §99 b): ordinal suffixes after Arabic numerals and endings written with a hyphen are not divided at line end («Kongresi i 6-të», «SMT-ja, PTT-së, TEC-it») www.klasaletersi.com

    All three lists are empty: the constraint cannot be expressed, because a hyphen-rule suffix must follow a letter while here it follows a digit or an open set of abbreviations. The source is not silent. Read 2026-11-16 from the scan.

quotes

  • Akademia e Shkencave e Shqipërisë, Instituti i Gjuhësisë dhe i Letërsisë, «Rregullat e pikësimit në gjuhën shqipe» (Shkenca, Tiranë 2002), ch. 8 «Thonjëzat», footnote p. 88: «Thonjëzat mund të realizohen grafikisht në dy forma që nuk paraqesin ndonjë ndryshim në përdorim. Thonjëzat e larta (“ ”) të quajtura dhe angleze, janë më të zakonshme në kompjuter. Thonjëzat e ulta (« ») të quajtura edhe franceze janë më pak të përdorshme»; §150 Shënim 2: «Duhet të përdoren edhe thonjëzat njëshe, në qoftë se përdoren thonjëzat brenda një teksti të mbyllur në thonjëza»; §175: «Nuk lihen hapësira të bardha midis thonjëzave dhe tekstit të futur brenda tyre»; §145 Shënim 2 and §150 Shënim 1 (full stop inside only when the quoted part is a syntactically independent sentence) archive.org

    PICK-AND-PIN: “…” (U+201C, U+201D) with ‘…’ (U+2018, U+2019) inside. The source calls both forms equal in use and names the high marks the more common on a computer; every example in §§145–153 uses them. «…» (U+00AB, U+00BB) is the permitted, less used form, and the 1973 Drejtshkrimi uses it in its examples. »…« is not attested in any source read. innerSpace none. punctuationPlacement none: placement follows meaning, per §145 Shënim 2 and §150 Shënim 1. elisionIdioms and elisionClitics empty: not addressed. Read 2026-11-16 from archive.org page images of the scan.

nbsp

  • Akademia e Shkencave e RP të Shqipërisë, «Drejtshkrimi i gjuhës shqipe» (1973), §99 ç): «Nuk ndahen në fund të rreshtit: … shkurtimet e njësive të masave dhe shenjat e përqindjes e të përmijës nga shifra që u prin: … 35 cm, 50 dm, 40 km, 28 800 km², 90 ha, 3 m³, 200 g, 35 kg, 70 kv, 2 l; 100%, 112%, 30‰»; §99 d): «shenja e paragrafit dhe numri e shkronja që vijnë pas saj … : § 12»; note on p. 132: «Shenjat % (për qind) dhe ‰ (për mijë) mund të përdoren vetëm pas një numri të shënuar me shifra: 5%, 90%, 80‰» www.klasaletersi.com

    beforeUnits = km kg cm dm ha km²; afterSymbols = §. That a measure abbreviation does not break from the number before it is normative (§99 ç)); the units are therefore bound with U+00A0 where a space is already written. Whether the separator must be inserted or deleted is not stated: the examples print measures spaced and % ‰ closed up, which is typesetting, not a rule, so spacedUnits and closedUnits are empty and % ‰ are not listed. Single-letter units (g, l) and m³ are excluded (nbsp.md §3.7); kv is not listed. Currency (€, lekë) and °C are not addressed. beforePunctuation, abbreviations and the other lists are empty, initialBinding is none. Read 2026-11-16 from the scan.

Is something missing or wrong in the Albanian rules? #

Have something to add or discuss about Albanian typography? Open a thread in GitHub Discussions and name the locale (sq), 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.