-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,41 @@ | ||
# i18n-format | ||
|
||
**i18n-format** is a multi-language conversion library for formatting data, supporting singular-plural conversion, | ||
natural language number and Arabic number conversion, date, etc. | ||
|
||
## Features | ||
|
||
- **word2number**: Conversion between natural language numbers and Arabic numbers, and also supports conversion of | ||
numbers in different languages | ||
- **plural**: Singular to plural conversion | ||
- **date**: Natural language representation of dates and times | ||
|
||
## i18n-format language support | ||
|
||
| lang | word2number | plural | date | | ||
|-------|:-----------:|:------:|:----:| | ||
| en | ✅ | ❌ | ❌ | | ||
| zh_CN | ❌ | ❌ | ❌ | | ||
| zh_TW | ❌ | ❌ | ❌ | | ||
| ja | ❌ | ❌ | ❌ | | ||
|
||
## Building | ||
|
||
- Install CMake | ||
- Install Python | ||
- Ensure CMake and Python are in the user PATH | ||
- Visual Studio: run `build.bat` from the command prompt | ||
- Otherwise: run `build.sh` from a bash shell | ||
- Results are in the build sub-folder | ||
- On Windows you can open i18n_format.sln | ||
|
||
## Documentation | ||
|
||
[Manual]() | ||
|
||
## Contributing | ||
I18n-format welcomes users of different languages to contribute relevant implementations of their own languages. | ||
|
||
## License | ||
|
||
i18n-format is developed by stark233 and I18n-format contributors the MIT license. |