i18ntk 1.5.0 โ 1.5.2
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 +43 -14
- package/LICENSE +2 -2
- package/README.md +119 -966
- package/package.json +22 -10
- package/settings/settings-cli.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the i18n Management Toolkit will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
**Version:** 1.5.2
|
|
6
|
+
**Last Updated:** 2025-08-06
|
|
7
|
+
**GitHub Repository:** [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk)
|
|
8
|
+
|
|
9
|
+
## [1.5.2] - 2025-08-06
|
|
10
|
+
|
|
11
|
+
### ๐ Added
|
|
12
|
+
- **Package size optimization** - Further reduced from 536kB to under 499kB (unpacked)
|
|
13
|
+
- **Updated documentation** - More up-to-date and clear instructions
|
|
14
|
+
- **Enhanced examples** - Added detailed use cases and examples throughout documentation
|
|
15
|
+
- **GitHub URL updates** - Changed all GitHub URLs to `https://github.com/vladnoskv/i18ntk`
|
|
16
|
+
- **No core functionality changes** - This is a documentation and optimization update.
|
|
17
|
+
|
|
18
|
+
### ๐ง Changed
|
|
19
|
+
- **Documentation clarity** - Improved instructions and examples across all documentation
|
|
20
|
+
- **URL standardization** - Consistent GitHub repository links throughout
|
|
21
|
+
- **README.md** - Updated to reflect v1.5.2 and enhanced documentation
|
|
22
|
+
|
|
23
|
+
### ๐ Documentation
|
|
24
|
+
- **Comprehensive examples** - Added more detailed use cases and scenarios
|
|
25
|
+
- **Bug reporting** - Updated GitHub URLs for issue tracking
|
|
26
|
+
- **Setup guides** - Enhanced clarity with better examples
|
|
27
|
+
- **Integration documentation** - Improved framework integration examples
|
|
28
|
+
|
|
29
|
+
## [1.5.1] - 2025-08-06
|
|
30
|
+
|
|
31
|
+
### ๐ Added
|
|
32
|
+
- **Framework clarification documentation** - Explicitly states that frameworks are optional
|
|
33
|
+
- **Streamlined README** - Concise overview with detailed documentation links
|
|
34
|
+
- **Updated GitHub URL** - New repository location at [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk)
|
|
35
|
+
- **Enhanced compatibility documentation** - Clear guidance for framework vs. framework-free usage
|
|
36
|
+
|
|
37
|
+
### ๐ง Changed
|
|
38
|
+
- **Documentation structure** - Moved detailed content to GitHub docs
|
|
39
|
+
- **Version references** - Updated all documentation to v1.5.1
|
|
40
|
+
- **GitHub URLs** - Updated to new repository location
|
|
41
|
+
- **README.md** - Streamlined with documentation links instead of detailed content
|
|
42
|
+
|
|
43
|
+
### ๐ Documentation
|
|
44
|
+
- **Framework integration guide** - Clarified that frameworks are optional
|
|
45
|
+
- **Setup documentation** - Updated installation and configuration guides
|
|
46
|
+
- **Troubleshooting** - Added framework-specific guidance
|
|
47
|
+
- **Community resources** - Updated all links to new repository
|
|
9
48
|
|
|
10
49
|
## [1.5.0] - 2025-08-05
|
|
11
50
|
|
|
@@ -45,16 +84,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
45
84
|
- **Write operation feedback** - Clearer error messages for file write failures
|
|
46
85
|
- **Sample file creation** - Better error handling for sample translation file creation
|
|
47
86
|
|
|
48
|
-
### ๐ฏ Translation Key Additions
|
|
49
|
-
- **Added 7 new validation keys** across all language files:
|
|
50
|
-
- `noJsonFilesFound` - When no JSON files found in source directory
|
|
51
|
-
- `i18nDirectoryNotFound` - When i18n directory is missing
|
|
52
|
-
- `invalidDirectoryPaths` - When directory paths are invalid
|
|
53
|
-
- `invalidSampleFilePath` - When sample file path is invalid
|
|
54
|
-
- `failedToCreateSampleTranslationFile` - When sample file creation fails
|
|
55
|
-
- `invalidFilePathDetected` - When invalid file paths are detected
|
|
56
|
-
- `failedToWriteFile` - When file write operations fail
|
|
57
|
-
|
|
58
87
|
### ๐ ๏ธ Code Quality & Consistency
|
|
59
88
|
- **Standardized error handling** - Consistent error message patterns across all scripts
|
|
60
89
|
- **Translation fallback support** - All translation keys include English fallback messages
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025 I18N Management Toolkit
|
|
3
|
+
Copyright (c) 2025 I18N Management Toolkit (i18ntk)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -20,4 +20,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
22
|
|
|
23
|
-
Last Updated
|
|
23
|
+
**Last Updated**: 06/08/2025
|
package/README.md
CHANGED
|
@@ -1,362 +1,120 @@
|
|
|
1
|
-
# i18ntk - i18n
|
|
1
|
+
# ๐ i18ntk - The Ultimate i18n Translation Management Toolkit
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[](https://nodejs.org/)
|
|
3
|
+

|
|
6
4
|
|
|
7
|
-
**Version:** 1.5.
|
|
5
|
+
**Version:** 1.5.2
|
|
6
|
+
**Last Updated:** 2025-08-06
|
|
7
|
+
**GitHub Repository:** [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
[](https://www.npmjs.com/package/i18ntk) [](https://opensource.org/licenses/MIT) [](https://nodejs.org/) [](https://www.npmjs.com/package/i18ntk) [](https://github.com/vladnoskv/i18ntk)
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
- Complete overhaul of the internationalization system
|
|
13
|
-
- Enhanced performance with optimized loading times
|
|
14
|
-
- Improved security measures to protect sensitive translation data
|
|
15
|
-
- Expanded functionality with additional features for better project management
|
|
16
|
-
- Reduced package size by 68% compared to v1.4.0
|
|
17
|
-
- Improved documentation with detailed guides and examples
|
|
11
|
+
**๐ The fastest way to manage translations across any framework or vanilla JavaScript projects**
|
|
18
12
|
|
|
13
|
+
**Framework Support:** Works **with or without** i18n frameworks. i18ntk manages translation files and validation - it does NOT implement translations on pages. Compatible with any frameworks using standard JSON translation files.
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Installation Options
|
|
23
|
-
Choose the installation method that best fits your workflow:
|
|
24
|
-
|
|
25
|
-
#### Global Installation (Recommended)
|
|
26
|
-
```bash
|
|
27
|
-
npm install -g i18ntk
|
|
28
|
-
```
|
|
29
|
-
Perfect for team-wide usage and CI/CD pipelines. Available system-wide as `i18ntk` command.
|
|
30
|
-
|
|
31
|
-
#### Local Project Installation
|
|
32
|
-
```bash
|
|
33
|
-
npm install --save-dev i18ntk
|
|
34
|
-
```
|
|
35
|
-
Ideal for project-specific configurations and when working with different versions across projects.
|
|
36
|
-
|
|
37
|
-
#### NPX Usage (No Installation)
|
|
38
|
-
```bash
|
|
39
|
-
npx i18ntk init
|
|
40
|
-
```
|
|
41
|
-
Great for one-time usage or testing the toolkit without permanent installation.
|
|
42
|
-
|
|
43
|
-
### First Steps - Complete Setup Guide
|
|
44
|
-
|
|
45
|
-
#### 1. Initialize Your Project
|
|
46
|
-
```bash
|
|
47
|
-
# Create complete i18n infrastructure
|
|
48
|
-
npx i18ntk init
|
|
49
|
-
|
|
50
|
-
# This creates:
|
|
51
|
-
# โโโ settings/i18ntk-config.json # Main configuration
|
|
52
|
-
# โโโ locales/ # Translation files directory
|
|
53
|
-
# โ โโโ en/common.json # Default English translations
|
|
54
|
-
# โโโ ui-locales/ # UI-specific translations (optional)
|
|
55
|
-
# โโโ package.json scripts # npm integration
|
|
56
|
-
```
|
|
15
|
+
> **Zero dependencies** | **71% smaller package** | **Works with any framework** | **Enterprise-grade security**
|
|
57
16
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# โข Supported languages (7 languages available)
|
|
65
|
-
# โข Translation file structure
|
|
66
|
-
# โข Framework integration
|
|
67
|
-
# โข Validation rules
|
|
68
|
-
# โข Performance settings
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
#### 3. Analyze Existing Translations
|
|
72
|
-
```bash
|
|
73
|
-
# Comprehensive analysis of current translations
|
|
74
|
-
npx i18ntk analyze
|
|
75
|
-
|
|
76
|
-
# Provides:
|
|
77
|
-
# โข Missing translation keys across languages
|
|
78
|
-
# โข Usage statistics and coverage
|
|
79
|
-
# โข Duplicate key detection
|
|
80
|
-
# โข Validation errors
|
|
81
|
-
# โข Performance metrics
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
#### 4. Project Health Summary
|
|
85
|
-
```bash
|
|
86
|
-
# Complete project overview
|
|
87
|
-
npx i18ntk summary
|
|
17
|
+
**Key Features of v1.5.2**
|
|
18
|
+
- Further package optimizations reduced size from 536kB to under 500kB
|
|
19
|
+
- Updated documentation to reflect more up to date and clear instructions
|
|
20
|
+
- Added more detailed examples and use cases in the documentation.
|
|
21
|
+
- Changed GitHub urls to `https://github.com/vladnoskv/i18ntk` for reporting a bug, and across documentation.
|
|
22
|
+
- No core functionality was changed, minor changes and removal of legacy code.
|
|
88
23
|
|
|
89
|
-
|
|
90
|
-
# โข Translation completeness
|
|
91
|
-
# โข Language coverage
|
|
92
|
-
# โข Configuration health
|
|
93
|
-
# โข Performance recommendations
|
|
94
|
-
# โข Security status
|
|
95
|
-
```
|
|
24
|
+
## ๐ Quick Start
|
|
96
25
|
|
|
97
|
-
#### 5. Advanced Usage Patterns
|
|
98
26
|
```bash
|
|
99
|
-
|
|
100
|
-
npx i18ntk
|
|
101
|
-
|
|
102
|
-
#
|
|
103
|
-
npx i18ntk
|
|
104
|
-
|
|
105
|
-
#
|
|
106
|
-
npx i18ntk sync
|
|
107
|
-
|
|
108
|
-
# Generate usage reports
|
|
109
|
-
npx i18ntk usage
|
|
27
|
+
npm install -g i18ntk # Install globally
|
|
28
|
+
npx i18ntk --help # Show help
|
|
29
|
+
npx i18ntk --version # Show version
|
|
30
|
+
npx i18ntk # Run Main Manage Menu
|
|
31
|
+
npx i18ntk init # Initialize project
|
|
32
|
+
npx i18ntk manage # Interactive Menu
|
|
33
|
+
npx i18ntk analyze # Analyze translations
|
|
110
34
|
```
|
|
111
35
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### ๐ Completed Internationalization Overhaul
|
|
115
|
-
- **Fixed all hardcoded error messages** - Replaced remaining hardcoded English strings with proper translation keys
|
|
116
|
-
- **Enhanced validation error handling** - All error messages now support full internationalization across 8 languages
|
|
117
|
-
- **Added comprehensive validation keys** - New translation keys for file operations, directory validation, and error states
|
|
118
|
-
- **Complete error message coverage** - All console error messages now support full internationalization
|
|
119
|
-
- **Translation consistency** - All language files synchronized with new validation keys across EN, DE, ES, FR, JA, ZH, RU, PT
|
|
36
|
+
๐ **Complete Setup Guide**: [docs/core/SETUP.md](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/SETUP.md)
|
|
120
37
|
|
|
121
|
-
|
|
122
|
-
- **Source directory validation** - Enhanced error messages for missing source directories
|
|
123
|
-
- **JSON file discovery** - Better error handling when no JSON files found in source directories
|
|
124
|
-
- **I18n directory validation** - Improved error messages for missing i18n directories
|
|
125
|
-
- **File path validation** - Enhanced validation for invalid file paths and directory structures
|
|
126
|
-
- **Write operation feedback** - Clearer error messages for file write failures
|
|
127
|
-
- **Sample file creation** - Better error handling for sample translation file creation
|
|
38
|
+
## โจ Why Choose i18ntk?
|
|
128
39
|
|
|
129
|
-
### ๐ฏ
|
|
130
|
-
- **
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
- `invalidDirectoryPaths` - When directory paths are invalid
|
|
134
|
-
- `invalidSampleFilePath` - When sample file path is invalid
|
|
135
|
-
- `failedToCreateSampleTranslationFile` - When sample file creation fails
|
|
136
|
-
- `invalidFilePathDetected` - When invalid file paths are detected
|
|
137
|
-
- `failedToWriteFile` - When file write operations fail
|
|
40
|
+
### ๐ฏ **Universal Compatibility**
|
|
41
|
+
- **Works with any framework** - React, Vue, Angular, Svelte, or vanilla JavaScript
|
|
42
|
+
- **Zero runtime dependencies** - Won't bloat your bundle
|
|
43
|
+
- **Standard JSON format** - Compatible with i18next, LinguiJS, and more
|
|
138
44
|
|
|
139
|
-
###
|
|
140
|
-
- **
|
|
141
|
-
- **
|
|
142
|
-
- **
|
|
143
|
-
- **Cross-language consistency** - All 8 language files updated with identical key structures
|
|
144
|
-
- **Backward compatibility** - Maintained existing functionality while adding new features
|
|
45
|
+
### โก **Lightning Fast**
|
|
46
|
+
- **71% package size reduction** - From 1.7MB to just 499kB (unpacked) and 100kB (packed)
|
|
47
|
+
- **1,600-1,900 operations/second** - Benchmarked performance
|
|
48
|
+
- **Instant startup** - No heavy dependencies to load
|
|
145
49
|
|
|
146
|
-
###
|
|
147
|
-
- **
|
|
148
|
-
- **
|
|
149
|
-
- **
|
|
150
|
-
- **Complete UI language coverage** - All console messages now support full internationalization
|
|
151
|
-
- **Translation validation** - All language files synchronized across 8 supported languages
|
|
50
|
+
### ๐ **Enterprise Security**
|
|
51
|
+
- **AES-256-GCM encryption** - Enterprise-grade PIN protection
|
|
52
|
+
- **7-language support** - English, German, Spanish, French, Russian, Japanese, Chinese
|
|
53
|
+
- **Session management** - Automatic timeouts and secure handling
|
|
152
54
|
|
|
153
|
-
###
|
|
154
|
-
- **
|
|
155
|
-
- **
|
|
156
|
-
- **
|
|
157
|
-
- **
|
|
55
|
+
### ๐ **Professional Tools**
|
|
56
|
+
- **Real-time analysis** - Detect missing translations instantly
|
|
57
|
+
- **Interactive menus** - No complex configuration required
|
|
58
|
+
- **CI/CD ready** - Pre-built workflows for GitHub Actions, GitLab CI
|
|
59
|
+
- **Comprehensive reports** - JSON, compact, or human-readable formats
|
|
158
60
|
|
|
159
|
-
|
|
160
|
-
- **๐ฅ Ultra-lightweight**: 1.7MB โ 536KB unpacked (68% reduction)
|
|
161
|
-
- **๐ Translation throughput**:
|
|
162
|
-
- 400 keys (100 ร 4 languages): 1578 keys/sec (63.4ms avg)
|
|
163
|
-
- 4,000 keys (1K ร 4 languages): 1944 keys/sec (514.4ms avg)
|
|
164
|
-
- 40,000 keys (10K ร 4 languages): 1909 keys/sec (5238.8ms avg)
|
|
165
|
-
- 200,000 keys (50K ร 4 languages): 1623 keys/sec (30809.7ms avg)
|
|
166
|
-
- **โก Configuration validation**:
|
|
167
|
-
- Minimal: 15.7ms avg
|
|
168
|
-
- Standard: 15.7ms avg
|
|
169
|
-
- Full: 20.4ms avg
|
|
170
|
-
- **๐พ Memory efficiency**: 413KB avg usage (400 keys), optimized for 25K+ datasets
|
|
171
|
-
- **๐ฏ Multi-language scale testing**: Validated across 4 languages ร 50K keys each
|
|
172
|
-
- **๐ง Zero runtime dependencies**: Pure Node.js implementation
|
|
173
|
-
- **๐ Verified metrics**: Windows 10 / Node.js v22.14.0 / Intel i7-6700K
|
|
61
|
+
## โจ What's New in v1.5.1
|
|
174
62
|
|
|
175
|
-
|
|
176
|
-
|
|
63
|
+
### ๐ Framework Clarification & Documentation Overhaul
|
|
64
|
+
- **Clear framework guidance** - Explicitly supports **with or without** i18n frameworks
|
|
65
|
+
- **Streamlined README** - Concise overview with detailed docs linked to GitHub
|
|
66
|
+
- **Updated GitHub URL** - New home at [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk)
|
|
67
|
+
- **Enhanced compatibility** - Works with i18next, LinguiJS, and vanilla JavaScript
|
|
68
|
+
- **Translation file standardization** - Uses JSON format compatible with all major frameworks
|
|
177
69
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
| 10,000 keys | 5,221.74 ms | 1,915 ops/sec | -298 KB |
|
|
183
|
-
| 50,000 keys | 30,290.34 ms | 1,651 ops/sec | 1.06 MB |
|
|
70
|
+
### ๐ Performance & Reliability
|
|
71
|
+
- **Zero runtime dependencies** - Pure Node.js implementation
|
|
72
|
+
- **71% package size reduction** - From 1.7MB to 499kB
|
|
73
|
+
- **Verified benchmarks** - 1,600-1,900 operations/second across all scales
|
|
184
74
|
|
|
185
|
-
#### ๐ฏ Performance Characteristics
|
|
186
|
-
- **Linear scaling**: Performance scales predictably with dataset size
|
|
187
|
-
- **Zero dependencies**: No external dependencies affecting performance
|
|
188
|
-
- **Memory efficient**: Excellent garbage collection with negative heap usage
|
|
189
|
-
- **Consistent throughput**: Maintains 1,600-1,900 operations/second across all scales
|
|
190
|
-
- **Validation performance**: Minimal validation 16.14ms, Standard 13.80ms, Full 25.07ms
|
|
191
75
|
|
|
192
|
-
|
|
193
|
-
```bash
|
|
194
|
-
# Full benchmark suite
|
|
195
|
-
npm run benchmark
|
|
76
|
+
## ๐ฏ Framework Integration
|
|
196
77
|
|
|
197
|
-
|
|
198
|
-
npm run benchmark:ci
|
|
78
|
+
Works with **any** framework or vanilla JavaScript. Uses standard JSON translation files compatible with:
|
|
199
79
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
80
|
+
| Framework | Compatibility | Integration Time |
|
|
81
|
+
|-----------|---------------|------------------|
|
|
82
|
+
| **i18next** | โ
Native | 2 minutes |
|
|
83
|
+
| **LinguiJS** | โ
JSON format | 2 minutes |
|
|
84
|
+
| **React** | โ
Standard imports | 3 minutes |
|
|
85
|
+
| **Vue.js** | โ
Standard imports | 3 minutes |
|
|
86
|
+
| **Angular** | โ
TypeScript ready | 4 minutes |
|
|
87
|
+
| **Vanilla JS** | โ
Direct usage | 1 minute |
|
|
203
88
|
|
|
204
|
-
|
|
89
|
+
๐ **Integration Guide**: [docs/core/FRAMEWORK_INTEGRATION.md](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/FRAMEWORK_INTEGRATION.md)
|
|
205
90
|
|
|
206
|
-
|
|
91
|
+
### ๐ง **Quick Integration Examples**
|
|
207
92
|
|
|
208
|
-
|
|
93
|
+
**React Example:**
|
|
209
94
|
```javascript
|
|
210
|
-
//
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"i18n:init": "i18ntk init",
|
|
214
|
-
"i18n:analyze": "i18ntk analyze",
|
|
215
|
-
"i18n:validate": "i18ntk validate",
|
|
216
|
-
"i18n:build": "i18ntk export && npm run build"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
### Vue.js Integration
|
|
222
|
-
```javascript
|
|
223
|
-
// Vue.js specific configuration in i18ntk-config.json
|
|
224
|
-
{
|
|
225
|
-
"translationsPath": "src/locales",
|
|
226
|
-
"sourcePatterns": ["src/**/*.vue", "src/**/*.js"],
|
|
227
|
-
"languages": ["en", "es", "de", "fr"]
|
|
228
|
-
}
|
|
229
|
-
```
|
|
95
|
+
// Before i18ntk
|
|
96
|
+
import en from './locales/en.json'
|
|
97
|
+
import es from './locales/es.json'
|
|
230
98
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// Angular project structure
|
|
234
|
-
{
|
|
235
|
-
"translationsPath": "src/assets/i18n",
|
|
236
|
-
"sourcePatterns": ["src/**/*.ts", "src/**/*.html"],
|
|
237
|
-
"defaultLanguage": "en"
|
|
238
|
-
}
|
|
99
|
+
// After i18ntk - automatically validated and optimized
|
|
100
|
+
import translations from './locales' // i18ntk managed
|
|
239
101
|
```
|
|
240
102
|
|
|
241
|
-
|
|
103
|
+
**Vanilla JS Example:**
|
|
242
104
|
```javascript
|
|
243
|
-
//
|
|
244
|
-
{
|
|
245
|
-
"translationsPath": "locales",
|
|
246
|
-
"sourcePatterns": ["src/**/*.js", "routes/**/*.js"],
|
|
247
|
-
"languages": ["en", "es", "de"]
|
|
248
|
-
}
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
## ๐ Troubleshooting Guide
|
|
252
|
-
|
|
253
|
-
### Common Issues & Solutions
|
|
254
|
-
|
|
255
|
-
#### "Command not found" errors
|
|
256
|
-
```bash
|
|
257
|
-
# Solution 1: Install globally
|
|
258
|
-
npm install -g i18ntk
|
|
259
|
-
|
|
260
|
-
# Solution 2: Use npx
|
|
261
|
-
npx i18ntk init
|
|
262
|
-
|
|
263
|
-
# Solution 3: Check npm path
|
|
264
|
-
echo $PATH
|
|
265
|
-
npm config get prefix
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
#### Translation files not found
|
|
269
|
-
```bash
|
|
270
|
-
# Verify directory structure
|
|
271
|
-
ls -la locales/
|
|
272
|
-
ls -la settings/i18ntk-config.json
|
|
273
|
-
|
|
274
|
-
# Check configuration
|
|
275
|
-
i18ntk manage
|
|
276
|
-
|
|
277
|
-
# Reset configuration
|
|
278
|
-
rm -rf settings/i18ntk-config.json
|
|
279
|
-
i18ntk init
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
#### Performance issues with large datasets
|
|
283
|
-
```bash
|
|
284
|
-
# Use CI mode for faster analysis
|
|
285
|
-
i18ntk analyze --mode=ci
|
|
286
|
-
|
|
287
|
-
# Exclude node_modules
|
|
288
|
-
i18ntk analyze --exclude="node_modules/**"
|
|
289
|
-
|
|
290
|
-
# Memory optimization
|
|
291
|
-
export NODE_OPTIONS="--max-old-space-size=4096"
|
|
292
|
-
i18ntk analyze
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
#### Missing translation keys
|
|
296
|
-
```bash
|
|
297
|
-
# Generate missing keys report
|
|
298
|
-
i18ntk analyze --output=missing-keys.json
|
|
299
|
-
|
|
300
|
-
# Auto-fix missing keys
|
|
301
|
-
i18ntk manage --fix-missing
|
|
302
|
-
|
|
303
|
-
# Validate specific language
|
|
304
|
-
i18ntk validate --language=es
|
|
105
|
+
// i18ntk validates and optimizes your JSON files
|
|
106
|
+
const translations = await import(`./locales/${lang}.json`)
|
|
305
107
|
```
|
|
306
108
|
|
|
307
|
-
|
|
308
|
-
```bash
|
|
309
|
-
# Enable debug logging
|
|
310
|
-
DEBUG=i18ntk:* i18ntk analyze
|
|
109
|
+
## ๐ Troubleshooting & Support
|
|
311
110
|
|
|
312
|
-
|
|
313
|
-
i18ntk analyze --verbose
|
|
111
|
+
๐ **Troubleshooting Guide**: [docs/core/TROUBLESHOOTING.md](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/TROUBLESHOOTING.md)
|
|
314
112
|
|
|
315
|
-
|
|
316
|
-
i18ntk analyze --profile
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### CI/CD Integration Examples
|
|
113
|
+
## ๐ CI/CD Integration
|
|
320
114
|
|
|
321
|
-
|
|
322
|
-
```yaml
|
|
323
|
-
name: i18n Validation
|
|
324
|
-
on: [push, pull_request]
|
|
325
|
-
jobs:
|
|
326
|
-
validate-i18n:
|
|
327
|
-
runs-on: ubuntu-latest
|
|
328
|
-
steps:
|
|
329
|
-
- uses: actions/checkout@v3
|
|
330
|
-
- uses: actions/setup-node@v3
|
|
331
|
-
with:
|
|
332
|
-
node-version: '18'
|
|
333
|
-
- run: npm install -g i18ntk
|
|
334
|
-
- run: i18ntk validate --strict
|
|
335
|
-
- run: i18ntk analyze --output=report.json
|
|
336
|
-
```
|
|
115
|
+
Pre-built workflows for GitHub Actions, GitLab CI, and Docker.
|
|
337
116
|
|
|
338
|
-
|
|
339
|
-
```yaml
|
|
340
|
-
validate_i18n:
|
|
341
|
-
stage: test
|
|
342
|
-
image: node:18
|
|
343
|
-
script:
|
|
344
|
-
- npm install -g i18ntk
|
|
345
|
-
- i18ntk validate --strict
|
|
346
|
-
- i18ntk analyze --output=i18n-report.json
|
|
347
|
-
artifacts:
|
|
348
|
-
reports:
|
|
349
|
-
json: i18n-report.json
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
#### Docker Integration
|
|
353
|
-
```dockerfile
|
|
354
|
-
FROM node:18-alpine
|
|
355
|
-
RUN npm install -g i18ntk
|
|
356
|
-
COPY . /app
|
|
357
|
-
WORKDIR /app
|
|
358
|
-
RUN i18ntk validate
|
|
359
|
-
```
|
|
117
|
+
๐ **CI/CD Guide**: [docs/development/CI_CD_INTEGRATION.md](https://github.com/vladnoskv/i18ntk/blob/main/docs/development/CI_CD_INTEGRATION.md)
|
|
360
118
|
|
|
361
119
|
## ๐ Project Health Dashboard
|
|
362
120
|
|
|
@@ -396,677 +154,72 @@ watch -n 30 'i18ntk summary --format=compact'
|
|
|
396
154
|
- **Caching**: Implement caching for CI/CD environments
|
|
397
155
|
- **Monitoring**: Set up alerts for translation completeness drops
|
|
398
156
|
|
|
399
|
-
|
|
400
|
-
- **GitHub Actions workflows** - Automated release and security scanning
|
|
401
|
-
- **Cross-platform testing** - Windows (Tested), macOS (Not Tested), and Linux (Not Tested) compatibility
|
|
402
|
-
- **Security scanning** - Automated vulnerability detection
|
|
403
|
-
- **Performance CI** - Prevents performance regressions in PRs
|
|
404
|
-
- **npm benchmark scripts** - `benchmark`, `benchmark:ci`, `benchmark:baseline`
|
|
405
|
-
|
|
406
|
-
### ๐ฆ Package Optimization
|
|
407
|
-
- **Enhanced .npmignore** - Excludes benchmarks, docs, and dev files
|
|
408
|
-
- **46 files removed** from production package
|
|
409
|
-
- **Production-ready package** - Optimized for npm distribution
|
|
410
|
-
- **Security hardening** - Reduced attack surface
|
|
411
|
-
- **Streamlined dependencies** - Zero runtime dependencies
|
|
412
|
-
|
|
413
|
-
### ๐ ๏ธ Developer Experience
|
|
414
|
-
- **Framework-agnostic design** - Works with any i18n solution
|
|
415
|
-
- **Simplified integration** - No framework-specific setup required
|
|
416
|
-
- **Enhanced documentation** - Updated for zero dependencies architecture
|
|
417
|
-
- **Improved error messages** - Better debugging experience
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
## ๐ Previous Release: v1.4.2 Features
|
|
421
|
-
|
|
422
|
-
### ๐จ Critical Bug Fix
|
|
423
|
-
- **Fixed MODULE_NOT_FOUND Error**: Resolved critical issue in v1.4.1 where `npx i18ntk` would fail with missing debug scripts
|
|
424
|
-
- **Relocated Debug Tools**: Moved debug scripts from `/dev/debug/` to `/scripts/debug/` to ensure proper npm package inclusion
|
|
425
|
-
- **Updated All References**: Fixed all internal path references to work with new debug script location
|
|
426
|
-
- **Immediate Update Recommended**: Do not use v1.4.1 and any v1.4.1 users should update to v1.4.2 immediately. Apologies for the issue, due to the local testing environments, the bug was missed in testing.
|
|
427
|
-
|
|
428
|
-
### ๐ง Debug Tools Streamlining & Package Optimization
|
|
429
|
-
- **Reduced Package Size**: Removed development debug tools from production builds, significantly reducing package footprint
|
|
430
|
-
- **Streamlined Debug Menu**: Simplified to essential tools only (System Diagnostics, Debug Logs)
|
|
431
|
-
- **Production-Ready**: Package now works seamlessly without `/dev` folder
|
|
432
|
-
- **Enhanced Performance**: Faster startup times and reduced memory usage
|
|
433
|
-
|
|
434
|
-
### ๐ฆ Package Structure Improvements
|
|
435
|
-
- **Reduced package size by 15.7%**: From 1.78 MB to 1.5 MB unpacked by removing 46 files from the package (Docs and Dev folders).
|
|
436
|
-
- **Compressed package**: 316.5 kB (optimized for npm distribution)
|
|
437
|
-
- **Removed Documentation from npm**: Docs now available via GitHub repository, reducing package size
|
|
438
|
-
- **Optimized Dependencies**: Streamlined for production deployment
|
|
439
|
-
- **Cleaner Installation**: Focused on core functionality for end users
|
|
440
|
-
- **Temporary Usage Pattern**: Install, set up, modify files, then uninstall to reduce final build size
|
|
441
|
-
|
|
442
|
-
### ๐ Advanced PIN Protection
|
|
443
|
-
- **Configurable Script-level PIN Protection**: Secure your i18n toolkit with customizable PIN requirements
|
|
444
|
-
- **AES-256-GCM Encryption**: Military-grade encryption for sensitive operations
|
|
445
|
-
- **Session Management**: Automatic session timeouts and secure session handling
|
|
446
|
-
- **Complete Internationalization**: PIN prompts and messages in 8 languages
|
|
447
|
-
|
|
448
|
-
### ๐ 7-Languages Complete Support
|
|
449
|
-
- **Full Internationalization**: English, German, Spanish, French, Russian, Japanese, Chinese
|
|
450
|
-
- **Dynamic Language Switching**: Switch languages on-the-fly without restart
|
|
451
|
-
- **Comprehensive Translation Coverage**: All user-facing text translated across all languages
|
|
452
|
-
|
|
453
|
-
### ๐ Enhanced Framework Integration
|
|
454
|
-
- **React/Next.js**: Seamless integration with modern React applications
|
|
455
|
-
- **Vue.js**: Full support for Vue.js projects
|
|
456
|
-
- **Node.js/Express**: Backend integration capabilities
|
|
457
|
-
- **Angular**: TypeScript-first integration support
|
|
458
|
-
|
|
459
|
-
### โก Performance Optimizations
|
|
460
|
-
- **Faster Analysis**: 40% improvement in translation analysis speed
|
|
461
|
-
- **Memory Efficiency**: Reduced memory footprint for large projects
|
|
462
|
-
- **Caching Improvements**: Enhanced caching for repeated operations0
|
|
463
|
-
|
|
464
|
-
### ๐ Advanced PIN Protection
|
|
465
|
-
- Configurable PIN protection for individual scripts
|
|
466
|
-
- Session-based authentication with 30-minute timeout
|
|
467
|
-
- AES-256-GCM encryption for secure storage
|
|
468
|
-
- Failed attempt tracking with lockout protection
|
|
469
|
-
|
|
470
|
-
### ๐ก๏ธ Enhanced Security
|
|
471
|
-
- Granular script-level security controls
|
|
472
|
-
- Automatic session cleanup
|
|
473
|
-
- Secure configuration file permissions (0o600)
|
|
474
|
-
- Comprehensive audit logging
|
|
475
|
-
- Industry-standard AES-256-GCM encryption for PIN protection
|
|
476
|
-
- See [PIN Protection Guide](docs/PIN_PROTECTION_GUIDE.md) for security best practices
|
|
477
|
-
|
|
478
|
-
### ๐ Complete Internationalization
|
|
479
|
-
- **7 languages with 100% complete translation coverage - ZERO missing keys errors guaranteed**
|
|
480
|
-
- **All UI elements, error messages, and help text fully translated**
|
|
481
|
-
- **Comprehensive validation ensures no translation gaps**
|
|
482
|
-
- **PIN protection and security features fully localized across all languages**
|
|
483
|
-
|
|
484
|
-
## ๐ Complete Documentation
|
|
485
|
-
|
|
486
|
-
### ๐ง Installation & Setup
|
|
157
|
+
## ๐ Get Started in 30 Seconds
|
|
487
158
|
|
|
488
|
-
|
|
489
|
-
- **Node.js**: v16.0.0 or higher
|
|
490
|
-
- **npm**: v7.0.0 or higher
|
|
491
|
-
- **Operating System**: Windows, macOS, Linux
|
|
492
|
-
|
|
493
|
-
#### Installation Methods
|
|
159
|
+
### **Step 1: Install**
|
|
494
160
|
```bash
|
|
495
|
-
# Global installation (recommended for CLI usage)
|
|
496
161
|
npm install -g i18ntk
|
|
497
|
-
|
|
498
|
-
# Local development installation
|
|
499
|
-
npm install --save-dev i18ntk
|
|
500
|
-
|
|
501
|
-
# Direct usage without installation
|
|
502
|
-
npx i18ntk [command]
|
|
503
162
|
```
|
|
504
163
|
|
|
505
|
-
###
|
|
506
|
-
|
|
507
|
-
#### Core Commands
|
|
508
|
-
| Command | Description | Usage |
|
|
509
|
-
|---------|-------------|-------|
|
|
510
|
-
| `i18ntk init` | Initialize i18n management | `i18ntk init` |
|
|
511
|
-
| `i18ntk manage` | Interactive management interface | `i18ntk manage` |
|
|
512
|
-
| `i18ntk analyze` | Analyze translation files | `i18ntk analyze [path]` |
|
|
513
|
-
| `i18ntk summary` | Generate project summary | `i18ntk summary` |
|
|
514
|
-
| `i18ntk validate` | Validate translation structure | `i18ntk validate [path]` |
|
|
515
|
-
| `i18ntk sizing` | Calculate translation impact | `i18ntk sizing [path]` |
|
|
516
|
-
| `i18ntk usage` | Show usage statistics | `i18ntk usage` |
|
|
517
|
-
| `i18ntk complete` | One-command complete setup | `i18ntk complete` |
|
|
518
|
-
|
|
519
|
-
#### Advanced Commands
|
|
520
|
-
| Command | Description | Usage |
|
|
521
|
-
|---------|-------------|-------|
|
|
522
|
-
| `i18ntk autorun` | Automated analysis pipeline | `i18ntk autorun` |
|
|
523
|
-
| `i18ntk ui` | Launch web interface | `i18ntk ui` |
|
|
524
|
-
|
|
525
|
-
### ๐ Language Support
|
|
526
|
-
|
|
527
|
-
#### โ
Guaranteed 100% Translation Coverage
|
|
528
|
-
All 7 languages are **completely translated with zero missing keys** - verified by our automated validation system:
|
|
529
|
-
|
|
530
|
-
- **English** (en) - Complete โ
|
|
531
|
-
- **German** (de) - Complete โ
|
|
532
|
-
- **Spanish** (es) - Complete โ
|
|
533
|
-
- **French** (fr) - Complete โ
|
|
534
|
-
- **Russian** (ru) - Complete โ
|
|
535
|
-
- **Japanese** (ja) - Complete โ
|
|
536
|
-
- **Chinese** (zh) - Complete โ
|
|
537
|
-
|
|
538
|
-
**๐ฏ Translation Quality Guarantee**: Every UI element, error message, tooltip, and help text is fully localized. Our validation scripts ensure no missing keys across any language.
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
#### Dynamic Language Switching
|
|
164
|
+
### **Step 2: Initialize**
|
|
542
165
|
```bash
|
|
543
|
-
|
|
544
|
-
i18ntk manage
|
|
545
|
-
# Navigate to: Settings โ Language โ Select desired language
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
### โ๏ธ Configuration
|
|
549
|
-
|
|
550
|
-
#### Basic Configuration
|
|
551
|
-
Create `i18ntk.config.js` in your project root:
|
|
552
|
-
```javascript
|
|
553
|
-
module.exports = {
|
|
554
|
-
languages: ['en', 'es', 'fr'],
|
|
555
|
-
sourceDir: './src',
|
|
556
|
-
outputDir: './locales',
|
|
557
|
-
framework: 'react', // 'react', 'vue', 'angular', 'vanilla'
|
|
558
|
-
adminPin: '1234', // Optional PIN protection
|
|
559
|
-
autoBackup: true
|
|
560
|
-
}
|
|
561
|
-
```
|
|
562
|
-
|
|
563
|
-
#### Advanced Configuration
|
|
564
|
-
```javascript
|
|
565
|
-
module.exports = {
|
|
566
|
-
languages: ['en', 'de', 'es', 'fr', 'ru', 'ja', 'zh'],
|
|
567
|
-
sourceDir: './src',
|
|
568
|
-
outputDir: './public/locales',
|
|
569
|
-
framework: 'next',
|
|
570
|
-
adminPin: 'your-secure-pin', // Use strong PINs, never commit to version control
|
|
571
|
-
autoBackup: true,
|
|
572
|
-
backupDir: './backups/i18n',
|
|
573
|
-
validation: {
|
|
574
|
-
strictMode: true,
|
|
575
|
-
checkDuplicates: true,
|
|
576
|
-
checkMissingKeys: true
|
|
577
|
-
},
|
|
578
|
-
performance: {
|
|
579
|
-
cacheEnabled: true,
|
|
580
|
-
maxFileSize: '10MB',
|
|
581
|
-
parallelProcessing: true
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
```
|
|
585
|
-
|
|
586
|
-
## ๐จ Visual Interface Showcase
|
|
587
|
-
|
|
588
|
-
### ๐ฅ๏ธ Interactive Management Dashboard
|
|
589
|
-
Experience our fully translated management interface across all 7 languages:
|
|
590
|
-
|
|
591
|
-

|
|
592
|
-
*Interactive dashboard showing complete translation status, language switcher, and real-time validation results*
|
|
593
|
-
|
|
594
|
-
### ๐ Translation Analysis & Validation
|
|
595
|
-
See how our validation system ensures 100% translation completeness:
|
|
596
|
-
|
|
597
|
-

|
|
598
|
-
*Complete analysis showing zero missing keys across all 7 supported languages*
|
|
599
|
-
|
|
600
|
-
### ๐ Security & PIN Configuration
|
|
601
|
-
Fully localized security settings for all users:
|
|
602
|
-
|
|
603
|
-

|
|
604
|
-
*PIN protection interface available in all 7 languages with complete localization*
|
|
605
|
-
|
|
606
|
-
### ๐ Language Switching in Action
|
|
607
|
-
Demonstration of seamless language switching:
|
|
608
|
-
|
|
609
|
-

|
|
610
|
-
*Real-time language switching showing complete UI translation*
|
|
611
|
-
|
|
612
|
-
**๐ธ Screenshots Available**: The screenshots above are real interface captures. Multilingual variants are stored in `./docs/screenshots/` for reference.
|
|
613
|
-
|
|
614
|
-
---
|
|
615
|
-
|
|
616
|
-
## โ๏ธ CLI Interaction Showcase
|
|
617
|
-
|
|
618
|
-
Explore how the command-line workflow looks in practice. All prompts and confirmations are fully localized and consistent with the UI experience.
|
|
619
|
-
|
|
620
|
-
| Screenshot | Description |
|
|
621
|
-
|------------|-------------|
|
|
622
|
-
|  | The `npx i18ntk init` command detects no existing i18n framework and shows a confirmation prompt (user selected **No**). |
|
|
623
|
-
|  | The same prompt when the user selects **Yes**, proceeding with toolkit initialization. |
|
|
624
|
-
|  | Output from `i18ntk analyze` summarising translation coverage and detected issues. |
|
|
625
|
-
|  | `i18ntk validate` ensuring 100 % key coverage before deployment. |
|
|
626
|
-
|  | Safety prompt when removing obsolete validation reports via `i18ntk delete`. |
|
|
627
|
-
|  | Success message after all tasks complete with zero errors. |
|
|
628
|
-
|  | Snapshot of the interactive `i18ntk manage` flow in the terminal. |
|
|
629
|
-
|  | Final step of admin PIN setup showing confirmation screen. |
|
|
630
|
-
|
|
631
|
-
These terminal screenshots complement the graphical dashboard, giving a full picture of both **UI** and **CLI** workflows.
|
|
632
|
-
|
|
633
|
-
### ๐ฏ UI Features Highlight
|
|
634
|
-
- **Complete translation coverage** across all interface elements
|
|
635
|
-
- **Real-time validation** showing translation status
|
|
636
|
-
- **Seamless language switching** without restart
|
|
637
|
-
- **Localized error messages** and help text
|
|
638
|
-
- **Cultural adaptation** for each supported language
|
|
639
|
-
|
|
640
|
-
### ๐ Changelog & Release Notes
|
|
641
|
-
|
|
642
|
-
For detailed information about what's changed in each version, see our [CHANGELOG.md](CHANGELOG.md) which follows [Keep a Changelog](https://keepachangelog.com/) principles.
|
|
643
|
-
|
|
644
|
-
### Version History Highlights
|
|
645
|
-
- **v1.5.0** (2025-08-05): **MAJOR OPTIMIZATION** - 68% package size reduction (1.7MB โ 536KB), zero runtime dependencies, updated August 2025 benchmarks, 100% translation guarantee
|
|
646
|
-
- **v1.4.3** (2025-08-09): **100% Translation Guarantee** - Zero missing keys across all 7 languages, enhanced validation system, improved UI documentation
|
|
647
|
-
- **v1.4.2** (2025-08-08): Critical bug fix for MODULE_NOT_FOUND error in v1.4.1
|
|
648
|
-
- **v1.4.1** (2025-08-08): Package optimization and debug tools streamlining
|
|
649
|
-
- **v1.4.0** (2025-08-07): Advanced PIN protection, 7-language support, enhanced security
|
|
650
|
-
|
|
651
|
-
## ๐ค Contributing
|
|
652
|
-
|
|
653
|
-
We welcome contributions! Please see our comprehensive [Contributing Guide](CONTRIBUTING.md) for:
|
|
654
|
-
- Development setup instructions
|
|
655
|
-
- Code standards and guidelines
|
|
656
|
-
- Testing requirements
|
|
657
|
-
- Security best practices
|
|
658
|
-
- Issue and PR templates
|
|
659
|
-
|
|
660
|
-
### Community Health Files
|
|
661
|
-
- [Code of Conduct](CODE_OF_CONDUCT.md) - Our community standards
|
|
662
|
-
- [Security Policy](SECURITY.md) - How to report vulnerabilities
|
|
663
|
-
- [Contributing Guide](CONTRIBUTING.md) - How to contribute
|
|
664
|
-
|
|
665
|
-
## ๐ Framework Integration
|
|
666
|
-
|
|
667
|
-
#### React/Next.js Integration
|
|
668
|
-
```bash
|
|
669
|
-
# Initialize for React project
|
|
670
|
-
i18ntk init --framework react
|
|
671
|
-
|
|
672
|
-
# Automatic Next.js detection
|
|
673
|
-
i18ntk init --framework next
|
|
674
|
-
```
|
|
675
|
-
|
|
676
|
-
#### Vue.js Integration
|
|
677
|
-
```bash
|
|
678
|
-
# Initialize for Vue project
|
|
679
|
-
i18ntk init --framework vue
|
|
680
|
-
```
|
|
681
|
-
|
|
682
|
-
#### Angular Integration
|
|
683
|
-
```bash
|
|
684
|
-
# Initialize for Angular project
|
|
685
|
-
i18ntk init --framework angular
|
|
686
|
-
```
|
|
687
|
-
|
|
688
|
-
### ๐ฏ Translation Quality Assurance
|
|
689
|
-
|
|
690
|
-
#### **100% Translation Guarantee**
|
|
691
|
-
Our enhanced validation system ensures **zero missing translation keys** across all 7 supported languages:
|
|
692
|
-
|
|
693
|
-
```bash
|
|
694
|
-
# Validate complete translation coverage
|
|
695
|
-
i18ntk validate
|
|
696
|
-
|
|
697
|
-
# Verify no missing keys across all languages
|
|
698
|
-
i18ntk validate --missing-only
|
|
699
|
-
|
|
700
|
-
# Run comprehensive translation analysis
|
|
701
|
-
i18ntk analyze --complete
|
|
702
|
-
```
|
|
703
|
-
|
|
704
|
-
#### **Automated Quality Checks**
|
|
705
|
-
- โ
**Zero missing keys** guaranteed across all languages
|
|
706
|
-
- โ
**Complete UI coverage** - every interface element translated
|
|
707
|
-
- โ
**Real-time validation** with immediate feedback
|
|
708
|
-
- โ
**Automated detection** of translation gaps
|
|
709
|
-
- โ
**Multi-language consistency** validation
|
|
710
|
-
|
|
711
|
-
### ๐ Usage Examples
|
|
712
|
-
|
|
713
|
-
#### Basic Project Analysis
|
|
714
|
-
```bash
|
|
715
|
-
# Analyze current project
|
|
716
|
-
i18ntk analyze
|
|
717
|
-
|
|
718
|
-
# Analyze specific directory
|
|
719
|
-
i18ntk analyze ./src/components
|
|
720
|
-
|
|
721
|
-
# Generate detailed report
|
|
722
|
-
i18ntk summary --detailed
|
|
723
|
-
```
|
|
724
|
-
|
|
725
|
-
#### Translation Management
|
|
726
|
-
```bash
|
|
727
|
-
# Interactive management with complete translation visibility
|
|
728
|
-
i18ntk manage
|
|
729
|
-
|
|
730
|
-
# Validate all translations - 100% coverage guaranteed
|
|
731
|
-
i18ntk validate
|
|
732
|
-
|
|
733
|
-
# Check for missing translations - zero tolerance policy
|
|
734
|
-
i18ntk validate --missing-only
|
|
735
|
-
```
|
|
736
|
-
|
|
737
|
-
#### Production Deployment
|
|
738
|
-
```bash
|
|
739
|
-
# Complete setup for production
|
|
740
|
-
i18ntk complete
|
|
741
|
-
|
|
742
|
-
# Validate before deployment
|
|
743
|
-
i18ntk validate --strict
|
|
744
|
-
|
|
745
|
-
# Generate deployment summary
|
|
746
|
-
i18ntk summary --production
|
|
166
|
+
npx i18ntk init
|
|
747
167
|
```
|
|
748
168
|
|
|
749
|
-
|
|
169
|
+
### **Step 3: Analyze**
|
|
750
170
|
```bash
|
|
751
|
-
|
|
752
|
-
npm install -g i18ntk
|
|
753
|
-
|
|
754
|
-
# Complete setup and configuration
|
|
755
|
-
i18ntk complete
|
|
756
|
-
|
|
757
|
-
# Uninstall after setup to reduce build size
|
|
758
|
-
npm uninstall -g i18ntk
|
|
759
|
-
|
|
760
|
-
# Or use npx for one-time usage
|
|
761
|
-
npx i18ntk complete
|
|
171
|
+
npx i18ntk analyze
|
|
762
172
|
```
|
|
763
173
|
|
|
764
|
-
###
|
|
765
|
-
All commands support `--no-prompt` flag for non-interactive usage:
|
|
174
|
+
### **Step 4: Manage**
|
|
766
175
|
```bash
|
|
767
|
-
|
|
768
|
-
npx i18ntk analyze --no-prompt
|
|
769
|
-
npx i18ntk validate --no-prompt --fix
|
|
770
|
-
npx i18ntk usage --no-prompt
|
|
771
|
-
npx i18ntk complete --no-prompt --auto
|
|
772
|
-
npx i18ntk autorun --no-prompt
|
|
176
|
+
npx i18ntk manage
|
|
773
177
|
```
|
|
774
178
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
### Core Capabilities
|
|
778
|
-
- **Translation Management**: Complete lifecycle from initialization to completion
|
|
779
|
-
- **Quality Assurance**: Validation, analysis, and reporting
|
|
780
|
-
- **Automation**: Single-command workflow execution
|
|
781
|
-
- **Security**: Advanced PIN protection and session management
|
|
782
|
-
|
|
783
|
-
### Developer Experience
|
|
784
|
-
- **Zero Configuration**: Works out of the box
|
|
785
|
-
- **Framework Agnostic**: Compatible with React, Vue, Angular, Next.js
|
|
786
|
-
- **TypeScript Support**: Full TypeScript project compatibility
|
|
787
|
-
- **Modern CLI**: Interactive and direct command execution
|
|
788
|
-
|
|
789
|
-
### Reporting & Analytics
|
|
790
|
-
- **Real-time Analysis**: Live translation completeness tracking
|
|
791
|
-
- **Visual Reports**: HTML, JSON, and CSV output formats
|
|
792
|
-
- **Performance Metrics**: File sizing and memory usage analysis
|
|
793
|
-
- **Audit Trails**: Complete security and configuration logging
|
|
794
|
-
|
|
795
|
-
## ๐ Language Support
|
|
179
|
+
---
|
|
796
180
|
|
|
797
|
-
|
|
798
|
-
|----------|------|--------|
|
|
799
|
-
| English | en | โ
Complete |
|
|
800
|
-
| German | de | โ
Complete |
|
|
801
|
-
| Spanish | es | โ
Complete |
|
|
802
|
-
| French | fr | โ
Complete |
|
|
181
|
+
## โ๏ธ Package Identity & Legal Notice
|
|
803
182
|
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
183
|
+
### **๐ Package Attribution**
|
|
184
|
+
- **Package Name**: `i18ntk`
|
|
185
|
+
- **Author**: Vladimir Noskov (@vladnoskv)
|
|
186
|
+
- **Repository**: https://github.com/vladnoskv/i18ntk
|
|
187
|
+
- **NPM Registry**: https://www.npmjs.com/package/i18ntk
|
|
188
|
+
- **License**: MIT
|
|
189
|
+
- **Current Version**: 1.5.2 (Released: August 6, 2025)
|
|
807
190
|
|
|
808
|
-
|
|
191
|
+
### **๐ Identity Disclaimer**
|
|
809
192
|
|
|
810
|
-
|
|
811
|
-
- **Analysis**: Translation completeness
|
|
812
|
-
- **Validation**: File integrity checks
|
|
813
|
-
- **Usage**: Key utilization patterns
|
|
814
|
-
- **Sizing**: Performance metrics
|
|
815
|
-
- **Summary**: Project overview
|
|
193
|
+
This package (`i18ntk` by vladnoskv) is an **independent, standalone internationalization management toolkit** and is **not affiliated with, endorsed by, or connected to** any other packages, tools, or services using similar names.
|
|
816
194
|
|
|
817
|
-
|
|
195
|
+
### **โ
Version Accuracy Guarantee**
|
|
818
196
|
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
"supportedLanguages": ["en", "es", "fr", "de", "pt", "ja", "ru", "zh"]
|
|
826
|
-
}
|
|
827
|
-
```
|
|
197
|
+
All version information is current as of **August 6, 2025**:
|
|
198
|
+
- **Package Version**: 1.5.2
|
|
199
|
+
- **Release Date**: 2025-08-06
|
|
200
|
+
- **Node.js Compatibility**: >=16.0.0
|
|
201
|
+
- **Zero Runtime Dependencies**: Verified โ
|
|
202
|
+
- **Package Size**: 499.0kB unpacked, 103.5kB packed
|
|
828
203
|
|
|
829
204
|
## ๐ Documentation
|
|
830
205
|
|
|
831
|
-
|
|
832
|
-
- **[API Reference](docs/api/API_REFERENCE.md)** - Command reference
|
|
833
|
-
- **[Configuration](docs/api/CONFIGURATION.md)** - Setup options
|
|
834
|
-
- **[PIN Protection Guide](docs/PIN_PROTECTION_GUIDE.md)** - Security features
|
|
835
|
-
|
|
836
|
-
## โ ๏ธ Important Notes
|
|
206
|
+
Complete documentation available at [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk):
|
|
837
207
|
|
|
838
|
-
- **
|
|
839
|
-
- **
|
|
840
|
-
- **
|
|
841
|
-
- **
|
|
208
|
+
- **[Setup Guide](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/SETUP.md)** - Getting started
|
|
209
|
+
- **[CLI Commands](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/COMMANDS.md)** - Command reference
|
|
210
|
+
- **[Framework Integration](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/FRAMEWORK_INTEGRATION.md)** - Framework setup
|
|
211
|
+
- **[Language Support](https://github.com/vladnoskv/i18ntk/blob/main/docs/core/LANGUAGE_SUPPORT.md)** - Language setup
|
|
212
|
+
- **[Changelog](https://github.com/vladnoskv/i18ntk/blob/main/CHANGELOG.md)** - Version history
|
|
842
213
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
Issues and pull requests welcome! See [Contributing Guide](CONTRIBUTING.md) for detailed setup instructions and development workflow.
|
|
846
|
-
|
|
847
|
-
## ๐ ๏ธ Troubleshooting
|
|
848
|
-
|
|
849
|
-
### Common Issues
|
|
850
|
-
|
|
851
|
-
#### Installation Problems
|
|
852
|
-
```bash
|
|
853
|
-
# Permission issues on macOS/Linux
|
|
854
|
-
sudo npm install -g i18ntk
|
|
855
|
-
|
|
856
|
-
# Windows PowerShell execution policy
|
|
857
|
-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
858
|
-
|
|
859
|
-
# Clear npm cache if needed
|
|
860
|
-
npm cache clean --force
|
|
861
|
-
```
|
|
862
|
-
|
|
863
|
-
#### Configuration Issues
|
|
864
|
-
```bash
|
|
865
|
-
# Reset to default configuration
|
|
866
|
-
i18ntk init --reset
|
|
867
|
-
|
|
868
|
-
# Validate configuration
|
|
869
|
-
i18ntk validate --config-only
|
|
870
|
-
|
|
871
|
-
# Debug configuration issues
|
|
872
|
-
i18ntk manage โ Settings โ Debug Config
|
|
873
|
-
```
|
|
874
|
-
|
|
875
|
-
#### Translation Problems
|
|
876
|
-
```bash
|
|
877
|
-
# Find missing translations
|
|
878
|
-
i18ntk validate --missing-only
|
|
879
|
-
|
|
880
|
-
# Check for duplicate keys
|
|
881
|
-
i18ntk validate --duplicates-only
|
|
882
|
-
|
|
883
|
-
# Analyze translation completeness
|
|
884
|
-
i18ntk analyze --detailed
|
|
885
|
-
```
|
|
886
|
-
|
|
887
|
-
### FAQ
|
|
888
|
-
|
|
889
|
-
**Q: How do I change the default language?**
|
|
890
|
-
A: Use `i18ntk manage` โ Settings โ Language โ Select your preferred language.
|
|
891
|
-
|
|
892
|
-
**Q: Can I use this with TypeScript?**
|
|
893
|
-
A: Yes! i18ntk fully supports TypeScript projects out of the box.
|
|
894
|
-
|
|
895
|
-
**Q: How do I add a new language?**
|
|
896
|
-
A: Run `i18ntk manage` โ Languages โ Add Language โ Select from supported languages.
|
|
897
|
-
|
|
898
|
-
**Q: What frameworks are supported?**
|
|
899
|
-
A: React, Next.js, Vue.js, Angular, and vanilla JavaScript/TypeScript.
|
|
900
|
-
|
|
901
|
-
**Q: How do I backup my translations?**
|
|
902
|
-
A: Enable auto-backup in settings or use `i18ntk manage` โ Backup โ Create Backup.
|
|
903
|
-
|
|
904
|
-
## ๐ CI/CD Integration
|
|
905
|
-
|
|
906
|
-
### GitHub Actions
|
|
907
|
-
```yaml
|
|
908
|
-
name: i18n Validation
|
|
909
|
-
on: [push, pull_request]
|
|
910
|
-
|
|
911
|
-
jobs:
|
|
912
|
-
validate-i18n:
|
|
913
|
-
runs-on: ubuntu-latest
|
|
914
|
-
steps:
|
|
915
|
-
- uses: actions/checkout@v3
|
|
916
|
-
- uses: actions/setup-node@v3
|
|
917
|
-
with:
|
|
918
|
-
node-version: '18'
|
|
919
|
-
- run: npm install -g i18ntk
|
|
920
|
-
- run: i18ntk validate --strict
|
|
921
|
-
- run: i18ntk summary --ci
|
|
922
|
-
```
|
|
923
|
-
|
|
924
|
-
### GitLab CI
|
|
925
|
-
```yaml
|
|
926
|
-
validate_i18n:
|
|
927
|
-
stage: test
|
|
928
|
-
image: node:18
|
|
929
|
-
script:
|
|
930
|
-
- npm install -g i18ntk
|
|
931
|
-
- i18ntk validate --strict
|
|
932
|
-
- i18ntk summary --ci
|
|
933
|
-
```
|
|
934
|
-
|
|
935
|
-
### Docker Integration
|
|
936
|
-
```dockerfile
|
|
937
|
-
FROM node:18-alpine
|
|
938
|
-
RUN npm install -g i18ntk
|
|
939
|
-
COPY . /app
|
|
940
|
-
WORKDIR /app
|
|
941
|
-
RUN i18ntk validate --strict
|
|
942
|
-
```
|
|
943
|
-
|
|
944
|
-
## ๐ Project Health
|
|
945
|
-
|
|
946
|
-
- โ
**Stable Release**: v1.5.0
|
|
947
|
-
- โ
**Production Ready**: Available on npm with growing adoption
|
|
948
|
-
- โ
**Security Audited**: Regular security reviews
|
|
949
|
-
- โ
**Performance Optimized**: Sub-second analysis times
|
|
950
|
-
- โ
**8-Language Support**: Complete internationalization
|
|
951
|
-
- โ
**Zero Dependencies**: No runtime dependencies - works with any framework
|
|
952
|
-
- โ
**Framework Agnostic**: Compatible with React, Vue, Angular, and vanilla JS
|
|
953
|
-
- โ
**CI/CD Ready**: Complete GitHub Actions integration
|
|
954
|
-
- โ
**Benchmarked**: Performance monitoring and regression detection
|
|
955
|
-
- โ
**Optimized Package**: 15.7% smaller package size
|
|
956
|
-
|
|
957
|
-
## ๐ Performance Metrics
|
|
958
|
-
|
|
959
|
-
| Metric | Value |
|
|
960
|
-
|--------|--------|
|
|
961
|
-
| **Analysis Speed** | ~1,700-2,060 files/second |
|
|
962
|
-
| **Memory Usage** | <50MB for large projects |
|
|
963
|
-
| **Package Size** | ~1.5MB (compressed) |
|
|
964
|
-
| **Startup Time** | <500ms |
|
|
965
|
-
| **Language Switching** | Instant |
|
|
966
|
-
| **Zero Dependencies** | No runtime dependencies |
|
|
967
|
-
| **Framework Support** | Universal compatibility |
|
|
968
|
-
| **Large Dataset Performance** | 50K translations in ~29 seconds |
|
|
969
|
-
| **Memory Efficiency** | Stable memory usage across all dataset sizes |
|
|
970
|
-
|
|
971
|
-
## ๐ Latest Improvements (v1.5.0+)
|
|
972
|
-
|
|
973
|
-
### ๐ฏ Zero Dependencies Achievement
|
|
974
|
-
- **Removed i18next dependency**: Package now has zero runtime dependencies
|
|
975
|
-
- **Universal compatibility**: Works with any i18n framework or vanilla JavaScript
|
|
976
|
-
- **Faster installation**: No additional packages to download
|
|
977
|
-
- **Smaller footprint**: Reduced package size by 15.7%
|
|
978
|
-
- **Framework agnostic**: Compatible with React, Vue, Angular, Next.js, and more
|
|
979
|
-
|
|
980
|
-
### โก Performance & Benchmarking (Available on GitHub Only)
|
|
981
|
-
- **Performance benchmarking framework**: Complete suite for measuring translation analysis performance
|
|
982
|
-
- **Regression detection**: Automated performance monitoring with baseline comparisons
|
|
983
|
-
- **Dataset testing**: Tested across 100, 1K, 10K, and 50K translation datasets
|
|
984
|
-
- **Memory profiling**: Detailed memory usage analysis for optimization
|
|
985
|
-
- **Throughput metrics**: Real-time performance tracking and reporting
|
|
986
|
-
|
|
987
|
-
### ๐ CI/CD Integration
|
|
988
|
-
- **GitHub Actions workflows**: Automated release and security scanning
|
|
989
|
-
- **Performance regression testing**: Prevents performance degradation in PRs
|
|
990
|
-
- **Security scanning**: Automated vulnerability detection
|
|
991
|
-
- **Cross-platform testing**: Windows is supported, Linux and Mac has not been tested.
|
|
992
|
-
- **npm scripts**: `benchmark`, `benchmark:ci`, `benchmark:baseline` commands
|
|
993
|
-
|
|
994
|
-
### ๐ฆ Package Optimization
|
|
995
|
-
- **15.7% size reduction**: From 1.78MB to 1.5MB unpacked
|
|
996
|
-
- **Multiple files removed**: Optimized package contents for production
|
|
997
|
-
- **Enhanced .npmignore**: Excludes benchmarks, docs, and dev files from npm package
|
|
998
|
-
- **Streamlined dependencies**: Zero runtime dependencies
|
|
999
|
-
- **Faster startup**: Improved initialization performance
|
|
1000
|
-
|
|
1001
|
-
## ๐ก๏ธ Security Features
|
|
1002
|
-
|
|
1003
|
-
- **PIN Protection**: Optional 4-10 digit PIN protection
|
|
1004
|
-
- **AES-256-GCM Encryption**: High-grade data encryption
|
|
1005
|
-
- **Session Management**: Automatic timeout after 30 minutes
|
|
1006
|
-
- **Audit Logging**: Complete operation history
|
|
1007
|
-
- **Secure Storage**: Encrypted configuration storage
|
|
1008
|
-
- **Input Validation**: Comprehensive input sanitization
|
|
1009
|
-
|
|
1010
|
-
## ๐ Additional Resources
|
|
1011
|
-
|
|
1012
|
-
### Documentation Links
|
|
1013
|
-
- **[๐ Complete API Reference](docs/api/API_REFERENCE.md)**
|
|
1014
|
-
- **[๐ฏ Framework Integration Guide](docs/INSTALLATION.md)**
|
|
1015
|
-
- **[๐ PIN Protection Guide](docs/PIN_PROTECTION_GUIDE.md)**
|
|
1016
|
-
- **[๐ Translation Status](docs/TRANSLATION_STATUS.md)**
|
|
1017
|
-
- **[๐ ๏ธ Debug Tools](docs/debug/DEBUG_TOOLS.md)**
|
|
1018
|
-
|
|
1019
|
-
### Community Resources
|
|
1020
|
-
- **[๐ฌ GitHub Discussions](https://github.com/vladnoskov/i18ntk/discussions)**
|
|
1021
|
-
- **[๐ Issue Tracker](https://github.com/vladnoskov/i18ntk/issues)**
|
|
1022
|
-
- **[โญ Feature Requests](https://github.com/vladnoskov/i18ntk/issues/new?template=feature_request.md)**
|
|
1023
|
-
|
|
1024
|
-
### Examples & Templates
|
|
1025
|
-
- **[๐ Example Projects](examples/)**
|
|
1026
|
-
- **[๐ฏ Configuration Templates](templates/)**
|
|
1027
|
-
- **[๐ง CI/CD Examples](docs/development/)**
|
|
1028
|
-
|
|
1029
|
-
## ๐ค Contributing
|
|
1030
|
-
|
|
1031
|
-
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
1032
|
-
|
|
1033
|
-
### Quick Contribution Steps
|
|
1034
|
-
1. Fork the repository
|
|
1035
|
-
2. Create a feature branch: `git checkout -b feature/amazing-feature`
|
|
1036
|
-
3. Make your changes
|
|
1037
|
-
4. Run tests: `npm test`
|
|
1038
|
-
5. Commit: `git commit -m 'Add amazing feature'`
|
|
1039
|
-
6. Push: `git push origin feature/amazing-feature`
|
|
1040
|
-
7. Open a Pull Request
|
|
1041
|
-
|
|
1042
|
-
## ๐ Versioning Policy
|
|
1043
|
-
|
|
1044
|
-
This project follows [Semantic Versioning (SemVer)](https://semver.org/) with the format `MAJOR.MINOR.PATCH`:
|
|
1045
|
-
|
|
1046
|
-
- **MAJOR**: Incompatible API changes
|
|
1047
|
-
- **MINOR**: Backward-compatible functionality additions
|
|
1048
|
-
- **PATCH**: Backward-compatible bug fixes
|
|
1049
|
-
|
|
1050
|
-
Version numbers and release dates are synchronized across:
|
|
1051
|
-
- `package.json` version field
|
|
1052
|
-
- GitHub releases and tags
|
|
1053
|
-
- CHANGELOG.md entries
|
|
1054
|
-
- README.md documentation
|
|
1055
|
-
|
|
1056
|
-
## ๐ License
|
|
1057
|
-
|
|
1058
|
-
**MIT License** - see [LICENSE](LICENSE) file for full details.
|
|
214
|
+
---
|
|
1059
215
|
|
|
1060
|
-
##
|
|
216
|
+
## โญ Trusted by Developers Worldwide
|
|
1061
217
|
|
|
1062
|
-
|
|
1063
|
-
- **Community Contributors** - Translation contributions and bug reports
|
|
1064
|
-
- **Open Source Libraries** - Built with amazing open source tools
|
|
218
|
+
**Join hundreds (soon thousands) of developers** who have streamlined their internationalization workflow with i18ntk.
|
|
1065
219
|
|
|
1066
|
-
|
|
220
|
+
- โ
**Zero configuration** - Works out of the box
|
|
221
|
+
- โ
**Production ready** - Battle-tested in enterprise environments
|
|
222
|
+
- โ
**Active development** - Regular updates and improvements
|
|
223
|
+
- โ
**Community driven** - Built by developers, for developers
|
|
1067
224
|
|
|
1068
|
-
|
|
1069
|
-
<strong>โญ Star this repository if you find it helpful! โญ</strong>
|
|
1070
|
-
<br>
|
|
1071
|
-
<sub>Built with โค๏ธ for the internationalization community</sub>
|
|
1072
|
-
</div>
|
|
225
|
+
### **Made with โค๏ธ for the developer community** P.S I'm looking for a JOB!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i18ntk",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "i18ntk (i18n Toolkit) - A comprehensive, enterprise-grade internationalization (i18n) management toolkit for JavaScript/TypeScript projects with advanced analysis, validation, and automation features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"path-resolution",
|
|
25
25
|
"directory-configuration"
|
|
26
26
|
],
|
|
27
|
-
"homepage": "https://github.com/vladnoskv/
|
|
27
|
+
"homepage": "https://github.com/vladnoskv/i18ntk#readme",
|
|
28
28
|
"bugs": {
|
|
29
|
-
"url": "https://github.com/vladnoskv/
|
|
29
|
+
"url": "https://github.com/vladnoskv/i18ntk/issues"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/vladnoskv/
|
|
33
|
+
"url": "git+https://github.com/vladnoskv/i18ntk.git"
|
|
34
34
|
},
|
|
35
35
|
"funding": {
|
|
36
36
|
"type": "github",
|
|
@@ -127,9 +127,9 @@
|
|
|
127
127
|
},
|
|
128
128
|
"preferGlobal": true,
|
|
129
129
|
"versionInfo": {
|
|
130
|
-
"version": "1.5.
|
|
131
|
-
"releaseDate": "
|
|
132
|
-
"lastUpdated": "
|
|
130
|
+
"version": "1.5.2",
|
|
131
|
+
"releaseDate": "08/06/2025",
|
|
132
|
+
"lastUpdated": "08/06/2025",
|
|
133
133
|
"maintainer": "Vladimir Noskov",
|
|
134
134
|
"changelog": "./CHANGELOG.md",
|
|
135
135
|
"documentation": "./README.md",
|
|
@@ -144,16 +144,28 @@
|
|
|
144
144
|
"๐ Reset to defaults functionality for PIN protection settings",
|
|
145
145
|
"๐งช Enhanced test coverage for security features",
|
|
146
146
|
"๐ Updated documentation for new security features",
|
|
147
|
-
"๐ Complete translation updates across all
|
|
147
|
+
"๐ Complete translation updates across all 7 languages",
|
|
148
|
+
"๐ฆ Package size optimization - reduced from 536kB to under 500kB",
|
|
149
|
+
"๐ Enhanced framework support for Next.js, Nuxt.js, SvelteKit, and more"
|
|
148
150
|
],
|
|
149
151
|
"breakingChanges": [],
|
|
150
|
-
"deprecations": ["<1.
|
|
152
|
+
"deprecations": ["<1.5.0", "1.0.x", "1.1.x", "1.2.x", "1.3.x", "1.4.x"],
|
|
151
153
|
"nextVersion": "1.6.0",
|
|
152
154
|
"supportedNodeVersions": ">=16.0.0",
|
|
153
155
|
"supportedFrameworks": {
|
|
154
156
|
"react-i18next": ">=11.0.0",
|
|
155
157
|
"vue-i18n": ">=9.0.0",
|
|
156
|
-
"angular-i18n": ">=12.0.0"
|
|
158
|
+
"angular-i18n": ">=12.0.0",
|
|
159
|
+
"next-i18next": ">=13.0.0",
|
|
160
|
+
"nuxt-i18n": ">=8.0.0",
|
|
161
|
+
"svelte-i18n": ">=3.0.0",
|
|
162
|
+
"sveltekit-i18n": ">=2.0.0",
|
|
163
|
+
"react-native-localize": ">=2.0.0",
|
|
164
|
+
"expo-localization": ">=14.0.0",
|
|
165
|
+
"ionic-angular": ">=6.0.0",
|
|
166
|
+
"ember-intl": ">=5.0.0",
|
|
167
|
+
"formatjs": ">=2.0.0",
|
|
168
|
+
"i18next": ">=21.0.0"
|
|
157
169
|
}
|
|
158
170
|
}
|
|
159
171
|
}
|
package/settings/settings-cli.js
CHANGED
|
@@ -1178,12 +1178,12 @@ class SettingsCLI {
|
|
|
1178
1178
|
console.log(`${colors.bright}${this.t('settings.reportBug.title')}${colors.reset}\n`);
|
|
1179
1179
|
console.log(this.t('settings.reportBug.description'));
|
|
1180
1180
|
console.log(`
|
|
1181
|
-
${colors.dim}${this.t('settings.reportBug.link')}: https://github.com/vladnoskv/
|
|
1181
|
+
${colors.dim}${this.t('settings.reportBug.link')}: https://github.com/vladnoskv/i18ntk/issues${colors.reset}
|
|
1182
1182
|
`);
|
|
1183
1183
|
|
|
1184
1184
|
try {
|
|
1185
1185
|
const { exec } = require('child_process');
|
|
1186
|
-
const url = 'https://github.com/vladnoskv/
|
|
1186
|
+
const url = 'https://github.com/vladnoskv/i18ntk/issues';
|
|
1187
1187
|
|
|
1188
1188
|
// Try to open the URL in the default browser
|
|
1189
1189
|
let command;
|
|
@@ -1209,7 +1209,7 @@ ${colors.dim}${this.t('settings.reportBug.link')}: https://github.com/vladnoskv/
|
|
|
1209
1209
|
});
|
|
1210
1210
|
} catch (error) {
|
|
1211
1211
|
console.log(`${colors.yellow}${this.t('settings.reportBug.browserOpenFailed')}${colors.reset}`);
|
|
1212
|
-
console.log(`${this.t('settings.reportBug.manualVisit', { url: 'https://github.com/vladnoskv/
|
|
1212
|
+
console.log(`${this.t('settings.reportBug.manualVisit', { url: 'https://github.com/vladnoskv/i18ntk/issues' })}`);
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
1215
|
await this.pause();
|