Skip to content

Add Shona (sn) language support#645

Open
atulyaatul1999 wants to merge 2 commits intosavoirfairelinux:masterfrom
atulyaatul1999:feature/add-shona-language-support
Open

Add Shona (sn) language support#645
atulyaatul1999 wants to merge 2 commits intosavoirfairelinux:masterfrom
atulyaatul1999:feature/add-shona-language-support

Conversation

@atulyaatul1999
Copy link
Copy Markdown

Description

Adds support for Shona (chiShona), a Bantu language spoken by ~7 million
people in Zimbabwe where it is an official language.

Changes

  • New lang_SN.py with complete Shona implementation
  • Cardinal numbers (0 to trillions)
  • Ordinal numbers
  • Floating point numbers
  • Currency support (ZWL, USD)
  • Comprehensive test suite (17 tests)
  • Updated __init__.py and README.rst

Testing

All 17 tests pass. Code is PEP8 compliant.

- Add lang_SN.py with full Shona number-to-words implementation
- Support for cardinal numbers (0 to trillions)
- Support for ordinal numbers with Shona suffixes
- Support for floating point numbers
- Support for year conversion
- Currency support for ZWL (Zimbabwe Dollar) and USD
- Register 'sn' language code in __init__.py
- Add Shona to supported languages list in README.rst
- Add comprehensive test suite (17 test cases)

Shona (chiShona) is a Bantu language spoken by ~7 million people
in Zimbabwe where it is an official language.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant