API Reference LocaleSlug v#0.2.0

Copy Markdown View Source

Modules

Locale-aware and script-aware URL slugs.

The matcher: one left-to-right walk producing slug text plus the spans it came from.

BCP 47 tag handling: what is accepted, what is rejected, and what a tag resolves to.

Compiled lookup tables, and the accessors the engine matches through.

Mix Tasks

Reads the YAML tables under priv/ and writes lib/locale_slug/generated_tables.ex.