twitter-cldr-rb
twitter-cldr-rb copied to clipboard
Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
This PR is meant to address updating our current collation implementation to CLDR v26 and ICU 54.1.1. At the moment, there are several hurdles that need to be overcome: 1....
**Describe the bug** I'm not really sure what's going on here, if this is expected for a reason I don't understand or possibly indicative of a larger problem, but: `ß`...
I've tried out running sorbet on our code base. I've run into the following problem stemming from Twitter CLDR. ``` sorbet/rbi/hidden-definitions/hidden.rbi:175756: Method TwitterCldr::Segmentation::StateMachine.instance redefined without matching argument count. Expected: 0,...
I see the fancy code for using a trie to lookup codepoints with certain properties, but either it doesn't work for `general_category`, or I'm not using it right. ```ruby TwitterCldr::Shared::CodePoint.code_points_for_property("general_category",...
[CLDR 21.0](http://cldr.unicode.org/index/downloads/cldr-21) uses a new concept of [script reordering](http://site.icu-project.org/design/collation/script-reordering) that allows putting native scripts (e.g., Cyrillic for Russian) before Latin characters. This feature changes the sorting order of native and...
It's not urgent, but most likely something will need to be done since they plan to remove tailoring rules in XML format from the CLDR data. See [this CLDR ticket](http://unicode.org/cldr/trac/ticket/5551)...
It turned out that some code points occur in the default FCE table in denormalized form. As we always normalize given code points to NFD form, we completely ignore denormalized...
**Describe the bug** `1111.localize(:ja, format: :short).to_s` Return `1`, but not `1K`or `1千` **To Reproduce** Do `1111.localize(:ja, format: :short).to_s` in version 6.12.1 **Expected behavior** [A clear and concise description of what...
bigdecimal is no longer part of the standard library since ruby 3.4 so this fix deprecation warning when running twitter-cldr on previous ruby versions and fix LoadError on ruby 3.4....