1.0.0 — 2026-07-30
Initial release.
Highlights
Localize.Lua.install/1adds alocalizetable to a Lua (Luerl) VM, exposing Localize-backed formatting to Lua scripts: number, currency, percent, date, time, datetime, relative-time, unit, list, MessageFormat 2, and territory/language display names.Localize.Lua.eval/2andeval!/2install the API and evaluate a script in one call.Every binding is locale-aware, returns a string, and falls back to a safe rendering of its input rather than raising — an untrusted template can never crash the host render path.
The exposed surface is a curated allowlist of pure formatting functions with no filesystem or network access, and Lua-sourced option values never reach
String.to_atom/1, so the template sandbox is not widened.Built on
lua ~> 1.0andlocalize ~> 1.0. See the README and guides for full documentation.