Comments (5)
Hi. I gut CLDR::Number as part of CPAN Pull Request Challenge for June (yeah, a bit late now).
Not knowing about CLDR existence earlier I found it interesting and wanted to do a bit more than just some cosmetics/metadata improvements etc. Thanks for keeping TODO items available, that is great help.
I want to take a stab at this task. While looking at how data CLDR::Number uses is generated I found out that data I should be interested in is actually not generated, but kept in template/base.tx
Am I correct? Is there some way of re-generating that file? If no then is it worthwhile to add generation of that data into generate-cldr-data.pl ?
from cldr-number-pm5.
Welcome to CLDR::Number, @bjakubski! Note that the master
branch is currently in development (and has been for quite a while) to upgrade from CLDR 24 to 27, including templating and scripting out the upgrade to make it easier in the future. The stable CPAN branch is named cldr24
. I've been adding new features to that for CPAN releases and then merging back into master
. bin/generate-cldr-data.pl
and bin/template/base.tx
are both new files in master
that have not been completed. I can provide more details later because I'm at work now, but wanted to let you know the current status.
from cldr-number-pm5.
Thanks for information! Going back to my question about template/base.tx - should data that is currently there be generated by generate-cldr-data (i.e. not be part of template)? Is it something I can attempt to work on without interfering with your work?
from cldr-number-pm5.
The hardcoded data in $DATA
within base.tx
is only a temporary solution because I have not yet finished the code in generate-cldr-data.pl
to generate it from the CLDR data. You’re welcome to make any changes in those files. I’m on vacation for another week and have no plans to work on it while I’m away, but am happy to answer any questions.
from cldr-number-pm5.
@bjakubski: CLDR::Number v0.11 was just released, upgrading to CLDR v27.0.1, with the data now all (mostly) being generated from CLDR JSON using generate-cldr-data.pl
. If you’re still interested in this task, it would be much easier now and I’m happy to provide additional tips on implementation; if not, no worries! Let me know though so I can either help you or (eventually) implement it myself. Thanks!
from cldr-number-pm5.
Related Issues (20)
- support different rounding modes
- round half-even with rounding increment
- add algorithmic (non-decimal) numbering systems
- support CLDR v27 HOT 3
- locales should inherit from defined parent locales when available
- support spelled-out currencies
- load locale data for each locale from a different module
- deprecate mutable locales
- We need plurals data from CLDR. HOT 1
- add FAQ about fallback for non-existant locales HOT 1
- test upgrade using preliminary CLDR v28 data HOT 5
- infinity and NaN are not supported by all perls
- use Math::BigFloat as much as possible
- remove Math::BigFloat for Inf/NaN checking HOT 1
- Tests fail (with latest Moo?) HOT 3
- upgrade to CLDR v29
- Moo::Role-related bug in Perl 5.8.1 through 5.8.3
- improve docs for a broader audience
- Using Locale::CLDR corrupts CLDR::Number HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cldr-number-pm5.