Comments (2)
@jglaszka hey, I want to help. can you give some more info about this issue?
from tradukisto.
@subhajit20 Hi. Tradukisto is the library what converts numbers to human-readable words - for example from 14
to fourteen
. This issue was created to add support for counting in Armenian language. Depending on how numeral system in armenian is similar to other languages (english, arabic, german, slavic) and how many exceptions it have - it can be easy or more demanding.
Implementing unit tests will be really helpful for you, I encourage you to create them first (TDD paradigm), before developing new changes in the code. You can run them in terminal with ./gradlew test
or green button in Intellij code editor.
New language needs to have implementation for Container - in your case armenianContainer
. Depending on how your language works, having conjugation, gender forms, custom chunking (typically divider is for 3 numbers) etc it may be needed to define more advanced container with custom implementations for counting, for example turkish. Tests will really be helpful for you to see if it needs custom implementations or not.
Also define Values
- translations for base numers and for plural forms (thousands, millions etc).
Feel free to ask if you have more questions, I will try to help you.
from tradukisto.
Related Issues (20)
- Add support for Lithuanian
- Add support for Romanian HOT 1
- Add support for Swedish HOT 7
- Add support for Maltese
- Add support for Albanian
- Add support for Arabic (Egyptian)
- Add support for Arabic (Peninsular)
- Add support for Arabic (Modern Standard Arabic / MSA)
- Add support for Arabic (Levantine)
- Add support for Arabic (Morrocan) HOT 2
- Report only skipped / failed tests in gradle
- Add support for Tamil HOT 2
- test refactor HOT 4
- Add support for Japanese HOT 4
- Rewrite tests to match new tests style HOT 2
- Incorrect translation in spanish MoneyConverters HOT 1
- NumberToWordsConverter gives different result for different languages HOT 1
- Add support for Bahasa
- Bug: InvocationTargetException using SPANISH_INTEGER and some others
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 tradukisto.