Closed lawik closed 1 year ago
@lawik apologies for the inconvenience. I believe you don't need to include the Cldr.Currency
provider because Cldr.Number
already compiles it in (I need to check the documentation).
A couple of suggestions:
{:ex_cldr_numbers, "~> 2.29"}
- you don't need to include ex_cldr
or ex_cldr_currencies
since these will be included as transitive dependencies. (Still need ex_cldr_territories
though).Cldr.Currency
as a provider:# Only those options that aren't default
# although nothing wrong with the configuration
# you provided.
demodule MyCldr do
use Cldr,
default_locale: "en",
locales: [],
add_fallback_locales: false,
providers: [Cldr.Number, Cldr.Territory]
end
Let me know if that solves the issue? I will also check to ensure that if this does resolve the issue that provider Cldr.Currency
is not compiled twice if it and Cldr.Number
are configured as providers.
That did it! Thanks a lot :)
Thanks for the feedback, glad that solved it. I will keep this issue open until I push a commit that avoids the issue in the future.
I'm getting this warning:
I updated the relevant packages:
Config: