PhoenixKitWeb.Live.Modules.Languages (phoenix_kit v2.52.2)

Copy Markdown View Source

Languages settings LiveView for PhoenixKit admin panel.

Provides interface for managing available languages and localization settings.

Languages is core and this page is always reachable; its first card is the site's multi-language switch (toggle_languages). With the switch off nothing below it is shown. Saved configuration is kept, and menus offer no language choices.

Summary

Functions

handle_event(event, params, socket)

Callback implementation for Phoenix.LiveView.handle_event/3.

handle_params(params, uri, socket)

Callback implementation for Phoenix.LiveView.handle_params/3.

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.