Fermo.I18n.optionally_build_path_map
You're seeing just the callback
optionally_build_path_map
, go back to Fermo.I18n module for more information.
Specs
Cross references all config pages, finding those with the same :id
but with different locales.
Each page with an :id
and :locale
in its parameters has
a :localized_paths
Map added indicating which locale has
which path.
E.g.
%{
path: "/",
template: "home.html.slim",
params: %{
id: "home_page",
locale: :en,
localized_paths: %{
en: "/",
it: "/it/"
}
}
}