drawdb-io / drawdb-io/drawdb

[FEATURE] Add Latin Language Support

Open
#763 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39.5k
Forks
3.2k
Avg merge
10h 46m
Merged PRs (30d)
16

Description

# [FEATURE] Add Latin (Latina) Language Support

## 📖 Description

I would like to propose adding **Latin (Latina)** language support to DrawDB.
This enhancement expands DrawDB’s internationalization capabilities and supports Latin learners, educators, historians, and enthusiasts of classical languages.

## 🎯 Motivation

- **Educational relevance**: Latin is widely taught in schools and universities around the world.
- **Historical value**: Many modern technical and scientific terms originate from Latin; supporting it aligns with DrawDB’s linguistic diversity.
- **Cultural preservation**: Adding classical languages encourages accessibility and cultural inclusion in modern tools.
- **Consistency**: DrawDB already supports 50+ languages; adding Latin continues this tradition of comprehensive language support.

## 🛠️ Proposed Implementation

A complete, high-quality Latin translation has already been prepared following DrawDB’s i18n structure.

### ✔️ 1. New Locale File

**File:** `src/i18n/locales/la.js`

- Language code: `la`
- Native name: **Latina**
- Includes translations for all 285+ UI strings.

### ✔️ 2. Updated i18n Configuration

- Added Latin import in `src/i18n/i18n.js`
- Registered Latin in the `languages` array
- Added `la` to the i18n `resources` object

## 🧠 Translation Methodology

- Used **Classical Latin vocabulary** wherever possible
- Created **Latin-based neologisms** for modern technical terms (e.g., *basis datorum* = database)
- Ensured **grammatical correctness** and **consistent terminology** across the entire UI
- Followed translation patterns used in the existing languages

## 📌 Sample Translations

| English | Latin |
|---------------|------------------|
| New | Novum |
| Save | Servare |
| Delete | Delere |
| Table | Tabula |
| Relationship | Relatio |
| Primary Key | Clavis primaria |
| Database | Basis datorum |

## ✅ Testing Completed

- All translation keys implemented
- Verified in the development server
- No ESLint/Prettier issues
- No missing or duplicate keys
- Latin appears correctly in the language selector
- Build executes without errors

## 📤 Pull Request

I am ready to submit a pull request containing the above changes.
Happy to make revisions based on any feedback from the maintainers.

## 🏷️ Suggested Labels

`enhancement` · `i18n` · `localization`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.