i18ntk 1.4.2 → 1.5.1
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 +155 -13
- package/LICENSE +4 -1
- package/README.md +189 -450
- package/main/i18ntk-analyze.js +55 -5
- package/main/i18ntk-autorun.js +46 -98
- package/main/i18ntk-complete.js +20 -9
- package/main/i18ntk-init.js +9 -10
- package/main/i18ntk-manage.js +8 -7
- package/main/i18ntk-sizing.js +18 -3
- package/main/i18ntk-summary.js +17 -8
- package/main/i18ntk-ui.js +53 -39
- package/main/i18ntk-usage.js +7 -7
- package/main/i18ntk-validate.js +6 -6
- package/main/validate-translations.js +0 -74
- package/package.json +28 -24
- package/scripts/debug/README.md +2 -2
- package/scripts/debug/debugger.js +176 -392
- package/scripts/export-translations.js +57 -30
- package/scripts/sync-translations.js +1 -1
- package/scripts/test-runner.js +5 -5
- package/scripts/validate-all-translations.js +1 -1
- package/scripts/verify-package.js +50 -168
- package/settings/language-config.json +6 -0
- package/settings/settings-cli.js +88 -4
- package/settings/settings-manager.js +11 -7
- package/utils/admin-cli.js +3 -2
- package/utils/admin-pin.js +179 -60
- package/utils/i18n-helper.js +55 -33
- package/utils/security-check.js +347 -0
- package/utils/security-config.js +255 -0
- package/utils/security.js +1 -1
- package/locales/de/common.json +0 -20
- package/locales/en/common.json +0 -20
- package/locales/es/common.json +0 -20
- package/locales/fr/common.json +0 -20
- package/locales/ru/common.json +0 -20
- package/scripts/copy-translations.js +0 -90
- package/scripts/debug/complete-console-translations.js +0 -295
- package/scripts/debug/console-key-checker.js +0 -408
- package/scripts/debug/console-translations.js +0 -335
- package/scripts/debug/export-missing-keys.js +0 -432
- package/scripts/debug/final-normalize.js +0 -236
- package/scripts/debug/find-extra-keys.js +0 -68
- package/scripts/debug/normalize-locales.js +0 -153
- package/scripts/debug/refactor-locales.js +0 -240
- package/scripts/debug/reorder-locales.js +0 -85
- package/scripts/debug/replace-hardcoded-console.js +0 -378
- package/scripts/fix-missing-translation-keys.js +0 -214
- package/scripts/sync-pt-translations.js +0 -115
- package/scripts/test-translations.js +0 -220
- package/ui-locales/de/adminCli.json +0 -43
- package/ui-locales/de/adminPin.json +0 -32
- package/ui-locales/de/analyze.json +0 -78
- package/ui-locales/de/autorun.json +0 -72
- package/ui-locales/de/common.json +0 -40
- package/ui-locales/de/complete.json +0 -33
- package/ui-locales/de/debug.json +0 -21
- package/ui-locales/de/detect-language-mismatches.json +0 -52
- package/ui-locales/de/errors.json +0 -17
- package/ui-locales/de/help.json +0 -88
- package/ui-locales/de/i18n-helper.json +0 -9
- package/ui-locales/de/init.json +0 -58
- package/ui-locales/de/language.json +0 -13
- package/ui-locales/de/maintain-language-purity.json +0 -21
- package/ui-locales/de/menu.json +0 -45
- package/ui-locales/de/native-translations.json +0 -22
- package/ui-locales/de/operations.json +0 -79
- package/ui-locales/de/security.json +0 -26
- package/ui-locales/de/settings-cli.json +0 -40
- package/ui-locales/de/settings-manager.json +0 -27
- package/ui-locales/de/settings.json +0 -395
- package/ui-locales/de/sizing.json +0 -52
- package/ui-locales/de/status.json +0 -27
- package/ui-locales/de/summary.json +0 -136
- package/ui-locales/de/test-complete-system.json +0 -40
- package/ui-locales/de/test-console-i18n.json +0 -36
- package/ui-locales/de/translate-mismatches.json +0 -26
- package/ui-locales/de/ui.json +0 -11
- package/ui-locales/de/usage.json +0 -113
- package/ui-locales/de/validate-language-purity.json +0 -51
- package/ui-locales/de/validate.json +0 -85
- package/ui-locales/de/workflow.json +0 -16
- package/ui-locales/en/adminCli.json +0 -44
- package/ui-locales/en/adminPin.json +0 -33
- package/ui-locales/en/analyze.json +0 -78
- package/ui-locales/en/autorun.json +0 -72
- package/ui-locales/en/common.json +0 -40
- package/ui-locales/en/complete.json +0 -34
- package/ui-locales/en/debug.json +0 -21
- package/ui-locales/en/detect-language-mismatches.json +0 -52
- package/ui-locales/en/errors.json +0 -17
- package/ui-locales/en/help.json +0 -88
- package/ui-locales/en/i18n-helper.json +0 -9
- package/ui-locales/en/init.json +0 -59
- package/ui-locales/en/language.json +0 -13
- package/ui-locales/en/maintain-language-purity.json +0 -19
- package/ui-locales/en/menu.json +0 -45
- package/ui-locales/en/native-translations.json +0 -22
- package/ui-locales/en/operations.json +0 -79
- package/ui-locales/en/security.json +0 -26
- package/ui-locales/en/settings-cli.json +0 -40
- package/ui-locales/en/settings-manager.json +0 -27
- package/ui-locales/en/settings.json +0 -456
- package/ui-locales/en/sizing.json +0 -60
- package/ui-locales/en/status.json +0 -27
- package/ui-locales/en/summary.json +0 -136
- package/ui-locales/en/test-complete-system.json +0 -40
- package/ui-locales/en/test-console-i18n.json +0 -36
- package/ui-locales/en/translate-mismatches.json +0 -26
- package/ui-locales/en/ui.json +0 -26
- package/ui-locales/en/usage.json +0 -114
- package/ui-locales/en/validate-language-purity.json +0 -51
- package/ui-locales/en/validate.json +0 -85
- package/ui-locales/en/workflow.json +0 -46
- package/ui-locales/es/adminCli.json +0 -41
- package/ui-locales/es/adminPin.json +0 -33
- package/ui-locales/es/analyze.json +0 -78
- package/ui-locales/es/autorun.json +0 -72
- package/ui-locales/es/common.json +0 -40
- package/ui-locales/es/complete.json +0 -33
- package/ui-locales/es/debug.json +0 -21
- package/ui-locales/es/detect-language-mismatches.json +0 -52
- package/ui-locales/es/errors.json +0 -17
- package/ui-locales/es/help.json +0 -88
- package/ui-locales/es/i18n-helper.json +0 -9
- package/ui-locales/es/init.json +0 -58
- package/ui-locales/es/language.json +0 -13
- package/ui-locales/es/maintain-language-purity.json +0 -19
- package/ui-locales/es/menu.json +0 -45
- package/ui-locales/es/native-translations.json +0 -22
- package/ui-locales/es/operations.json +0 -79
- package/ui-locales/es/security.json +0 -26
- package/ui-locales/es/settings-cli.json +0 -40
- package/ui-locales/es/settings-manager.json +0 -27
- package/ui-locales/es/settings.json +0 -393
- package/ui-locales/es/sizing.json +0 -59
- package/ui-locales/es/status.json +0 -27
- package/ui-locales/es/summary.json +0 -136
- package/ui-locales/es/test-complete-system.json +0 -40
- package/ui-locales/es/test-console-i18n.json +0 -36
- package/ui-locales/es/translate-mismatches.json +0 -26
- package/ui-locales/es/ui.json +0 -11
- package/ui-locales/es/usage.json +0 -113
- package/ui-locales/es/validate-language-purity.json +0 -51
- package/ui-locales/es/validate.json +0 -85
- package/ui-locales/es/workflow.json +0 -16
- package/ui-locales/fr/adminCli.json +0 -41
- package/ui-locales/fr/adminPin.json +0 -29
- package/ui-locales/fr/analyze.json +0 -78
- package/ui-locales/fr/autorun.json +0 -72
- package/ui-locales/fr/common.json +0 -40
- package/ui-locales/fr/complete.json +0 -33
- package/ui-locales/fr/debug.json +0 -21
- package/ui-locales/fr/detect-language-mismatches.json +0 -52
- package/ui-locales/fr/errors.json +0 -17
- package/ui-locales/fr/help.json +0 -88
- package/ui-locales/fr/i18n-helper.json +0 -9
- package/ui-locales/fr/init.json +0 -58
- package/ui-locales/fr/language.json +0 -13
- package/ui-locales/fr/maintain-language-purity.json +0 -19
- package/ui-locales/fr/menu.json +0 -45
- package/ui-locales/fr/native-translations.json +0 -22
- package/ui-locales/fr/operations.json +0 -79
- package/ui-locales/fr/security.json +0 -26
- package/ui-locales/fr/settings-cli.json +0 -40
- package/ui-locales/fr/settings-manager.json +0 -27
- package/ui-locales/fr/settings.json +0 -395
- package/ui-locales/fr/sizing.json +0 -59
- package/ui-locales/fr/status.json +0 -27
- package/ui-locales/fr/summary.json +0 -136
- package/ui-locales/fr/test-complete-system.json +0 -40
- package/ui-locales/fr/test-console-i18n.json +0 -36
- package/ui-locales/fr/translate-mismatches.json +0 -26
- package/ui-locales/fr/ui.json +0 -11
- package/ui-locales/fr/usage.json +0 -113
- package/ui-locales/fr/validate-language-purity.json +0 -51
- package/ui-locales/fr/validate.json +0 -85
- package/ui-locales/fr/workflow.json +0 -16
- package/ui-locales/ja/adminCli.json +0 -42
- package/ui-locales/ja/adminPin.json +0 -31
- package/ui-locales/ja/analyze.json +0 -78
- package/ui-locales/ja/autorun.json +0 -72
- package/ui-locales/ja/common.json +0 -40
- package/ui-locales/ja/complete.json +0 -33
- package/ui-locales/ja/debug.json +0 -21
- package/ui-locales/ja/detect-language-mismatches.json +0 -52
- package/ui-locales/ja/errors.json +0 -17
- package/ui-locales/ja/help.json +0 -88
- package/ui-locales/ja/i18n-helper.json +0 -9
- package/ui-locales/ja/init.json +0 -58
- package/ui-locales/ja/language.json +0 -13
- package/ui-locales/ja/maintain-language-purity.json +0 -19
- package/ui-locales/ja/menu.json +0 -45
- package/ui-locales/ja/native-translations.json +0 -22
- package/ui-locales/ja/operations.json +0 -79
- package/ui-locales/ja/security.json +0 -26
- package/ui-locales/ja/settings-cli.json +0 -5
- package/ui-locales/ja/settings-manager.json +0 -27
- package/ui-locales/ja/settings.json +0 -375
- package/ui-locales/ja/sizing.json +0 -59
- package/ui-locales/ja/status.json +0 -27
- package/ui-locales/ja/summary.json +0 -136
- package/ui-locales/ja/test-complete-system.json +0 -40
- package/ui-locales/ja/test-console-i18n.json +0 -36
- package/ui-locales/ja/translate-mismatches.json +0 -26
- package/ui-locales/ja/ui.json +0 -11
- package/ui-locales/ja/usage.json +0 -113
- package/ui-locales/ja/validate-language-purity.json +0 -51
- package/ui-locales/ja/validate.json +0 -85
- package/ui-locales/ja/workflow.json +0 -16
- package/ui-locales/pt/adminCli.json +0 -41
- package/ui-locales/pt/adminPin.json +0 -29
- package/ui-locales/pt/analyze.json +0 -78
- package/ui-locales/pt/autorun.json +0 -72
- package/ui-locales/pt/common.json +0 -40
- package/ui-locales/pt/complete.json +0 -33
- package/ui-locales/pt/debug.json +0 -21
- package/ui-locales/pt/detect-language-mismatches.json +0 -52
- package/ui-locales/pt/errors.json +0 -17
- package/ui-locales/pt/help.json +0 -221
- package/ui-locales/pt/i18n-helper.json +0 -9
- package/ui-locales/pt/init.json +0 -58
- package/ui-locales/pt/language.json +0 -13
- package/ui-locales/pt/maintain-language-purity.json +0 -19
- package/ui-locales/pt/menu.json +0 -45
- package/ui-locales/pt/native-translations.json +0 -22
- package/ui-locales/pt/operations.json +0 -79
- package/ui-locales/pt/security.json +0 -26
- package/ui-locales/pt/settings-cli.json +0 -40
- package/ui-locales/pt/settings-manager.json +0 -27
- package/ui-locales/pt/settings.json +0 -327
- package/ui-locales/pt/sizing.json +0 -60
- package/ui-locales/pt/status.json +0 -27
- package/ui-locales/pt/summary.json +0 -136
- package/ui-locales/pt/test-complete-system.json +0 -40
- package/ui-locales/pt/test-console-i18n.json +0 -36
- package/ui-locales/pt/translate-mismatches.json +0 -26
- package/ui-locales/pt/ui.json +0 -26
- package/ui-locales/pt/usage.json +0 -113
- package/ui-locales/pt/validate-language-purity.json +0 -53
- package/ui-locales/pt/validate.json +0 -85
- package/ui-locales/pt/workflow.json +0 -46
- package/ui-locales/ru/adminCli.json +0 -42
- package/ui-locales/ru/adminPin.json +0 -30
- package/ui-locales/ru/analyze.json +0 -78
- package/ui-locales/ru/autorun.json +0 -73
- package/ui-locales/ru/common.json +0 -40
- package/ui-locales/ru/complete.json +0 -33
- package/ui-locales/ru/debug.json +0 -21
- package/ui-locales/ru/detect-language-mismatches.json +0 -52
- package/ui-locales/ru/errors.json +0 -17
- package/ui-locales/ru/help.json +0 -88
- package/ui-locales/ru/i18n-helper.json +0 -9
- package/ui-locales/ru/init.json +0 -58
- package/ui-locales/ru/language.json +0 -13
- package/ui-locales/ru/maintain-language-purity.json +0 -19
- package/ui-locales/ru/menu.json +0 -45
- package/ui-locales/ru/native-translations.json +0 -22
- package/ui-locales/ru/operations.json +0 -79
- package/ui-locales/ru/security.json +0 -26
- package/ui-locales/ru/settings-cli.json +0 -5
- package/ui-locales/ru/settings-manager.json +0 -27
- package/ui-locales/ru/settings.json +0 -375
- package/ui-locales/ru/sizing.json +0 -60
- package/ui-locales/ru/status.json +0 -27
- package/ui-locales/ru/summary.json +0 -136
- package/ui-locales/ru/test-complete-system.json +0 -40
- package/ui-locales/ru/test-console-i18n.json +0 -36
- package/ui-locales/ru/translate-mismatches.json +0 -26
- package/ui-locales/ru/ui.json +0 -11
- package/ui-locales/ru/usage.json +0 -113
- package/ui-locales/ru/validate-language-purity.json +0 -49
- package/ui-locales/ru/validate.json +0 -85
- package/ui-locales/ru/workflow.json +0 -16
- package/ui-locales/zh/adminCli.json +0 -42
- package/ui-locales/zh/adminPin.json +0 -29
- package/ui-locales/zh/analyze.json +0 -78
- package/ui-locales/zh/autorun.json +0 -72
- package/ui-locales/zh/common.json +0 -40
- package/ui-locales/zh/complete.json +0 -33
- package/ui-locales/zh/debug.json +0 -21
- package/ui-locales/zh/detect-language-mismatches.json +0 -52
- package/ui-locales/zh/errors.json +0 -17
- package/ui-locales/zh/help.json +0 -88
- package/ui-locales/zh/i18n-helper.json +0 -9
- package/ui-locales/zh/init.json +0 -60
- package/ui-locales/zh/language.json +0 -13
- package/ui-locales/zh/maintain-language-purity.json +0 -19
- package/ui-locales/zh/menu.json +0 -45
- package/ui-locales/zh/native-translations.json +0 -22
- package/ui-locales/zh/operations.json +0 -79
- package/ui-locales/zh/security.json +0 -26
- package/ui-locales/zh/settings-cli.json +0 -40
- package/ui-locales/zh/settings-manager.json +0 -27
- package/ui-locales/zh/settings.json +0 -396
- package/ui-locales/zh/sizing.json +0 -60
- package/ui-locales/zh/status.json +0 -27
- package/ui-locales/zh/summary.json +0 -136
- package/ui-locales/zh/test-complete-system.json +0 -40
- package/ui-locales/zh/test-console-i18n.json +0 -36
- package/ui-locales/zh/translate-mismatches.json +0 -26
- package/ui-locales/zh/ui.json +0 -26
- package/ui-locales/zh/usage.json +0 -113
- package/ui-locales/zh/validate-language-purity.json +0 -51
- package/ui-locales/zh/validate.json +0 -85
- package/ui-locales/zh/workflow.json +0 -44
- package/utils/detect-language-mismatches.js +0 -455
- package/utils/maintain-language-purity.js +0 -438
- package/utils/native-translations.js +0 -478
- package/utils/test-complete-system.js +0 -391
- package/utils/test-console-i18n.js +0 -402
- package/utils/translate-mismatches.js +0 -571
- package/utils/validate-language-purity.js +0 -532
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,158 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the i18n Management Toolkit will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
**Current Version:** 1.5.1
|
|
9
|
+
|
|
10
|
+
## [1.5.1] - 2025-08-06
|
|
11
|
+
|
|
12
|
+
### 🆕 Added
|
|
13
|
+
- **Framework clarification documentation** - Explicitly states that frameworks are optional
|
|
14
|
+
- **Streamlined README** - Concise overview with detailed documentation links
|
|
15
|
+
- **Updated GitHub URL** - New repository location at [vladnoskv/i18ntk](https://github.com/vladnoskv/i18ntk)
|
|
16
|
+
- **Enhanced compatibility documentation** - Clear guidance for framework vs. framework-free usage
|
|
17
|
+
|
|
18
|
+
### 🔧 Changed
|
|
19
|
+
- **Documentation structure** - Moved detailed content to GitHub docs
|
|
20
|
+
- **Version references** - Updated all documentation to v1.5.1
|
|
21
|
+
- **GitHub URLs** - Updated to new repository location
|
|
22
|
+
- **README.md** - Streamlined with documentation links instead of detailed content
|
|
23
|
+
|
|
24
|
+
### 📚 Documentation
|
|
25
|
+
- **Framework integration guide** - Clarified that frameworks are optional
|
|
26
|
+
- **Setup documentation** - Updated installation and configuration guides
|
|
27
|
+
- **Troubleshooting** - Added framework-specific guidance
|
|
28
|
+
- **Community resources** - Updated all links to new repository
|
|
29
|
+
|
|
30
|
+
## [1.5.0] - 2025-08-05
|
|
31
|
+
|
|
32
|
+
### 🚀 **MAJOR PACKAGE OPTIMIZATION** - 68% Size Reduction
|
|
33
|
+
- **🔥 MASSIVE size reduction**: 1.7MB → 536KB unpacked (68% reduction)
|
|
34
|
+
- **📦 Compressed package**: 316.5kB → 111.8kB packed (65% reduction)
|
|
35
|
+
- **🎯 Production-ready**: 39 files vs 256+ fragmented files
|
|
36
|
+
- **⚡ Enhanced performance**: Zero runtime dependencies, framework-agnostic
|
|
37
|
+
|
|
38
|
+
### 🏗️ Monolithic Translation Architecture - **Major Refactoring**
|
|
39
|
+
- **97% file reduction**: 256+ fragmented files → 8 consolidated files
|
|
40
|
+
- **12% size reduction** through intelligent deduplication
|
|
41
|
+
- **Single source of truth** per language with hierarchical namespacing
|
|
42
|
+
- **Enhanced maintainability** with clear organization
|
|
43
|
+
- **Improved performance** with reduced I/O operations
|
|
44
|
+
- **Backward compatibility** maintained with automatic key mapping
|
|
45
|
+
|
|
46
|
+
### 🗑️ Language & Dependency Cleanup
|
|
47
|
+
- **Removed Portuguese language** support (pt) - streamlined to 7 core languages
|
|
48
|
+
- **Zero runtime dependencies** - framework-agnostic design
|
|
49
|
+
- **Simplified release process** with manual versioning
|
|
50
|
+
- **Cleaner CI/CD workflows** without semantic-release complexity
|
|
51
|
+
|
|
52
|
+
### 🌍 Complete Internationalization Overhaul
|
|
53
|
+
- **Fixed all hardcoded error messages** - Replaced remaining hardcoded English strings with proper translation keys
|
|
54
|
+
- **Enhanced validation error handling** - All error messages now support full internationalization across 7 languages
|
|
55
|
+
- **Added comprehensive validation keys** - New translation keys for file operations, directory validation, and error states
|
|
56
|
+
- **Complete error message coverage** - All console error messages now support full internationalization
|
|
57
|
+
- **Translation consistency** - All language files synchronized with new validation keys across EN, DE, ES, FR, JA, ZH, RU
|
|
58
|
+
- **Standardized translation system** - All scripts now use unified i18n-helper.js for consistent translation behavior
|
|
59
|
+
|
|
60
|
+
### 🔧 Validation & Error Handling Improvements
|
|
61
|
+
- **Source directory validation** - Enhanced error messages for missing source directories
|
|
62
|
+
- **JSON file discovery** - Better error handling when no JSON files found in source directories
|
|
63
|
+
- **I18n directory validation** - Improved error messages for missing i18n directories
|
|
64
|
+
- **File path validation** - Enhanced validation for invalid file paths and directory structures
|
|
65
|
+
- **Write operation feedback** - Clearer error messages for file write failures
|
|
66
|
+
- **Sample file creation** - Better error handling for sample translation file creation
|
|
67
|
+
|
|
68
|
+
### 🎯 Translation Key Additions
|
|
69
|
+
- **Added 7 new validation keys** across all language files:
|
|
70
|
+
- `noJsonFilesFound` - When no JSON files found in source directory
|
|
71
|
+
- `i18nDirectoryNotFound` - When i18n directory is missing
|
|
72
|
+
- `invalidDirectoryPaths` - When directory paths are invalid
|
|
73
|
+
- `invalidSampleFilePath` - When sample file path is invalid
|
|
74
|
+
- `failedToCreateSampleTranslationFile` - When sample file creation fails
|
|
75
|
+
- `invalidFilePathDetected` - When invalid file paths are detected
|
|
76
|
+
- `failedToWriteFile` - When file write operations fail
|
|
77
|
+
|
|
78
|
+
### 🛠️ Code Quality & Consistency
|
|
79
|
+
- **Standardized error handling** - Consistent error message patterns across all scripts
|
|
80
|
+
- **Translation fallback support** - All translation keys include English fallback messages
|
|
81
|
+
- **Improved error context** - Better contextual information in error messages
|
|
82
|
+
- **Cross-language consistency** - All 8 language files updated with identical key structures
|
|
83
|
+
- **Backward compatibility** - Maintained existing functionality while adding new features
|
|
84
|
+
|
|
85
|
+
### 🌍 Complete Internationalization Overhaul
|
|
86
|
+
- **Fixed all hardcoded English strings** - Comprehensive translation support across all UI components
|
|
87
|
+
- **Enhanced admin-pin.js** - Full translation key support for all PIN management operations
|
|
88
|
+
- **Added missing translation keys** - 15+ new keys for PIN setup, verification, and security warnings
|
|
89
|
+
- **Complete UI language coverage** - All console messages now support full internationalization
|
|
90
|
+
- **Translation validation** - All language files synchronized across 8 supported languages
|
|
91
|
+
|
|
92
|
+
### 🎯 Zero Dependencies Revolution
|
|
93
|
+
- **Removed i18next dependency** - Package now has zero runtime dependencies
|
|
94
|
+
- **Universal framework compatibility** - Works with React, Vue, Angular, Next.js, and vanilla JavaScript
|
|
95
|
+
- **Faster installation** - No additional packages to download
|
|
96
|
+
- **Enhanced portability** - Framework-agnostic design
|
|
97
|
+
|
|
98
|
+
### ⚡ **PRECISE PERFORMANCE METRICS** - August 5, 2025 Benchmarks
|
|
99
|
+
- **🚀 Verified benchmark results** - Windows 10 / Node.js v22.14.0 / Intel i7-6700K
|
|
100
|
+
- **📊 Translation throughput**:
|
|
101
|
+
- 400 keys (100 × 4 languages): 1578 keys/sec (63.4ms avg)
|
|
102
|
+
- 4,000 keys (1K × 4 languages): 1944 keys/sec (514.4ms avg)
|
|
103
|
+
- 40,000 keys (10K × 4 languages): 1909 keys/sec (5238.8ms avg)
|
|
104
|
+
- 200,000 keys (50K × 4 languages): 1623 keys/sec (30809.7ms avg)
|
|
105
|
+
- **🔧 Configuration validation**:
|
|
106
|
+
- Minimal: 15.7ms avg
|
|
107
|
+
- Standard: 15.7ms avg
|
|
108
|
+
- Full: 20.4ms avg
|
|
109
|
+
- **💾 Memory efficiency**: 413KB avg usage (400 keys), optimized for 25K+ datasets
|
|
110
|
+
- **🎯 Multi-language scale testing**: Validated across 4 languages × 50K keys each
|
|
111
|
+
- **🎯 Performance regression detection** - CI/CD integration to prevent degradation
|
|
112
|
+
- **📈 Complete metrics**: benchmarks/results/benchmark-2025-08-05.json
|
|
113
|
+
|
|
114
|
+
### 🔄 CI/CD & Automation
|
|
115
|
+
- **GitHub Actions workflows** - Automated release and security scanning
|
|
116
|
+
- **Cross-platform testing** - Windows (Tested), macOS (Not Tested), and Linux (Not Tested) compatibility
|
|
117
|
+
- **Security scanning** - Automated vulnerability detection
|
|
118
|
+
- **Performance CI** - Prevents performance regressions in PRs
|
|
119
|
+
- **npm benchmark scripts** - `benchmark`, `benchmark:ci`, `benchmark:baseline`
|
|
120
|
+
|
|
121
|
+
### 📦 Package Optimization
|
|
122
|
+
- **Enhanced .npmignore** - Excludes benchmarks, docs, and dev files
|
|
123
|
+
- **46 files removed** from production package
|
|
124
|
+
- **Production-ready package** - Optimized for npm distribution
|
|
125
|
+
- **Security hardening** - Reduced attack surface
|
|
126
|
+
- **Streamlined dependencies** - Zero runtime dependencies
|
|
127
|
+
|
|
128
|
+
### 🛠️ Developer Experience
|
|
129
|
+
- **Framework-agnostic design** - Works with any i18n solution
|
|
130
|
+
- **Simplified integration** - No framework-specific setup required
|
|
131
|
+
- **Frontend-Optimized Debugger**: Completely redesigned debugger.js removing admin/console checks
|
|
132
|
+
- **Framework Integration Guides**: Added comprehensive React, Vue.js, Angular, and Node.js integration
|
|
133
|
+
- **CI/CD Templates**: Ready-to-use GitHub Actions, GitLab CI, and Docker configurations
|
|
134
|
+
- **Troubleshooting Encyclopedia**: 20+ common issues with solutions
|
|
135
|
+
- **Performance Monitoring**: Health dashboard and key metrics tracking
|
|
136
|
+
- **Enhanced documentation** - Updated for zero dependencies architecture
|
|
137
|
+
- **Improved error messages** - Better debugging experience
|
|
138
|
+
|
|
139
|
+
### 📚 Documentation Overhaul
|
|
140
|
+
- **Enhanced README.md**: 200+ lines of new content including troubleshooting, CI/CD, and best practices
|
|
141
|
+
- **Framework-specific Guides**: Tailored integration examples for major frameworks
|
|
142
|
+
- **Production Checklist**: Comprehensive deployment and monitoring guidelines
|
|
143
|
+
- **Team Collaboration**: Standardized workflow and review processes
|
|
144
|
+
|
|
145
|
+
## [1.4.2] - 2025-08-05
|
|
8
146
|
|
|
9
147
|
### Fixed
|
|
10
148
|
- **CRITICAL**: Fixed `MODULE_NOT_FOUND` error when running `npx i18ntk` due to missing debug scripts in npm package
|
|
149
|
+
- **Translation System**: Fixed incorrect nesting structure for framework suggestion keys in all 8 language files
|
|
150
|
+
- **i18n Keys**: Restructured flat dot-notation keys (`frameworks.react`, `frameworks.vue`, etc.) to proper nested JSON objects
|
|
151
|
+
- **Language Files**: Updated `ui-locales/*/init.json` files across all supported languages (EN, DE, ES, FR, JA, ZH, RU, PT)
|
|
11
152
|
- Relocated debug scripts from `/dev/debug/` to `/scripts/debug/` to ensure all required files are included in the npm package
|
|
12
153
|
- Updated all internal path references to reflect the new debug script location
|
|
13
154
|
- Resolved compatibility issues caused by the removal of `/dev` directory from npm package
|
|
14
155
|
|
|
15
|
-
## [1.4.1] - 04
|
|
156
|
+
## [1.4.1] - 2025-08-04 (DO NOT USE - CRITICAL ERROR)
|
|
16
157
|
|
|
17
158
|
### 🎯 Enhanced User Experience & Package Optimization
|
|
18
159
|
|
|
@@ -64,7 +205,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
64
205
|
|
|
65
206
|
---
|
|
66
207
|
|
|
67
|
-
## [1.4.0] - 04
|
|
208
|
+
## [1.4.0] - 2025-08-04
|
|
68
209
|
|
|
69
210
|
### 🔐 Advanced PIN Protection & Script Security
|
|
70
211
|
|
|
@@ -90,7 +231,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
90
231
|
- **TypeScript compatibility** - Fixed variable redeclaration issues
|
|
91
232
|
|
|
92
233
|
#### Language Support
|
|
93
|
-
|
|
234
|
+
|
|
94
235
|
- **100% translation coverage** for PIN protection features
|
|
95
236
|
- **Complete console internationalization** across all languages
|
|
96
237
|
|
|
@@ -101,19 +242,19 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
101
242
|
|
|
102
243
|
---
|
|
103
244
|
|
|
104
|
-
## [1.3.0] - 26
|
|
245
|
+
## [1.3.0] - 2025-07-26
|
|
105
246
|
|
|
106
247
|
### Enhanced Directory Configuration & Internationalization
|
|
107
248
|
|
|
108
249
|
- **Per-script directory configuration** - Customize paths for each script
|
|
109
|
-
|
|
250
|
+
|
|
110
251
|
- **Improved path resolution** - Better handling of relative paths
|
|
111
252
|
- **Enhanced settings CLI** - More intuitive configuration management
|
|
112
253
|
- **Bug fixes** for directory scanning and validation
|
|
113
254
|
|
|
114
255
|
---
|
|
115
256
|
|
|
116
|
-
## [1.2.0] - 25
|
|
257
|
+
## [1.2.0] - 2025-07-25
|
|
117
258
|
|
|
118
259
|
### Enhanced Security & Stability
|
|
119
260
|
|
|
@@ -124,7 +265,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
124
265
|
|
|
125
266
|
---
|
|
126
267
|
|
|
127
|
-
## [1.1.0] - 24
|
|
268
|
+
## [1.1.0] - 2025-07-24
|
|
128
269
|
|
|
129
270
|
### Initial Internationalization
|
|
130
271
|
|
|
@@ -135,7 +276,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
135
276
|
|
|
136
277
|
---
|
|
137
278
|
|
|
138
|
-
## [1.0.0] - 23
|
|
279
|
+
## [1.0.0] - 2025-07-23
|
|
139
280
|
|
|
140
281
|
### Initial Release
|
|
141
282
|
|
|
@@ -148,10 +289,11 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
|
|
|
148
289
|
|
|
149
290
|
## ⚠️ Deprecation Notice
|
|
150
291
|
|
|
151
|
-
**All versions < 1.4.
|
|
292
|
+
**All versions < 1.4.2 are deprecated** due to security vulnerabilities and critical bugs. Upgrade immediately to v1.4.2 for:
|
|
293
|
+
- Critical bug fixes (MODULE_NOT_FOUND error resolved)
|
|
152
294
|
- Advanced PIN protection
|
|
153
295
|
- Enhanced security features
|
|
154
296
|
- Complete internationalization
|
|
155
297
|
- Latest bug fixes and improvements
|
|
156
298
|
|
|
157
|
-
Migration required: Uninstall previous version and reinstall v1.4.
|
|
299
|
+
Migration required: Uninstall previous version and reinstall v1.4.2.
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 I18N Management Toolkit
|
|
4
|
+
GitHub: https://github.com/vladnoskv/i18ntk
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -20,4 +21,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
20
21
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
22
|
SOFTWARE.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
**Last Updated**: 06/08/2025
|