Precompile latin to arab ICU transliterations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-09-19 09:19:28 +02:00
parent d97927da13
commit 86ca52c2cb
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ defmodule Mobilizon.Cldr do
do: Mobilizon.Web.Gettext,
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
Mobilizon.Cldr.known_locale_names()