twitter / twitter-cldr-rb

Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
Apache License 2.0
672 stars 93 forks source link

Import list formats considering ancestor locales and fallbacks #242

Closed camertron closed 3 years ago

camertron commented 3 years ago

See: https://github.com/twitter/twitter-cldr-rb/issues/241

The legacy importing code that uses the ruby-cldr gem doesn't properly merge together all the resources in the locale's ancestor chain. I've been slowly rewriting the legacy importers, but it's slow going. This PR specifically fixes the list format importer and thereby addresses the linked issue. Portuguese (and all other) list formats should work as expected once this is merged.