API Reference Localize Web v#0.7.0

Copy Markdown View Source

Modules

Parses HTTP Accept-Language headers and finds the best matching locale.

Facade module providing HTML form select helpers for localized data.

Generates HTML <select> tags and option lists for localized currency display.

Generates HTML <select> tags and option lists for localized locale display.

Renders an ICU MessageFormat 2 message into HEEx, including any MF2 markup tags.

Generates HTML <select> tags and option lists for localized month name display.

Generates HTML <select> tags and option lists for localized territory display.

Generates HTML <select> tags and option lists for localized unit-of-measure display.

Utility functions for setting the locale from the session for Localize and Gettext.

Standalone plug that parses the Accept-Language header and sets conn.private[:localize_locale] to the best matching locale.

Plug that discovers and sets the locale for the current process.

Plug that persists the locale discovered by Localize.Plug.PutLocale into the session.

Compile-time route localization for Phoenix routers.

Generates a module that implements localized route helpers.

Localized verified routes using the ~q sigil.

Phoenix integration for the Localize library providing plugs, localized routes, and HTML form helpers.