tradukisto 0.0.1 copy "tradukisto: ^0.0.1" to clipboard
tradukisto: ^0.0.1 copied to clipboard

Convert numbers to words (text representation).

Convert numbers to text with Tradukisto. This library is a quick port of Tradukisto in Java (https://github.com/allegro/tradukisto).

Quick port means that it was done very quickly and not all features / dart language niceties are used. Folder structure and class names are preserved to help with future porting.

Features #

Supports:

  • Ukrainian
  • English

It's pretty easy to add a new language - as it just requires to port one file a do some small plumbing. See files to port here: https://github.com/allegro/tradukisto/tree/master/src/main/java/pl/allegro/finance/tradukisto/internal/languages

Usage #

ValueConverters converter = ValueConverters.ENGLISH_INTEGER;

print(converter.asWords(221));   //prints: two hundred twenty-one
7
likes
140
pub points
0%
popularity

Publisher

verified publishersolid.software

Convert numbers to words (text representation).

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on tradukisto