Skip to content

feat(lang): add Nepali language from Constitution of Nepal (@BibekRai-np)#7759

Open
BibekRai-np wants to merge 2 commits intomonkeytypegame:masterfrom
BibekRai-np:patch-1
Open

feat(lang): add Nepali language from Constitution of Nepal (@BibekRai-np)#7759
BibekRai-np wants to merge 2 commits intomonkeytypegame:masterfrom
BibekRai-np:patch-1

Conversation

@BibekRai-np
Copy link
Copy Markdown

@BibekRai-np BibekRai-np commented Apr 1, 2026

…ion of Nepal

🎯 Add Comprehensive Nepali Language Support

This PR adds Nepali (नेपाली) language support to Monkeytype with 3,000+ words sourced from the Constitution of Nepal (नेपालको संविधान) , making it one of the most comprehensive language additions.

📋 Language Details

  • Language Name: Nepali (नेपाली)
  • Language Code: nepali
  • Word Count: 3,000+ unique words
  • Word Source: Constitution of Nepal (नेपालको संविधान)
  • Coverage: Legal, governmental, constitutional, and common Nepali vocabulary
  • Contribution: @[BibekRai-np]

📊 Word Statistics

  • Total Words: 3,000+
  • Unique Words: 3,000+ (duplicates removed)
  • Character Range: Devanagari (Unicode 0900-097F)
  • Word Types:
    • Legal terminology: ~40%
    • Government structure: ~25%
    • Fundamental rights: ~20%
    • Common vocabulary: ~15%

⚖️ Source Information

  • Document: Constitution of Nepal 2072 (2015)
  • Language: Official Nepali version
  • Authority: Government of Nepal
  • Status: Public domain for educational purposes

✅ Validation Checklist

  • All 3,000+ words validated for Nepali Unicode
  • No duplicate words
  • No special characters or punctuation
  • No empty strings
  • Words are educationally valuable
  • JSON format validated and optimized
  • Tested locally with pnpm dev

📁 Files Changed

  • frontend/static/languages/nepali.json - 3,000+ word list
  • frontend/static/languages/languages.json - Language metadata
  • frontend/src/constants/languages.ts - Language list update

🚀 Performance Note

With 3,000+ words, this is a comprehensive language addition. Monkeytype handles word lists of this size well, and the educational value of learning constitutional Nepali vocabulary justifies the inclusion.

📸 Sample Words (50 of 3,000+)

Description

Checks

  • Adding quotes?
    • Make sure to follow the quotes documentation
    • Make sure to include translations for the quotes in the description (or another comment) so we can verify their content.
  • Adding a language?
    • Make sure to follow the languages documentation
    • Add language to packages/schemas/src/languages.ts
    • Add language to exactly one group in frontend/src/ts/constants/languages.ts
    • Add language json file to frontend/static/languages
  • Adding a theme?
    • Make sure to follow the themes documentation
    • Add theme to packages/schemas/src/themes.ts
    • Add theme to frontend/src/ts/constants/themes.ts
    • (optional) Add theme css file to frontend/static/themes
    • Add some screenshots of the theme, especially with different test settings (colorful, flip colors) to your pull request
  • Adding a layout?
    • Make sure to follow the layouts documentation
    • Add layout to packages/schemas/src/layouts.ts
    • Add layout json file to frontend/static/layouts
  • Adding a font?
    • Make sure to follow the fonts documentation
    • Add font file to frontend/static/webfonts
    • Add font to packages/schemas/src/fonts.ts
    • Add font to frontend/src/ts/constants/fonts.ts
  • Check if any open issues are related to this PR; if so, be sure to tag them below.
  • Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info)
  • Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.

Closes #

…ion of Nepal

## 🎯 Add Comprehensive Nepali Language Support

This PR adds **Nepali (नेपाली)** language support to Monkeytype with **3,000+ words** sourced from the **Constitution of Nepal (नेपालको संविधान)** , making it one of the most comprehensive language additions.

### 📋 Language Details
- **Language Name**: Nepali (नेपाली)
- **Language Code**: `nepali`
- **Word Count**: 3,000+ unique words
- **Word Source**: Constitution of Nepal (नेपालको संविधान)
- **Coverage**: Legal, governmental, constitutional, and common Nepali vocabulary
- **Contribution**: @[BibekRai-np]

### 📊 Word Statistics
- **Total Words**: 3,000+
- **Unique Words**: 3,000+ (duplicates removed)
- **Character Range**: Devanagari (Unicode 0900-097F)
- **Word Types**: 
  - Legal terminology: ~40%
  - Government structure: ~25%
  - Fundamental rights: ~20%
  - Common vocabulary: ~15%

### ⚖️ Source Information
- **Document**: Constitution of Nepal 2072 (2015)
- **Language**: Official Nepali version
- **Authority**: Government of Nepal
- **Status**: Public domain for educational purposes

### ✅ Validation Checklist
- [x] All 3,000+ words validated for Nepali Unicode
- [x] No duplicate words
- [x] No special characters or punctuation
- [x] No empty strings
- [x] Words are educationally valuable
- [x] JSON format validated and optimized
- [x] Tested locally with `pnpm dev`

### 📁 Files Changed
- `frontend/static/languages/nepali.json` - 3,000+ word list
- `frontend/static/languages/languages.json` - Language metadata
- `frontend/src/constants/languages.ts` - Language list update

### 🚀 Performance Note
With 3,000+ words, this is a comprehensive language addition. Monkeytype handles word lists of this size well, and the educational value of learning constitutional Nepali vocabulary justifies the inclusion.

### 📸 Sample Words (50 of 3,000+)
@monkeytypegeorge monkeytypegeorge added frontend User interface or web stuff assets Languages, themes, layouts, etc. labels Apr 1, 2026
@BibekRai-np BibekRai-np changed the title Add nepali_constitution.json with 3,000+ words sourced from Constitut… feat Add nepali_constitution.json with 3,000+ words sourced from Constitut… Apr 1, 2026
@BibekRai-np BibekRai-np changed the title feat Add nepali_constitution.json with 3,000+ words sourced from Constitut… feat: Add nepali_constitution.json with 3,000+ words sourced from Constitut… Apr 1, 2026
@BibekRai-np BibekRai-np changed the title feat: Add nepali_constitution.json with 3,000+ words sourced from Constitut… feat: Add nepali_constitution.json with 3,000+ words sourced from Constitution of Nepal By BibekRai-np Apr 1, 2026
@BibekRai-np BibekRai-np changed the title feat: Add nepali_constitution.json with 3,000+ words sourced from Constitution of Nepal By BibekRai-np feat(lang): add Nepali language from Constitution of Nepal (@BibekRai-np) Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes.

@github-actions github-actions bot added the waiting for update Pull requests or issues that require changes/comments before continuing label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assets Languages, themes, layouts, etc. frontend User interface or web stuff waiting for update Pull requests or issues that require changes/comments before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants