Localize Web version 1.0.1
[1.0.1] — 2026-08-03
Fixed
-
~qnow resolves the#{locale},#{language}and#{territory}interpolation forms, which previously raiseda dynamic ~p interpolation must follow a static segmentat compile time in every position. Substituting the token left the enclosing::binarywrapper in place, so Phoenix saw a literal inside a dynamic segment and matched none of its route-verification clauses. Thanks to @sumerokr for the report. Closes #15. -
mix phx.routes <Router>.LocalizedRoutesnow works, where it raisedfunction ... formatted_routes/1 is undefined. The generated module hosts route definitions but is not a router, so theformatted_routes/1and__helpers__/0callbacksPhoenix.Router.ConsoleFormattercalls are now defined on it. Thanks to @sumerokr for the report. Closes #16.
Documentation
-
Align the documentation module names to the canonical Phoenix generator forms, and require
~> 1.0in the installation snippets rather than the long-superseded~> 0.1.0. Thanks to @sumerokr for the PRs. Closes #13, #14. -
Localize.VerifiedRoutesdocuments that every option other than:gettextpasses through toPhoenix.VerifiedRoutes, and that:staticsin particular must be kept when converting fromuse Phoenix.VerifiedRoutes— without it the asset paths in the default Phoenix layouts warn that no route matches (#16).
Removed
- The
LocalizeWebmodule. It defined no functions — only a moduledoc listing the plugs, routes and HTML helpers, all of which live underLocalize.*and are unaffected.