Genory
COUNTRY WORKBENCH / LV

Latvia Test Data Generator

Create synthetic Latvia profiles for forms, demonstrations and localization tests.

OUTPUT

Your next test starts here

{ }

Preparing your test data…

Your first record will appear here shortly.
Copy individual values or export the entire result.

Synthetic identities; domains, addresses and numbers may coincide with real values. Do not contact or send payments.

Testing Latvia interfaces

This locale uses lv definitions for names and presentation formats. Test text lengths, input handling, exports and Unicode support. City, region and available postal codes come from the same GeoNames locality. See the generated quality note for postal coverage; street and house number remain synthetic.

COUNTRY-SPECIFIC TEST CASES

Testing Latvia forms

Use a Latvia profile as a starting point for form tests. This guide focuses on lv- after the locality. Add the deliberate fixture below to make that behavior repeatable.

Generator locale: lv. Suggested application display locale: lv-LV. These are separate settings; this guide does not change the generator’s output.

Address reference for Latvia

Latvia uses four postcode digits with an LV- prefix. The UPU layout places this after the locality, separated by a comma, and can include a sub-locality.

LV- after the locality

Test the full locality line and the stored postcode separately. Do not strip the prefix as if it were part of an arbitrary city-name suffix.

A deliberate regression fixture

Editorial regression fixture — shape and preservation tests only
country: LV
postal_shape: "LV-1234"
locality_label: "Test locality"
expected: Keep one LV- prefix and preserve the original locality spelling when formatting the line.

These editorial inputs are for controlled tests. They are not verified addresses, guaranteed unassigned contact details, or automatically generated examples.

  1. 01

    Fixture assertion

    Keep one LV- prefix and preserve the original locality spelling when formatting the line.

  2. 02

    Original text

    Add the hand-written input “Bērziņa” and compare it after saving, copying and CSV import. It is an editorial string, not promised generator output.

  3. 03

    Locale and coverage

    Test lv-LV display separately from the stored date-only value. Keep the generated locality coverage note with the record; the address reference does not expand Genory’s dataset.

Address reference: UPU addressing guide: Latvia. Reviewed 4 October 2026. Postal presentation rules are not universal rules for storing personal names.

Guides for this task

All guides →