Docs Languages
Latvian (latviešu)
Code lv. Not reviewed by a native speaker.
This page is generated by bun run docs:languages from the pack in src/core/lang/lv.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) | not set (dialogue is quoted) |
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: no.
Abbreviations
| Kind | Entries |
|---|---|
| parts stay together | u. tml. u. c. t. i. š. g. v. i. z. v. P. S. |
| stay with what follows | Nr |
Numbers
Groups of three are separated by ~, the decimal mark is ,.
Sources
- https://publications.europa.eu/resource/cellar/01ed788a-d266-11ec-a95f-01aa75ed71a1.0024.01/DOC_1 (Publikāciju noformēšanas rokasgrāmata, Latvian PDF of 19 April 2022, read as text with pdfjs: 4.2.3 teksta sagatavošana (pēdiņas, saistītās atstarpes, skaitļi), 6.4 interpunkcijas zīmes un atstarpes, 6.5 interpunkcija skaitļos, 10.1.6 pēdiņas, 10.1.7 domuzīme, 10.7 saīsinājumi, simboli un akronīmi)
- https://op.europa.eu/en/web/eu-vocabularies/formex/physical-specifications/character-encoding/use-of-quotation-marks-in-the-different-languages (Publications Office, quotation marks per language: lv
“…”at all three levels)
Notes
Quotation: the ISG (4.2.3, 6.4 and 10.1.6) and the Publications Office table write “…” (U+201C, U+201D, both marks at the top, as in English) at every level, so a quotation inside a quotation is “…“…”…” here. This is not the German-shaped „…“ that a Latvian reader may expect from other sources: „…“ was suggested to this pack and was not found in the ISG, so it is not set; no Latviešu valodas aģentūra or Valsts valodas centrs page was read, so nothing says whether „…“ is also accepted by the national authority. The ISG puts single quotes ‘…’ around translations of words, explanations of meaning and plant variety names (4.2.3, 10.1.6). The engine cannot tell such a use from a nested quotation, so a top-level ‘…’ is not kept (the nesting level decides); this is not implemented. Quotes of the third level are set as “…” as well. Dash: ISG 10.1.7 sets a space on each side of the dash; its examples (“brīdinājuma zīme” — zīme, ila — ‘daba’) use the en dash, and 4.2.3 reserves the em dash for lists and empty table cells, so sentenceDash is U+2013. Not implemented, not verified: the ISG gives no list of one-letter words (k, s, v, z, a, i, o, u) to keep off the end of a line, so there are no orphans; elisions: none read; the abbreviation list is only those the ISG itself writes with a fixed space in 10.7 (u. c., u. tml., t. i., š. g., v. i., z. v., P. S.) and Nr.; lpp. (7.–13. lpp.) follows a number and is already kept with it by the number rule; the ISG writes a time range with full stops and an en dash (9.00–18.30, 10.1.7), but the range rule does not read a dotted time as a range, so 9.00-18.30 keeps its hyphen (a core limit, not a pack field; 9:00–18:30 works); the ISG shows € only as the code EUR, so the pack sets percentSpace and not currencySpace (49€ stays 49€). Numbers: ISG 6.5 gives a comma for decimals and a fixed space between groups of three; the engine groups from five digits, as it does in every language.
Something wrong or unclear here? Report an issue.