I have a problem with some of translations which are not applied. As an example of such translations is the module like this:
defmodule JpWeb.SpecialistDefinitions do
import JpWeb.Gettext
@specialists_search_definition %{
schema: Jp.Profiles.Specialist,
filters: [
%{
field: :is_verified,
operation: "==",
options: [{"Yes", true}, {"No", false}],
label: gettext("Is verified")
},
%{
field: :photo,
operation: "is_present",
label: gettext("With photo")
},
]
}
def specialist_definition, do: @specialists_search_definition
end
Translations located in .eex templates files are applied.
What may cause such behaviour?