Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ukrainian language support #19

Merged
merged 20 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ $ num2words --help

Here is a list of all of the supported languages:

| Flag | Code | ISO 639-1 | Language | 42 |
| ---- | --------------- | --------- | -------- | --------- |
| 🇺🇸🇬🇧 | `Lang::English` | `en` | English | forty-two |
| Flag | Code | ISO 639-1 | Language | 42 |
| ---- | ----------------- | --------- | ---------- | --------- |
| 🇺🇸🇬🇧 | `Lang::English` | `en` | English | forty-two |
| 🇺🇦 | `Lang::Ukrainian` | `ua` | Ukrainian | сорок два |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISO 639-1 code of Ukrainian is uk, not ua :)


This list can be expanded! Contributions are welcomed.

Expand Down
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@
*
* Here is a list of all of the supported languages:
*
* | Flag | Code | ISO 639-1 | Language | 42 |
* | ---- | --------------- | --------- | -------- | --------- |
* | 🇺🇸🇬🇧 | `Lang::English` | `en` | English | forty-two |
* | Flag | Code | ISO 639-1 | Language | 42 |
* | ---- | ----------------- | --------- | ---------- | --------- |
* | 🇺🇸🇬🇧 | `Lang::English` | `en` | English | forty-two |
* | 🇺🇦 | `Lang::Ukrainian` | `ua` | Ukrainian | сорок два |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

*
* This list can be expanded! Contributions are welcomed.
*
Expand Down