Notifications Reference Backend developer Localization and translation Notification Edit Language code observe_language/2 Notify that the session’s language has been changed Type: notify Return: #language{} properties: language: atom Edit on GitHub
Notifications observe_set_user_language/2 Set the language of the context to a user’s prefered language
Notifications observe_language_detect/2 Try to detect the language of a translation. Set is_editable_only to false to detect any language, even if the language is not enabled for…
Controllers controller_language_set Controller which sets the language as given in the code argument, and redirects the user back to the page given in the p argument.
Notifications observe_development_reload/2 Reloads templates, modules, translations, and other indexed development files after a manual request.
Notifications observe_identity_update_done/2 Notify that a user’s identity has been updated by the identity model.
Notifications observe_translate/2 Request a translation of a list of strings. The resulting translations must be in the same order as the request. This notification is…
Models l10n Model for localization helpers, including countries, country names, available timezones, and site timezone settings.
Notifications observe_edge_insert/2 An edge has been inserted. Note that the Context for this notification does not have the user who created the edge.