Glific v0.3.1 Glific.Flows.Localization View Source
The Localization object which stores all the localizations for all languages for a flow
Link to this section Summary
Functions
Given a language id and an action uuid, return the translation if one exists, else return the original text
Process a json structure from floweditor to the Glific data types
Link to this section Types
Specs
Link to this section Functions
Specs
get_translation(Glific.Flows.FlowContext.t(), Glific.Flows.Action.t()) :: String.t()
Given a language id and an action uuid, return the translation if one exists, else return the original text
Specs
Process a json structure from floweditor to the Glific data types