From 86ca52c2cb3def3c887bbc6d88940e6cc4041d9e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 19 Sep 2022 09:19:28 +0200 Subject: [PATCH] Precompile latin to arab ICU transliterations Signed-off-by: Thomas Citharel --- lib/mobilizon/cldr.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mobilizon/cldr.ex b/lib/mobilizon/cldr.ex index e7b2fffa..5577bfb7 100644 --- a/lib/mobilizon/cldr.ex +++ b/lib/mobilizon/cldr.ex @@ -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()