API Reference LiveSvelteGettext v#0.2.0
View SourceModules
Compile-time translation extraction for Phoenix + Svelte applications.
Compile-time code generation for LiveSvelteGettext.
Phoenix components for LiveSvelteGettext.
Wrapper around Gettext.Extractor that supports custom source file references.
Extracts translation strings from Svelte component files.
Minimal JSON encoding that does not force a particular library on consumers.
Reads translated plural forms straight from a backend's .po files.
Runtime translation lookup used by the functions LiveSvelteGettext generates.
Mix Tasks
Fixes POT/PO file references to point to original Svelte files.
Installs LiveSvelteGettext in your Phoenix application.
Quick reference task for LiveSvelteGettext setup.