i18ntk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +401 -0
- package/LICENSE +21 -0
- package/README.md +507 -0
- package/dev/README.md +37 -0
- package/dev/debug/README.md +30 -0
- package/dev/debug/complete-console-translations.js +295 -0
- package/dev/debug/console-key-checker.js +408 -0
- package/dev/debug/console-translations.js +335 -0
- package/dev/debug/debugger.js +408 -0
- package/dev/debug/export-missing-keys.js +432 -0
- package/dev/debug/final-normalize.js +236 -0
- package/dev/debug/find-extra-keys.js +68 -0
- package/dev/debug/normalize-locales.js +153 -0
- package/dev/debug/refactor-locales.js +240 -0
- package/dev/debug/reorder-locales.js +85 -0
- package/dev/debug/replace-hardcoded-console.js +378 -0
- package/docs/INSTALLATION.md +449 -0
- package/docs/README.md +222 -0
- package/docs/TODO_ROADMAP.md +279 -0
- package/docs/api/API_REFERENCE.md +377 -0
- package/docs/api/COMPONENTS.md +492 -0
- package/docs/api/CONFIGURATION.md +651 -0
- package/docs/api/NPM_PUBLISHING_GUIDE.md +434 -0
- package/docs/debug/DEBUG_README.md +30 -0
- package/docs/debug/DEBUG_TOOLS.md +494 -0
- package/docs/development/AGENTS.md +351 -0
- package/docs/development/DEVELOPMENT_RULES.md +165 -0
- package/docs/development/DEV_README.md +37 -0
- package/docs/release-notes/RELEASE_NOTES_v1.0.0.md +173 -0
- package/docs/release-notes/RELEASE_NOTES_v1.6.0.md +141 -0
- package/docs/release-notes/RELEASE_NOTES_v1.6.1.md +185 -0
- package/docs/release-notes/RELEASE_NOTES_v1.6.3.md +199 -0
- package/docs/reports/ANALYSIS_README.md +17 -0
- package/docs/reports/CONSOLE_MISMATCH_BUG_REPORT_v1.5.0.md +181 -0
- package/docs/reports/SIZING_README.md +18 -0
- package/docs/reports/SUMMARY_README.md +18 -0
- package/docs/reports/TRANSLATION_BUG_REPORT_v1.5.0.md +129 -0
- package/docs/reports/USAGE_README.md +18 -0
- package/docs/reports/VALIDATION_README.md +18 -0
- package/locales/de/auth.json +3 -0
- package/locales/de/common.json +16 -0
- package/locales/de/pagination.json +6 -0
- package/locales/en/auth.json +3 -0
- package/locales/en/common.json +16 -0
- package/locales/en/pagination.json +6 -0
- package/locales/es/auth.json +3 -0
- package/locales/es/common.json +16 -0
- package/locales/es/pagination.json +6 -0
- package/locales/fr/auth.json +3 -0
- package/locales/fr/common.json +16 -0
- package/locales/fr/pagination.json +6 -0
- package/locales/ru/auth.json +3 -0
- package/locales/ru/common.json +16 -0
- package/locales/ru/pagination.json +6 -0
- package/main/i18ntk-analyze.js +625 -0
- package/main/i18ntk-autorun.js +461 -0
- package/main/i18ntk-complete.js +494 -0
- package/main/i18ntk-init.js +686 -0
- package/main/i18ntk-manage.js +848 -0
- package/main/i18ntk-sizing.js +557 -0
- package/main/i18ntk-summary.js +671 -0
- package/main/i18ntk-usage.js +1282 -0
- package/main/i18ntk-validate.js +762 -0
- package/main/ui-i18n.js +332 -0
- package/package.json +152 -0
- package/scripts/fix-missing-translation-keys.js +214 -0
- package/scripts/verify-package.js +168 -0
- package/ui-locales/de.json +637 -0
- package/ui-locales/en.json +688 -0
- package/ui-locales/es.json +637 -0
- package/ui-locales/fr.json +637 -0
- package/ui-locales/ja.json +637 -0
- package/ui-locales/ru.json +637 -0
- package/ui-locales/zh.json +637 -0
- package/utils/admin-auth.js +317 -0
- package/utils/admin-cli.js +353 -0
- package/utils/admin-pin.js +409 -0
- package/utils/detect-language-mismatches.js +454 -0
- package/utils/i18n-helper.js +128 -0
- package/utils/maintain-language-purity.js +433 -0
- package/utils/native-translations.js +478 -0
- package/utils/security.js +384 -0
- package/utils/test-complete-system.js +356 -0
- package/utils/test-console-i18n.js +402 -0
- package/utils/translate-mismatches.js +571 -0
- package/utils/validate-language-purity.js +531 -0
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
# I18N Management Toolkit - Installation Guide
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.0
|
|
4
|
+
**Release Date:** July 27, 2025
|
|
5
|
+
**Status:** Stable Release - NPM/Yarn Ready
|
|
6
|
+
|
|
7
|
+
## 📦 Installation Options
|
|
8
|
+
|
|
9
|
+
### 🌍 Global Installation (Recommended)
|
|
10
|
+
|
|
11
|
+
Install i18ntk globally to use it across all your projects:
|
|
12
|
+
|
|
13
|
+
#### NPM
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g i18ntk
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### Yarn
|
|
19
|
+
```bash
|
|
20
|
+
yarn global add i18ntk
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
#### Verification
|
|
24
|
+
```bash
|
|
25
|
+
# Verify installation
|
|
26
|
+
i18ntk-manage --version
|
|
27
|
+
|
|
28
|
+
# Or check all available commands
|
|
29
|
+
npm list -g i18ntk
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### 📁 Local Project Installation
|
|
33
|
+
|
|
34
|
+
Install i18ntk as a development dependency in your project:
|
|
35
|
+
|
|
36
|
+
#### NPM
|
|
37
|
+
```bash
|
|
38
|
+
# Install as dev dependency
|
|
39
|
+
npm install i18ntk --save-dev
|
|
40
|
+
|
|
41
|
+
# Or install as regular dependency
|
|
42
|
+
npm install i18ntk
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Yarn
|
|
46
|
+
```bash
|
|
47
|
+
# Install as dev dependency
|
|
48
|
+
yarn add i18ntk --dev
|
|
49
|
+
|
|
50
|
+
# Or install as regular dependency
|
|
51
|
+
yarn add i18ntk
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Using with npx (No Installation)
|
|
55
|
+
```bash
|
|
56
|
+
# Run commands directly without installation
|
|
57
|
+
npx i18ntk-manage
|
|
58
|
+
npx i18ntk-init
|
|
59
|
+
npx i18ntk-analyze
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## 🔧 System Requirements
|
|
63
|
+
|
|
64
|
+
### Minimum Requirements
|
|
65
|
+
- **Node.js:** >=16.0.0
|
|
66
|
+
- **NPM:** >=7.0.0 (or Yarn >=1.22.0)
|
|
67
|
+
- **Operating System:** Windows, macOS, Linux
|
|
68
|
+
- **Memory:** 512MB RAM minimum
|
|
69
|
+
- **Disk Space:** 50MB for installation
|
|
70
|
+
|
|
71
|
+
### Recommended Requirements
|
|
72
|
+
- **Node.js:** >=18.0.0 (LTS)
|
|
73
|
+
- **NPM:** >=8.0.0 (or Yarn >=3.0.0)
|
|
74
|
+
- **Memory:** 1GB RAM for large projects
|
|
75
|
+
- **Disk Space:** 200MB for reports and backups
|
|
76
|
+
|
|
77
|
+
### Compatibility Check
|
|
78
|
+
```bash
|
|
79
|
+
# Check Node.js version
|
|
80
|
+
node --version
|
|
81
|
+
|
|
82
|
+
# Check NPM version
|
|
83
|
+
npm --version
|
|
84
|
+
|
|
85
|
+
# Check Yarn version (if using Yarn)
|
|
86
|
+
yarn --version
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## 🚀 Quick Setup
|
|
90
|
+
|
|
91
|
+
### 1. Install i18ntk
|
|
92
|
+
```bash
|
|
93
|
+
# Global installation (recommended)
|
|
94
|
+
npm install -g i18ntk
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 2. Initialize Your Project
|
|
98
|
+
```bash
|
|
99
|
+
# Navigate to your project directory
|
|
100
|
+
cd your-project
|
|
101
|
+
|
|
102
|
+
# Initialize i18n structure
|
|
103
|
+
i18ntk-init
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### 3. Configure Your Project
|
|
107
|
+
```bash
|
|
108
|
+
# Run the main management interface
|
|
109
|
+
i18ntk-manage
|
|
110
|
+
|
|
111
|
+
# Or use automated setup
|
|
112
|
+
i18ntk-autorun
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### 4. Verify Installation
|
|
116
|
+
```bash
|
|
117
|
+
# Run tests to verify everything works
|
|
118
|
+
npm test
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## 🏗️ Framework-Specific Setup
|
|
122
|
+
|
|
123
|
+
### React with react-i18next
|
|
124
|
+
|
|
125
|
+
#### 1. Install Dependencies
|
|
126
|
+
```bash
|
|
127
|
+
npm install react-i18next i18next
|
|
128
|
+
# or
|
|
129
|
+
yarn add react-i18next i18next
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
#### 2. Install i18ntk
|
|
133
|
+
```bash
|
|
134
|
+
npm install -g i18ntk
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
#### 3. Initialize
|
|
138
|
+
```bash
|
|
139
|
+
i18ntk-init --framework react-i18next
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
#### 4. Project Structure
|
|
143
|
+
```
|
|
144
|
+
your-react-project/
|
|
145
|
+
├── src/
|
|
146
|
+
│ ├── components/
|
|
147
|
+
│ ├── pages/
|
|
148
|
+
│ └── i18n/ # i18n configuration
|
|
149
|
+
├── public/
|
|
150
|
+
│ └── locales/ # Translation files
|
|
151
|
+
│ ├── en/
|
|
152
|
+
│ ├── es/
|
|
153
|
+
│ └── fr/
|
|
154
|
+
└── package.json
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Vue with vue-i18n
|
|
158
|
+
|
|
159
|
+
#### 1. Install Dependencies
|
|
160
|
+
```bash
|
|
161
|
+
npm install vue-i18n
|
|
162
|
+
# or
|
|
163
|
+
yarn add vue-i18n
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
#### 2. Install i18ntk
|
|
167
|
+
```bash
|
|
168
|
+
npm install -g i18ntk
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
#### 3. Initialize
|
|
172
|
+
```bash
|
|
173
|
+
i18ntk-init --framework vue-i18n
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Angular with Angular i18n
|
|
177
|
+
|
|
178
|
+
#### 1. Install Dependencies
|
|
179
|
+
```bash
|
|
180
|
+
ng add @angular/localize
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
#### 2. Install i18ntk
|
|
184
|
+
```bash
|
|
185
|
+
npm install -g i18ntk
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
#### 3. Initialize
|
|
189
|
+
```bash
|
|
190
|
+
i18ntk-init --framework angular-i18n
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Next.js with next-i18next
|
|
194
|
+
|
|
195
|
+
#### 1. Install Dependencies
|
|
196
|
+
```bash
|
|
197
|
+
npm install next-i18next react-i18next i18next
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
#### 2. Install i18ntk
|
|
201
|
+
```bash
|
|
202
|
+
npm install -g i18ntk
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
#### 3. Initialize
|
|
206
|
+
```bash
|
|
207
|
+
i18ntk-init --framework next-i18next
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## ⚙️ Configuration
|
|
211
|
+
|
|
212
|
+
### Automatic Configuration
|
|
213
|
+
When you run `i18ntk-init`, it automatically creates:
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
your-project/
|
|
217
|
+
├── user-config.json # User preferences
|
|
218
|
+
├── admin-config.json # Admin settings (if needed)
|
|
219
|
+
├── locales/ # Translation files
|
|
220
|
+
│ ├── en/
|
|
221
|
+
│ ├── es/
|
|
222
|
+
│ └── fr/
|
|
223
|
+
└── i18ntk-reports/ # Generated reports
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Manual Configuration
|
|
227
|
+
If you prefer manual setup, create `user-config.json`:
|
|
228
|
+
|
|
229
|
+
```json
|
|
230
|
+
{
|
|
231
|
+
"version": "1.0.0",
|
|
232
|
+
"project": {
|
|
233
|
+
"name": "Your Project Name",
|
|
234
|
+
"framework": "react-i18next"
|
|
235
|
+
},
|
|
236
|
+
"directories": {
|
|
237
|
+
"source": "./src",
|
|
238
|
+
"locales": "./public/locales"
|
|
239
|
+
},
|
|
240
|
+
"languages": {
|
|
241
|
+
"default": "en",
|
|
242
|
+
"supported": ["en", "es", "fr", "de"]
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## 🔍 Verification & Testing
|
|
248
|
+
|
|
249
|
+
### Basic Verification
|
|
250
|
+
```bash
|
|
251
|
+
# Check if i18ntk is installed correctly
|
|
252
|
+
i18ntk-manage --help
|
|
253
|
+
|
|
254
|
+
# Run a quick analysis
|
|
255
|
+
i18ntk-analyze
|
|
256
|
+
|
|
257
|
+
# Validate your setup
|
|
258
|
+
i18ntk-validate
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### Comprehensive Testing
|
|
262
|
+
```bash
|
|
263
|
+
# Run the full test suite
|
|
264
|
+
npm test
|
|
265
|
+
|
|
266
|
+
# Expected output:
|
|
267
|
+
# ✅ Passed: 25/25 (100%)
|
|
268
|
+
# ❌ Failed: 0/25 (0%)
|
|
269
|
+
# ⚠️ Warnings: 0
|
|
270
|
+
# 📊 Overall Status: 🟢 READY
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Test Individual Components
|
|
274
|
+
```bash
|
|
275
|
+
# Test translation loading
|
|
276
|
+
i18ntk-analyze --detailed
|
|
277
|
+
|
|
278
|
+
# Test validation
|
|
279
|
+
i18ntk-validate --strict
|
|
280
|
+
|
|
281
|
+
# Test usage analysis
|
|
282
|
+
i18ntk-usage --unused
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
## 🛠️ Available Commands
|
|
286
|
+
|
|
287
|
+
After installation, these commands are available:
|
|
288
|
+
|
|
289
|
+
### Core Commands
|
|
290
|
+
```bash
|
|
291
|
+
i18ntk-manage # Main management interface
|
|
292
|
+
i18ntk-init # Initialize i18n setup
|
|
293
|
+
i18ntk-analyze # Analyze translations
|
|
294
|
+
i18ntk-validate # Validate translation files
|
|
295
|
+
i18ntk-usage # Check translation usage
|
|
296
|
+
i18ntk-complete # Complete missing translations
|
|
297
|
+
i18ntk-sizing # Analyze file sizes
|
|
298
|
+
i18ntk-summary # Generate summary reports
|
|
299
|
+
i18ntk-autorun # Run automated workflow
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### NPM Scripts (if installed locally)
|
|
303
|
+
```bash
|
|
304
|
+
npm run i18ntk # Main interface
|
|
305
|
+
npm run i18ntk:init # Initialize
|
|
306
|
+
npm run i18ntk:analyze # Analyze
|
|
307
|
+
npm run i18ntk:validate # Validate
|
|
308
|
+
npm run i18ntk:autorun # Automated workflow
|
|
309
|
+
npm test # Run tests
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## 🚨 Troubleshooting
|
|
313
|
+
|
|
314
|
+
### Common Installation Issues
|
|
315
|
+
|
|
316
|
+
#### Permission Errors (Global Installation)
|
|
317
|
+
```bash
|
|
318
|
+
# On macOS/Linux, use sudo if needed
|
|
319
|
+
sudo npm install -g i18ntk
|
|
320
|
+
|
|
321
|
+
# Or configure npm to use a different directory
|
|
322
|
+
npm config set prefix ~/.npm-global
|
|
323
|
+
export PATH=~/.npm-global/bin:$PATH
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
#### Node.js Version Issues
|
|
327
|
+
```bash
|
|
328
|
+
# Check your Node.js version
|
|
329
|
+
node --version
|
|
330
|
+
|
|
331
|
+
# If too old, update Node.js
|
|
332
|
+
# Visit: https://nodejs.org/
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
#### NPM Cache Issues
|
|
336
|
+
```bash
|
|
337
|
+
# Clear npm cache
|
|
338
|
+
npm cache clean --force
|
|
339
|
+
|
|
340
|
+
# Reinstall
|
|
341
|
+
npm install -g i18ntk
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
#### Yarn Issues
|
|
345
|
+
```bash
|
|
346
|
+
# Clear yarn cache
|
|
347
|
+
yarn cache clean
|
|
348
|
+
|
|
349
|
+
# Reinstall
|
|
350
|
+
yarn global add i18ntk
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
### Command Not Found
|
|
354
|
+
|
|
355
|
+
If `i18ntk-manage` command is not found after installation:
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
# Check if it's in your PATH
|
|
359
|
+
which i18ntk-manage
|
|
360
|
+
|
|
361
|
+
# If not found, check npm global bin directory
|
|
362
|
+
npm config get prefix
|
|
363
|
+
|
|
364
|
+
# Add to your PATH (add to ~/.bashrc or ~/.zshrc)
|
|
365
|
+
export PATH="$(npm config get prefix)/bin:$PATH"
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Windows-Specific Issues
|
|
369
|
+
|
|
370
|
+
#### PowerShell Execution Policy
|
|
371
|
+
```powershell
|
|
372
|
+
# Check current policy
|
|
373
|
+
Get-ExecutionPolicy
|
|
374
|
+
|
|
375
|
+
# If restricted, set to RemoteSigned
|
|
376
|
+
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
#### Path Issues
|
|
380
|
+
```cmd
|
|
381
|
+
# Check if npm global directory is in PATH
|
|
382
|
+
echo %PATH%
|
|
383
|
+
|
|
384
|
+
# Add npm global directory to PATH if missing
|
|
385
|
+
# Usually: C:\Users\YourName\AppData\Roaming\npm
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
## 🔄 Updating
|
|
389
|
+
|
|
390
|
+
### Update to Latest Version
|
|
391
|
+
```bash
|
|
392
|
+
# Global update
|
|
393
|
+
npm update -g i18ntk
|
|
394
|
+
|
|
395
|
+
# Or with Yarn
|
|
396
|
+
yarn global upgrade i18ntk
|
|
397
|
+
|
|
398
|
+
# Local update
|
|
399
|
+
npm update i18ntk
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
### Check Current Version
|
|
403
|
+
```bash
|
|
404
|
+
# Check installed version
|
|
405
|
+
i18ntk-manage --version
|
|
406
|
+
|
|
407
|
+
# Check latest available version
|
|
408
|
+
npm view i18ntk version
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### Migration Between Versions
|
|
412
|
+
Version 1.0.0 is the first stable release. Previous 0.x.x-dev versions can be upgraded seamlessly.
|
|
413
|
+
|
|
414
|
+
## 🆘 Getting Help
|
|
415
|
+
|
|
416
|
+
### Documentation
|
|
417
|
+
- **[Main Documentation](./README.md)** - Complete guide
|
|
418
|
+
- **[API Reference](./docs/api/API_REFERENCE.md)** - All commands
|
|
419
|
+
- **[Configuration Guide](./docs/api/CONFIGURATION.md)** - Setup options
|
|
420
|
+
- **[Debug Tools](./docs/debug/DEBUG_TOOLS.md)** - Troubleshooting
|
|
421
|
+
|
|
422
|
+
### Community Support
|
|
423
|
+
- **[GitHub Issues](https://github.com/vladnoskv/i18n-management-toolkit/issues)** - Bug reports
|
|
424
|
+
- **[GitHub Discussions](https://github.com/vladnoskv/i18n-management-toolkit/discussions)** - Questions
|
|
425
|
+
- **[Email Support](mailto:vladnoskv@gmail.com)** - Direct contact
|
|
426
|
+
|
|
427
|
+
### Professional Support
|
|
428
|
+
For enterprise installations, custom configurations, or consulting services, contact the maintainer directly.
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## ✅ Installation Checklist
|
|
433
|
+
|
|
434
|
+
- [ ] Node.js >=16.0.0 installed
|
|
435
|
+
- [ ] NPM >=7.0.0 or Yarn >=1.22.0 installed
|
|
436
|
+
- [ ] i18ntk installed globally or locally
|
|
437
|
+
- [ ] Project initialized with `i18ntk-init`
|
|
438
|
+
- [ ] Configuration files created
|
|
439
|
+
- [ ] Commands working (`i18ntk-manage --help`)
|
|
440
|
+
- [ ] Tests passing (`npm test`)
|
|
441
|
+
- [ ] Framework dependencies installed (if applicable)
|
|
442
|
+
- [ ] Translation files structure created
|
|
443
|
+
- [ ] First analysis completed (`i18ntk-analyze`)
|
|
444
|
+
|
|
445
|
+
**Congratulations!** 🎉 You're ready to start managing your internationalization with i18ntk!
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
**Need help?** Don't hesitate to reach out through our [support channels](#-getting-help).
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
# I18N Management Toolkit - Documentation Hub
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.0
|
|
4
|
+
**Last Updated:** July 27, 2025
|
|
5
|
+
**Maintainer:** Vladimir Noskov
|
|
6
|
+
|
|
7
|
+
## 📚 Welcome to the Documentation Hub
|
|
8
|
+
|
|
9
|
+
This is your central hub for all I18N Management Toolkit documentation. Whether you're just getting started or looking for advanced configuration options, you'll find everything you need here.
|
|
10
|
+
|
|
11
|
+
## 🚀 Quick Start
|
|
12
|
+
|
|
13
|
+
### New to i18ntk?
|
|
14
|
+
Start with these essential documents:
|
|
15
|
+
|
|
16
|
+
1. **[Main README](../README.md)** - Overview, installation, and quick start guide
|
|
17
|
+
2. **[Release Notes v1.0.0](../RELEASE_NOTES_v1.0.0.md)** - First stable release features
|
|
18
|
+
3. **[API Reference](./api/API_REFERENCE.md)** - Complete command and API documentation
|
|
19
|
+
4. **[Configuration Guide](./api/CONFIGURATION.md)** - Detailed configuration options
|
|
20
|
+
|
|
21
|
+
### Already using i18ntk?
|
|
22
|
+
Check out the latest updates:
|
|
23
|
+
|
|
24
|
+
- **[Changelog](../CHANGELOG.md)** - Version history and changes
|
|
25
|
+
- **[Debug Tools](./debug/DEBUG_TOOLS.md)** - Advanced debugging capabilities
|
|
26
|
+
- **[Development Guide](./development/DEV_README.md)** - Contributing and development setup
|
|
27
|
+
|
|
28
|
+
## 📖 Documentation Structure
|
|
29
|
+
|
|
30
|
+
### 🔧 API & Configuration
|
|
31
|
+
```
|
|
32
|
+
docs/api/
|
|
33
|
+
├── API_REFERENCE.md # Complete CLI and programmatic API
|
|
34
|
+
├── COMPONENTS.md # Component architecture
|
|
35
|
+
└── CONFIGURATION.md # Configuration options and examples
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Key Topics:**
|
|
39
|
+
- Command-line interface (CLI) commands
|
|
40
|
+
- Programmatic API usage
|
|
41
|
+
- Configuration files and environment variables
|
|
42
|
+
- Framework-specific setup (React, Vue, Angular)
|
|
43
|
+
|
|
44
|
+
### 🐛 Debug & Development
|
|
45
|
+
```
|
|
46
|
+
docs/debug/
|
|
47
|
+
├── DEBUG_README.md # Debug tools overview
|
|
48
|
+
└── DEBUG_TOOLS.md # Comprehensive debugging guide
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**Key Topics:**
|
|
52
|
+
- Debugging translation issues
|
|
53
|
+
- Performance analysis
|
|
54
|
+
- Error diagnosis and resolution
|
|
55
|
+
- Development tools and utilities
|
|
56
|
+
|
|
57
|
+
### 👨💻 Development & Contributing
|
|
58
|
+
```
|
|
59
|
+
docs/development/
|
|
60
|
+
├── AGENTS.md # AI agent development guidelines
|
|
61
|
+
├── DEVELOPMENT_RULES.md # Development standards and rules
|
|
62
|
+
└── DEV_README.md # Development setup and contributing
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Key Topics:**
|
|
66
|
+
- Setting up development environment
|
|
67
|
+
- Contributing guidelines
|
|
68
|
+
- Code standards and best practices
|
|
69
|
+
- AI agent development
|
|
70
|
+
|
|
71
|
+
### 📊 Reports & Analysis
|
|
72
|
+
```
|
|
73
|
+
docs/reports/
|
|
74
|
+
├── ANALYSIS_README.md # Translation analysis reports
|
|
75
|
+
├── SIZING_README.md # File sizing analysis
|
|
76
|
+
├── SUMMARY_README.md # Project summary reports
|
|
77
|
+
├── USAGE_README.md # Translation usage analysis
|
|
78
|
+
├── VALIDATION_README.md # Validation reports
|
|
79
|
+
├── CONSOLE_MISMATCH_BUG_REPORT_v1.5.0.md
|
|
80
|
+
└── TRANSLATION_BUG_REPORT_v1.5.0.md
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Key Topics:**
|
|
84
|
+
- Understanding analysis reports
|
|
85
|
+
- Interpreting validation results
|
|
86
|
+
- Sizing and performance metrics
|
|
87
|
+
- Bug reports and known issues
|
|
88
|
+
|
|
89
|
+
## 🎯 Common Use Cases
|
|
90
|
+
|
|
91
|
+
### 🆕 Setting Up a New Project
|
|
92
|
+
1. **[Installation Guide](../README.md#-installation)** - Install i18ntk globally or locally
|
|
93
|
+
2. **[Initialization](./api/API_REFERENCE.md#npm-run-i18ntkinit)** - Set up i18n structure
|
|
94
|
+
3. **[Configuration](./api/CONFIGURATION.md#primary-configuration-files)** - Configure for your framework
|
|
95
|
+
4. **[First Analysis](./api/API_REFERENCE.md#npm-run-i18ntkanalyze)** - Analyze your translations
|
|
96
|
+
|
|
97
|
+
### 🔍 Analyzing Existing Projects
|
|
98
|
+
1. **[Usage Analysis](./api/API_REFERENCE.md#npm-run-i18ntkusage)** - Find unused/missing keys
|
|
99
|
+
2. **[Validation](./api/API_REFERENCE.md#npm-run-i18ntkvalidate)** - Check translation quality
|
|
100
|
+
3. **[Sizing Analysis](./api/API_REFERENCE.md#npm-run-i18ntksizing)** - Analyze file sizes
|
|
101
|
+
4. **[Summary Reports](./api/API_REFERENCE.md#npm-run-i18ntksummary)** - Generate comprehensive reports
|
|
102
|
+
|
|
103
|
+
### 🛠️ Maintaining Translations
|
|
104
|
+
1. **[Automated Workflow](./api/API_REFERENCE.md#npm-run-i18ntkautorun)** - Run complete maintenance
|
|
105
|
+
2. **[Completing Translations](./api/API_REFERENCE.md#npm-run-i18ntkcomplete)** - Fill missing keys
|
|
106
|
+
3. **[Debug Tools](./debug/DEBUG_TOOLS.md)** - Troubleshoot issues
|
|
107
|
+
4. **[Quality Assurance](../README.md#-quality-assurance)** - Ensure 100% coverage
|
|
108
|
+
|
|
109
|
+
### 🚀 Production Deployment
|
|
110
|
+
1. **[Final Validation](./api/API_REFERENCE.md#npm-run-i18ntkvalidate)** - Pre-deployment checks
|
|
111
|
+
2. **[Performance Analysis](./api/API_REFERENCE.md#npm-run-i18ntksizing)** - Optimize bundle size
|
|
112
|
+
3. **[Testing](../README.md#-testing)** - Run comprehensive tests
|
|
113
|
+
4. **[Documentation](./api/CONFIGURATION.md)** - Document your setup
|
|
114
|
+
|
|
115
|
+
## 🌍 Language Support
|
|
116
|
+
|
|
117
|
+
### Supported Languages
|
|
118
|
+
- 🇺🇸 **English (en)** - Default language
|
|
119
|
+
- 🇩🇪 **German (de)** - Deutsch
|
|
120
|
+
- 🇪🇸 **Spanish (es)** - Español
|
|
121
|
+
- 🇫🇷 **French (fr)** - Français
|
|
122
|
+
- 🇯🇵 **Japanese (ja)** - 日本語
|
|
123
|
+
- 🇷🇺 **Russian (ru)** - Русский
|
|
124
|
+
- 🇨🇳 **Chinese (zh)** - 中文
|
|
125
|
+
|
|
126
|
+
### Translation Coverage
|
|
127
|
+
All languages maintain **100% translation coverage** with **573/573 keys** translated.
|
|
128
|
+
|
|
129
|
+
## 🔧 Framework Integration
|
|
130
|
+
|
|
131
|
+
### React i18next
|
|
132
|
+
- **[Setup Guide](./api/CONFIGURATION.md#react-i18next-configuration)**
|
|
133
|
+
- **[Best Practices](./api/API_REFERENCE.md#react-i18next-configuration)**
|
|
134
|
+
- **[Common Issues](./debug/DEBUG_TOOLS.md)**
|
|
135
|
+
|
|
136
|
+
### Vue i18n
|
|
137
|
+
- **[Configuration](./api/CONFIGURATION.md#framework-specific-configuration)**
|
|
138
|
+
- **[Integration Examples](./api/API_REFERENCE.md)**
|
|
139
|
+
|
|
140
|
+
### Angular i18n
|
|
141
|
+
- **[Setup Instructions](./api/CONFIGURATION.md)**
|
|
142
|
+
- **[Migration Guide](./api/API_REFERENCE.md)**
|
|
143
|
+
|
|
144
|
+
## 📊 Quality Assurance
|
|
145
|
+
|
|
146
|
+
### Current Status (v1.0.0)
|
|
147
|
+
```
|
|
148
|
+
✅ Tests Passing: 25/25 (100%)
|
|
149
|
+
✅ Translation Coverage: 573/573 keys (100%)
|
|
150
|
+
✅ Extra Keys: 0 (cleaned up)
|
|
151
|
+
✅ Dynamic Translations: Verified
|
|
152
|
+
📊 Overall Status: 🟢 READY
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Quality Metrics
|
|
156
|
+
- **Zero missing translation keys** across all languages
|
|
157
|
+
- **Zero extra keys** - production-ready quality
|
|
158
|
+
- **100% test coverage** with comprehensive validation
|
|
159
|
+
- **Dynamic translation patterns** verified and working
|
|
160
|
+
|
|
161
|
+
## 🆘 Getting Help
|
|
162
|
+
|
|
163
|
+
### Quick Solutions
|
|
164
|
+
1. **[FAQ Section](./debug/DEBUG_TOOLS.md)** - Common questions and answers
|
|
165
|
+
2. **[Error Messages](./debug/DEBUG_README.md)** - Understanding error messages
|
|
166
|
+
3. **[Troubleshooting](./debug/DEBUG_TOOLS.md)** - Step-by-step problem solving
|
|
167
|
+
|
|
168
|
+
### Community Support
|
|
169
|
+
- **[GitHub Issues](https://github.com/vladnoskv/i18n-management-toolkit/issues)** - Bug reports and feature requests
|
|
170
|
+
- **[GitHub Discussions](https://github.com/vladnoskv/i18n-management-toolkit/discussions)** - Community discussions
|
|
171
|
+
- **[Email Support](mailto:vladnoskv@gmail.com)** - Direct contact with maintainer
|
|
172
|
+
|
|
173
|
+
### Professional Support
|
|
174
|
+
For enterprise support, custom integrations, or consulting services, please contact the maintainer directly.
|
|
175
|
+
|
|
176
|
+
## 🔄 Version History
|
|
177
|
+
|
|
178
|
+
### Recent Releases
|
|
179
|
+
- **[v1.0.0](../RELEASE_NOTES_v1.0.0.md)** - First Stable Release (Current)
|
|
180
|
+
- **[v1.6.2](../CHANGELOG.md#162---2024-07-27)** - Translation Fixes
|
|
181
|
+
- **[v1.6.1](../CHANGELOG.md#161---2025-07-26)** - Translation Completeness
|
|
182
|
+
- **[v1.6.0](../CHANGELOG.md#160---2025-07-28---public-release-ready)** - Public Release Ready
|
|
183
|
+
|
|
184
|
+
### Migration Guides
|
|
185
|
+
- **[Upgrading to v1.0.0](../RELEASE_NOTES_v1.0.0.md#-migration-guide)** - Seamless upgrade from dev versions
|
|
186
|
+
- **[Version Compatibility](../RELEASE_NOTES_v1.0.0.md#compatibility)** - Production-ready stability
|
|
187
|
+
|
|
188
|
+
## 🚀 What's Next
|
|
189
|
+
|
|
190
|
+
### Upcoming Features (v1.7.0)
|
|
191
|
+
- Enhanced debugging capabilities
|
|
192
|
+
- Advanced reporting features
|
|
193
|
+
- Performance optimizations
|
|
194
|
+
- Additional language support
|
|
195
|
+
- UI-Locales structure refactoring
|
|
196
|
+
|
|
197
|
+
### Long-term Roadmap
|
|
198
|
+
- Multi-language object format for translation keys
|
|
199
|
+
- Enhanced AI-powered translation features
|
|
200
|
+
- Advanced analytics and insights
|
|
201
|
+
- Plugin system for custom extensions
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## 📝 Documentation Maintenance
|
|
206
|
+
|
|
207
|
+
**Last Updated:** July 27, 2025
|
|
208
|
+
**Next Review:** August 27, 2025
|
|
209
|
+
**Maintainer:** Vladimir Noskov
|
|
210
|
+
|
|
211
|
+
### Contributing to Documentation
|
|
212
|
+
We welcome contributions to improve our documentation! Please see our [Development Guide](./development/DEV_README.md) for guidelines on contributing.
|
|
213
|
+
|
|
214
|
+
### Documentation Standards
|
|
215
|
+
- All documentation follows Markdown best practices
|
|
216
|
+
- Version numbers are updated with each release
|
|
217
|
+
- Examples are tested and verified
|
|
218
|
+
- Links are checked for accuracy
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
**Happy internationalizing!** 🌍✨
|