Precompile latin to arab ICU transliterations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d97927da13
commit
86ca52c2cb
|
@ -11,7 +11,8 @@ defmodule Mobilizon.Cldr do
|
||||||
do: Mobilizon.Web.Gettext,
|
do: Mobilizon.Web.Gettext,
|
||||||
else: nil
|
else: nil
|
||||||
),
|
),
|
||||||
providers: [Cldr.Number, Cldr.Calendar, Cldr.DateTime, Cldr.Language]
|
providers: [Cldr.Number, Cldr.Calendar, Cldr.DateTime, Cldr.Language],
|
||||||
|
precompile_transliterations: [{:latn, :arabext}]
|
||||||
|
|
||||||
def known_locale?(locale) do
|
def known_locale?(locale) do
|
||||||
Mobilizon.Cldr.known_locale_names()
|
Mobilizon.Cldr.known_locale_names()
|
||||||
|
|
Loading…
Reference in a new issue