Skip to content

Add Latvian locale transliteration - #219

Open
agammann wants to merge 1 commit into
simov:masterfrom
agammann:latvian-locale
Open

agammann wants to merge 1 commit into
simov:masterfrom
agammann:latvian-locale

Conversation

@agammann

Copy link
Copy Markdown

Fixes #198.

Add an lv locale with the Latvian letter mappings supplied in the issue. The overrides live in config/locales.json, so default transliteration for other languages stays the same. Rebuild the shipped slugify.js locale map and add a regression case covering uppercase and lowercase Latvian letters plus the default behavior.

Baseline: the full example produced ACEGIKLNSUZ-acegiklnsuz with locale: "lv". With the change it produces AaChEeGjIiKjLjNjShUuZh-aacheegjiikjljnjshuuzh. Local verification: direct Mocha run passed all 46 tests; git diff --cached --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

correctly transliteration LV

1 participant