Docs Languages
Slovenian (slovenščina)
Code sl. Not reviewed by a native speaker.
This page is generated by bun run docs:languages from the pack in src/core/lang/sl.ts. Do not edit it by hand: src/lang-docs.test.ts fails when it is out of date. A no-break space is shown as ~.
Quotation
| Register | Levels, outermost first |
|---|---|
| display | „…“, ‚…‘, ‚…‘ |
| literary | as display |
A quotation nested deeper than the levels listed starts over from the first.
Dashes
| What | Setting |
|---|---|
| break in the sentence | spaced en dash |
| break in the sentence, literary | spaced en dash |
| line of dialogue (a paragraph opening with a dash) | en dash and a no-break space, in both registers |
Spaces
- One-letter words kept with the next word: none.
- Short words kept with the next word, in a title (the opt-in rule
space.short-word): none. - A no-break space between a number and %: yes.
- A no-break space between a number and € after it: yes.
Abbreviations
| Kind | Entries |
|---|---|
| stay with a number | št str |
Numbers
Groups of three are separated by ~, the decimal mark is ,.
Sources
- https://www.fran.si/134/slovenski-pravopis/datoteke/Pravopis_Pravila.pdf
- https://publications.europa.eu/resource/cellar/01ed788a-d266-11ec-a95f-01aa75ed71a1.0010.01/DOC_1 (Medinstitucionalni slogovni priročnik, Slovenian ISG, PDF of 19 April 2022: 4.2.3 narekovaji, števila and nedeljivi presledki, 6.4 ločila in presledki, 6.5 postavljanje ločil v številih, 7.3.3 denarne enote, 10.1.6 narekovaj, 10.1.7 pomišljaj, 10.8 razno)
Notes
Dialogue: quotes are the norm, but a dash may open direct speech at the start of a paragraph with no lead-in clause (Slovenski pravopis 2001, § 388.6); the attribution follows a comma, not a dash. Quotes: the ISG (10.1.6) sets „…“ (Alt 0132, Alt 0147) for a literal quotation and ‚…‘ (Alt 0130, Alt 0145) only inside it and at the third level („xxx ‚xxx ‚xxx‘ xxx‘ xxx“); 4.2.3 says the third level reuses the second. A fourth level starts over from „…“ here, which the ISG does not mention. The alternative »…« was not found in the ISG and is not set; Slovenski pravopis (ZRC SAZU) was not opened. Dash: ISG 10.1.7 names the en dash (pomišljaj) as a stronger mark than a comma and a glossing device; whether it is spaced is not stated in the section (the table in 6.4 shows “xx — xx” as well as “xx–xx”, and the guide’s own running text sets it spaced), so the spaced en dash is taken from the guide’s own text, not from a stated rule. The em dash is for list bullets (10.1.8). Percent and euro: ISG 6.4 shows “00●%”, 10.8 requires a fixed space between a number and its unit (15 %); 7.3.3 puts a fixed space between the amount and EUR, or the euro sign. Abbreviations: only št. and str., which the ISG shows with a fixed space (4.2.3: “št.• UL L”, “str.• UL C”); the engine binds them to a following number. No abbreviation list was read, so none is invented. Numbers: ISG 4.2.3 and 6.5 prescribe groups of three digits separated by a fixed space and a comma for decimals; numbers that number things (years, pages) are written without a space. The grouping is the opt-in rule number.group. Not implemented, not verified: one-letter prepositions and conjunctions (k, s, v, z, o, a, i, u) are not kept off the end of a line, because the ISG states no such rule and Slovenski pravopis was not read; the period placement relative to a closing quotation mark (10.1.6) is a punctuation-in-quotes rule the engine does not have.
Something wrong or unclear here? Report an issue.