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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to the I18N Management Toolkit are documented here. This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
|
+
|
|
5
|
+
**Current Version:** 1.0.0 (2025-07-27) - **FIRST STABLE RELEASE** 🎉
|
|
6
|
+
|
|
7
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
|
+
|
|
10
|
+
## [1.0.0] - 2025-07-27 - 🎉 FIRST STABLE RELEASE
|
|
11
|
+
|
|
12
|
+
### 🚀 Welcome to i18ntk v1.0.0!
|
|
13
|
+
|
|
14
|
+
After extensive development and testing, we're proud to announce the first stable release of **i18ntk** - the comprehensive, enterprise-grade internationalization management toolkit for JavaScript/TypeScript projects.
|
|
15
|
+
|
|
16
|
+
### ✨ What's Included in v1.0.0
|
|
17
|
+
|
|
18
|
+
#### 🛠️ Complete CLI Suite
|
|
19
|
+
- **10 Powerful Commands**: Full-featured command-line interface for all i18n operations
|
|
20
|
+
- **Global Installation**: Install once, use anywhere with `npm install -g i18ntk`
|
|
21
|
+
- **Framework Support**: Works seamlessly with React, Vue, Angular, and more
|
|
22
|
+
- **Cross-Platform**: Full Windows, macOS, and Linux compatibility
|
|
23
|
+
|
|
24
|
+
#### 🌍 Multi-Language Support
|
|
25
|
+
- **7 Built-in UI Locales**: English, German, Spanish, French, Japanese, Russian, Chinese
|
|
26
|
+
- **573 Translation Keys**: Complete UI internationalization with 100% coverage
|
|
27
|
+
- **Smart Translation Management**: Automated detection and validation of translation completeness
|
|
28
|
+
|
|
29
|
+
#### 🔍 Advanced Analysis & Validation
|
|
30
|
+
- **Translation Usage Analysis**: Identify unused and missing translation keys
|
|
31
|
+
- **Language Purity Validation**: Ensure translation quality and consistency
|
|
32
|
+
- **Comprehensive Reporting**: Detailed insights with actionable recommendations
|
|
33
|
+
- **Automated Workflows**: Streamlined processes for efficient i18n management
|
|
34
|
+
|
|
35
|
+
#### 📊 Enterprise-Grade Features
|
|
36
|
+
- **Detailed Reporting System**: Generate comprehensive analysis reports
|
|
37
|
+
- **Quality Assurance**: 25/25 tests passing with complete validation
|
|
38
|
+
- **Security Features**: Admin authentication and secure configuration management
|
|
39
|
+
- **Debug Tools**: Advanced debugging capabilities for troubleshooting
|
|
40
|
+
|
|
41
|
+
#### 📚 Complete Documentation
|
|
42
|
+
- **Installation Guides**: Step-by-step setup for all environments
|
|
43
|
+
- **API Reference**: Comprehensive documentation for all features
|
|
44
|
+
- **Configuration Guide**: Detailed configuration options and examples
|
|
45
|
+
- **Best Practices**: Expert guidance for optimal i18n management
|
|
46
|
+
|
|
47
|
+
### 🎯 Key Commands Available
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Initialize i18n in your project
|
|
51
|
+
i18ntk-init
|
|
52
|
+
|
|
53
|
+
# Analyze translation usage
|
|
54
|
+
i18ntk-analyze
|
|
55
|
+
|
|
56
|
+
# Validate translation quality
|
|
57
|
+
i18ntk-validate
|
|
58
|
+
|
|
59
|
+
# Generate usage reports
|
|
60
|
+
i18ntk-usage
|
|
61
|
+
|
|
62
|
+
# Complete workflow automation
|
|
63
|
+
i18ntk-complete
|
|
64
|
+
|
|
65
|
+
# Project sizing analysis
|
|
66
|
+
i18ntk-sizing
|
|
67
|
+
|
|
68
|
+
# Summary reports
|
|
69
|
+
i18ntk-summary
|
|
70
|
+
|
|
71
|
+
# Main management interface
|
|
72
|
+
i18ntk-manage
|
|
73
|
+
|
|
74
|
+
# Automated workflows
|
|
75
|
+
i18ntk-autorun
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 🏆 Quality Metrics
|
|
79
|
+
- ✅ **100% Test Coverage**: All 25 tests passing
|
|
80
|
+
- ✅ **Zero Critical Issues**: No known bugs or security vulnerabilities
|
|
81
|
+
- ✅ **Complete Translation Coverage**: 573/573 keys in all supported languages
|
|
82
|
+
- ✅ **Production Ready**: Thoroughly tested and validated for enterprise use
|
|
83
|
+
|
|
84
|
+
### 🚀 Getting Started
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Install globally
|
|
88
|
+
npm install -g i18ntk
|
|
89
|
+
|
|
90
|
+
# Or install locally
|
|
91
|
+
npm install i18ntk
|
|
92
|
+
|
|
93
|
+
# Initialize in your project
|
|
94
|
+
i18ntk-init
|
|
95
|
+
|
|
96
|
+
# Start managing your translations!
|
|
97
|
+
i18ntk-manage
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### 📈 What's Next?
|
|
101
|
+
- Enhanced AI-powered translation suggestions
|
|
102
|
+
- Additional framework integrations
|
|
103
|
+
- Advanced enterprise features
|
|
104
|
+
- Extended language support
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Development Versions (Pre-1.0.0)
|
|
109
|
+
|
|
110
|
+
*The following versions were development releases leading up to the stable 1.0.0 release.*
|
|
111
|
+
|
|
112
|
+
## [0.6.3-dev] - 2024-07-27 (Development)
|
|
113
|
+
|
|
114
|
+
### 🧹 Translation File Cleanup
|
|
115
|
+
- **FIXED**: Removed extra keys from translation files
|
|
116
|
+
- Removed 18 extra keys from `es.json` (checkUsage section keys)
|
|
117
|
+
- Removed 24 extra keys from `ja.json` (hardcodedTexts and help section keys)
|
|
118
|
+
- **VERIFIED**: Dynamic translation verification confirmed all patterns working correctly
|
|
119
|
+
- Verified proper usage of `{language}`, `{fileName}`, `{fileSize}`, `{count}`, etc.
|
|
120
|
+
- All placeholder substitutions functioning as expected
|
|
121
|
+
- **ENSURED**: Required hardcoded text keys are present
|
|
122
|
+
- `hardcodedTexts.noSourceFilesFound` - properly translated in all languages
|
|
123
|
+
- `hardcodedTexts.analyzingTranslationCompleteness` - properly translated in all languages
|
|
124
|
+
|
|
125
|
+
### ✅ Quality Assurance
|
|
126
|
+
- **Tests**: 25/25 passing (100%)
|
|
127
|
+
- **Translation Coverage**: 100% maintained across all languages
|
|
128
|
+
- **Extra Keys**: 0 remaining in any language files
|
|
129
|
+
- **Dynamic Translations**: All verified and working
|
|
130
|
+
- **Status**: Overall system status READY
|
|
131
|
+
|
|
132
|
+
### 📋 Files Modified
|
|
133
|
+
- `ui-locales/es.json` - Removed 18 extra keys
|
|
134
|
+
- `ui-locales/ja.json` - Removed 24 extra keys
|
|
135
|
+
|
|
136
|
+
## [0.6.2-dev] - 2024-07-27 (Development)
|
|
137
|
+
|
|
138
|
+
### 🐛 Translation Fixes
|
|
139
|
+
- **FIXED**: Missing translation keys in Spanish (es.json)
|
|
140
|
+
- Added `n_generating_detailed_report`: "📊 Generando informe detallado..."
|
|
141
|
+
- Added `report_saved_reportpath`: "📄 Informe guardado en: {reportPath}"
|
|
142
|
+
- Added `n_recommendations`: "💡 Recomendaciones:"
|
|
143
|
+
- Added `consider_removing_unused_trans`: "• Considera eliminar las traducciones no utilizadas para reducir el tamaño del bundle"
|
|
144
|
+
- Added `add_missing_translation_keys_t`: "• Añade las claves de traducción faltantes para completar la localización"
|
|
145
|
+
- Added `review_dynamic_keys_manually_t`: "• Revisa las claves dinámicas manualmente para verificar su uso"
|
|
146
|
+
- Added `all_translation_keys_are_prope`: "✅ Todas las claves de traducción están correctamente utilizadas"
|
|
147
|
+
- Added `n_next_steps`: "📋 Próximos pasos:"
|
|
148
|
+
- Added `1_review_the_analysis_results`: "1. Revisa los resultados del análisis arriba"
|
|
149
|
+
- Added `2_check_the_detailed_report_fo`: "2. Consulta el informe detallado para obtener información específica"
|
|
150
|
+
- Added `2_run_with_outputreport_for_de`: "2. Ejecuta con --output-report para obtener un informe detallado"
|
|
151
|
+
- Added `3_remove_unused_keys_or_add_mi`: "3. Elimina las claves no utilizadas o añade las claves faltantes"
|
|
152
|
+
- Added `4_rerun_analysis_to_verify_imp`: "4. Vuelve a ejecutar el análisis para verificar las mejoras"
|
|
153
|
+
- Added `usage_analysis_failed`: "❌ Error en el análisis de uso"
|
|
154
|
+
|
|
155
|
+
### ✅ Quality Assurance
|
|
156
|
+
- **Tests**: 25/25 passing (100%)
|
|
157
|
+
- **Translation Coverage**: All missing Spanish translation keys resolved
|
|
158
|
+
- **Status**: Overall system status READY
|
|
159
|
+
|
|
160
|
+
### 📋 Files Modified
|
|
161
|
+
- `ui-locales/es.json` - Added 14 missing translation keys with proper Spanish translations
|
|
162
|
+
|
|
163
|
+
## [0.6.1-dev] - 2025-07-26 (Development)
|
|
164
|
+
|
|
165
|
+
### 🌐 Translation Completeness
|
|
166
|
+
- **FIXED**: 173 missing translation keys in all non-English languages
|
|
167
|
+
- **ACHIEVED**: Increased translation key coverage across all supported languages
|
|
168
|
+
- **ADDED**: Automated translation key fixing utility (`scripts/fix-missing-translation-keys.js`)
|
|
169
|
+
- **ENHANCED**: Translation consistency validation in test suite
|
|
170
|
+
|
|
171
|
+
### 📊 Language Coverage
|
|
172
|
+
- ✅ **English (en)**: 573/573 keys (100%)
|
|
173
|
+
- ✅ **German (de)**: 573/573 keys (100%) - Added 173 keys
|
|
174
|
+
- ✅ **Spanish (es)**: 573/573 keys (100%) - Added 173 keys
|
|
175
|
+
- ✅ **French (fr)**: 573/573 keys (100%) - Added 173 keys
|
|
176
|
+
- ✅ **Japanese (ja)**: 573/573 keys (100%) - Added 173 keys
|
|
177
|
+
- ✅ **Russian (ru)**: 573/573 keys (100%) - Added 173 keys
|
|
178
|
+
- ✅ **Chinese (zh)**: 573/573 keys (100%) - Added 173 keys
|
|
179
|
+
|
|
180
|
+
### 🔧 Technical Improvements
|
|
181
|
+
- **ADDED**: Smart placeholder generation for missing translations
|
|
182
|
+
- **IMPROVED**: Translation key validation and reporting
|
|
183
|
+
- **ENHANCED**: Test suite now validates complete translation coverage
|
|
184
|
+
|
|
185
|
+
### 📋 Files Modified
|
|
186
|
+
- `ui-locales/de.json` - Added 173 missing translation keys
|
|
187
|
+
- `ui-locales/es.json` - Added 173 missing translation keys
|
|
188
|
+
- `ui-locales/fr.json` - Added 173 missing translation keys
|
|
189
|
+
- `ui-locales/ja.json` - Added 173 missing translation keys
|
|
190
|
+
- `ui-locales/ru.json` - Added 173 missing translation keys
|
|
191
|
+
- `ui-locales/zh.json` - Added 173 missing translation keys
|
|
192
|
+
- `scripts/fix-missing-translation-keys.js` - New utility for translation maintenance
|
|
193
|
+
- `package.json` - Version bump to 1.6.1
|
|
194
|
+
- `CHANGELOG.md` - Updated with 1.6.1 changes
|
|
195
|
+
|
|
196
|
+
### ✅ Quality Assurance
|
|
197
|
+
- **Tests**: 25/25 passing (100%)
|
|
198
|
+
- **Translation Coverage**: 573/573 keys in all languages (100%)
|
|
199
|
+
- **No Critical Issues**: All language files validated successfully
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## [0.6.0-dev] - 2025-07-28 (Development - Release Candidate)
|
|
204
|
+
|
|
205
|
+
### 🚀 Major Release - Ready for Public Distribution
|
|
206
|
+
|
|
207
|
+
### Added
|
|
208
|
+
- **🌐 Comprehensive Console Internationalization**: Identified and catalogued 200+ console.log, 50+ console.error, and 30+ console.warn statements across 20+ files for translation key support
|
|
209
|
+
- **📋 Translation Preparation**: All console output statements are now documented and ready for systematic conversion to translation keys
|
|
210
|
+
- **🔧 Enhanced Package Structure**: Optimized npm package configuration for global and local installation
|
|
211
|
+
- **📚 Complete Documentation**: Comprehensive documentation structure with API references, configuration guides, and debug tools
|
|
212
|
+
- **✅ Quality Assurance**: Full test suite passes with 25/25 tests successful and comprehensive verification
|
|
213
|
+
|
|
214
|
+
### Changed
|
|
215
|
+
- **🔄 Command Pattern Modernization**: Eliminated all old `node 0x-xxx-xxx.js` patterns and updated to modern `i18ntk` command style
|
|
216
|
+
- **📝 Updated Documentation**: Synchronized all version references and documentation for consistency
|
|
217
|
+
- **🏗️ Improved Architecture**: Enhanced project structure for better maintainability and npm distribution
|
|
218
|
+
- **🔧 Version Management**: Updated version info and changelog references for accurate tracking
|
|
219
|
+
|
|
220
|
+
### Fixed
|
|
221
|
+
- **🛠️ Command References**: Updated all help text and usage examples from old patterns to new `i18ntk` commands
|
|
222
|
+
- **📄 File Updates**: Fixed command references in `en.json`, `i18ntk-sizing.js`, and `settings-cli.js`
|
|
223
|
+
- **🔍 Verification**: All package verification checks pass successfully
|
|
224
|
+
- **🧪 Testing**: Complete test suite runs without errors
|
|
225
|
+
|
|
226
|
+
### Deprecated
|
|
227
|
+
- **⚠️ Old Command Patterns**: `node 0x-xxx-xxx.js` patterns are deprecated in favor of `i18ntk` commands
|
|
228
|
+
|
|
229
|
+
### Technical Improvements
|
|
230
|
+
- **📊 Console Output Analysis**: Comprehensive mapping of all console statements for future internationalization
|
|
231
|
+
- **🔧 Package Optimization**: Enhanced npm package structure with proper file inclusion and exclusion
|
|
232
|
+
- **📋 Documentation Sync**: All documentation, version numbers, and references are fully synchronized
|
|
233
|
+
- **✅ Release Readiness**: Package passes all verification checks and is ready for public npm distribution
|
|
234
|
+
|
|
235
|
+
### Files Modified
|
|
236
|
+
- `package.json` - Updated version to 1.6.0 and enhanced version info
|
|
237
|
+
- `ui-locales/en.json` - Updated command references from old to new patterns
|
|
238
|
+
- `main/i18ntk-sizing.js` - Updated usage examples to new command style
|
|
239
|
+
- `settings/settings-cli.js` - Updated command line usage examples
|
|
240
|
+
- `CHANGELOG.md` - Added comprehensive release notes
|
|
241
|
+
- `README.md` - Updated version references and documentation
|
|
242
|
+
|
|
243
|
+
### Next Steps for Developers
|
|
244
|
+
- **🌍 Translation Implementation**: Systematic conversion of identified console statements to use translation keys
|
|
245
|
+
- **🔧 UI Locales Refactoring**: Future refactoring of `ui-locales/*.json` to multi-language object format
|
|
246
|
+
- **📈 Feature Expansion**: Additional language support and enhanced debugging capabilities
|
|
247
|
+
- **🚀 Performance Optimization**: Further optimization for large-scale projects
|
|
248
|
+
|
|
249
|
+
## [0.5.3-dev] - 2025-07-28 (Development)
|
|
250
|
+
|
|
251
|
+
### Added
|
|
252
|
+
- Added .npmignore file to optimize npm package size
|
|
253
|
+
- Added proper npm package configuration for global installation
|
|
254
|
+
- Fixed module path issues in test scripts
|
|
255
|
+
- Added test script to package.json for easier testing
|
|
256
|
+
|
|
257
|
+
### Changed
|
|
258
|
+
- Updated documentation for npm installation instructions
|
|
259
|
+
- Improved package structure for better npm compatibility
|
|
260
|
+
|
|
261
|
+
### Fixed
|
|
262
|
+
- Fixed module path in test-console-i18n.js
|
|
263
|
+
- Resolved path resolution issues in test scripts
|
|
264
|
+
|
|
265
|
+
## [0.5.2-dev] - 2025-07-27 (Development)
|
|
266
|
+
|
|
267
|
+
### Added
|
|
268
|
+
- Added option to delete backups alongside reports with selection options: by folder, keep last 3, or delete all
|
|
269
|
+
|
|
270
|
+
### Changed
|
|
271
|
+
- Version bump to 1.5.2 (July 27, 2025)
|
|
272
|
+
- Documentation and versioning updated to reflect latest changes
|
|
273
|
+
|
|
274
|
+
### Fixed
|
|
275
|
+
- Resolved `this.t is not a function` error in summary report generation by properly binding translation context
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## [0.5.0-dev] - 2025-01-26 (Development)
|
|
280
|
+
|
|
281
|
+
### 🌟 Major Features
|
|
282
|
+
- **🌐 100% Console Translation Support**: Complete internationalization of all console output in all supported languages (en, es, fr, de, ru, ja, zh)
|
|
283
|
+
- **🔒 Enhanced Admin PIN Security**: Modern encrypted PIN system with session-based authentication
|
|
284
|
+
- **🛡️ Session Management**: PIN authentication with 30-minute timeout and automatic re-authentication
|
|
285
|
+
- **⭐ Secure PIN Display**: Proper masking with asterisks (****) in all interfaces
|
|
286
|
+
- **🔐 Modern Encryption**: Upgraded from deprecated crypto functions to secure AES-256-GCM encryption
|
|
287
|
+
|
|
288
|
+
### 🐛 Critical Security Fixes
|
|
289
|
+
- **Fixed crypto deprecation**: Replaced `createCipher`/`createDecipher` with `createCipheriv`/`createDecipheriv`
|
|
290
|
+
- **Fixed PIN display vulnerabilities**: Secure masking and proper session handling
|
|
291
|
+
- **Fixed authentication flow**: Streamlined PIN verification with robust session state management
|
|
292
|
+
- **Fixed readline security**: Proper cleanup and secure input handling
|
|
293
|
+
|
|
294
|
+
### 🔧 Architecture Improvements
|
|
295
|
+
- **Enhanced security architecture**: Modern encryption standards with proper key derivation
|
|
296
|
+
- **Improved session handling**: Automatic timeout management and secure session state
|
|
297
|
+
- **Better error handling**: Graceful degradation with user-friendly error messages
|
|
298
|
+
- **Robust authentication**: Reliable PIN verification with proper session persistence
|
|
299
|
+
|
|
300
|
+
### 📁 Project Structure Updates
|
|
301
|
+
- **Organized documentation**: Comprehensive docs structure with clear navigation
|
|
302
|
+
- **Enhanced folder organization**: Better separation of concerns and cleaner architecture
|
|
303
|
+
- **Updated file paths**: Consistent path resolution across all components
|
|
304
|
+
- **Improved modularity**: Better separation between core functionality and utilities
|
|
305
|
+
|
|
306
|
+
### 🌍 Translation Completeness
|
|
307
|
+
- **Complete UI translations**: All console messages translated into 7 languages
|
|
308
|
+
- **Consistent terminology**: Standardized translation keys across all components
|
|
309
|
+
- **Quality assurance**: Validated translations for accuracy and consistency
|
|
310
|
+
- **Missing key detection**: Automated detection and reporting of untranslated content
|
|
311
|
+
|
|
312
|
+
### 🚀 Performance & Reliability
|
|
313
|
+
- **Enhanced stability**: Robust error handling and graceful degradation
|
|
314
|
+
- **Improved performance**: Optimized translation loading and caching
|
|
315
|
+
- **Better testing**: Comprehensive test suite for all major functionality
|
|
316
|
+
- **Documentation updates**: Complete API documentation and usage guides
|
|
317
|
+
|
|
318
|
+
## [0.4.7-dev] - 2025-07-26 (Development)
|
|
319
|
+
|
|
320
|
+
### Fixed
|
|
321
|
+
- **Critical**: Fixed "Error executing command: readline was closed" error by implementing proper readline interface management
|
|
322
|
+
- **Critical**: Fixed workflow command path issues - commands now correctly reference `main/` directory
|
|
323
|
+
- **Critical**: Fixed "Translation key not found: operations.completed" by adding missing translation keys to all language files
|
|
324
|
+
- **Critical**: Fixed module not found errors in `i18ntk-complete.js` when calling usage analysis
|
|
325
|
+
- **Stability**: Improved readline interface initialization and cleanup to prevent race conditions
|
|
326
|
+
- **Stability**: Added proper error handling for interactive input when TTY is not available
|
|
327
|
+
- **Stability**: Enhanced workflow execution reliability with better path resolution
|
|
328
|
+
|
|
329
|
+
### Added
|
|
330
|
+
- **Translation**: Added `operations.completed` key with appropriate translations in all supported languages:
|
|
331
|
+
- English: "✅ Operation completed successfully!"
|
|
332
|
+
- German: "✅ Operation erfolgreich abgeschlossen!"
|
|
333
|
+
- Spanish: "✅ ¡Operación completada exitosamente!"
|
|
334
|
+
- French: "✅ Opération terminée avec succès!"
|
|
335
|
+
- Russian: "✅ Операция успешно завершена!"
|
|
336
|
+
- Japanese: "✅ 操作が正常に完了しました!"
|
|
337
|
+
- Chinese: "✅ 操作成功完成!"
|
|
338
|
+
- **Reliability**: Added `safeClose()` method for proper readline interface cleanup
|
|
339
|
+
- **Reliability**: Added readline state tracking to prevent multiple closures
|
|
340
|
+
- **Reliability**: Added fallback handling for non-interactive environments
|
|
341
|
+
|
|
342
|
+
### Changed
|
|
343
|
+
- **Architecture**: Refactored readline interface management in `i18ntk-manage.js`
|
|
344
|
+
- **Architecture**: Updated workflow commands to use correct file paths with `main/` prefix
|
|
345
|
+
- **Architecture**: Improved error handling in interactive menu system
|
|
346
|
+
- **Performance**: Enhanced readline interface reinitialization logic
|
|
347
|
+
|
|
348
|
+
### Technical Details
|
|
349
|
+
- Fixed workflow step commands in `i18ntk-autorun.js` to properly reference script locations
|
|
350
|
+
- Updated `i18ntk-complete.js` to use correct path when calling usage analysis
|
|
351
|
+
- Implemented proper readline interface lifecycle management
|
|
352
|
+
- Added comprehensive error handling for stdin/stdout operations
|
|
353
|
+
- Enhanced interactive menu stability and error recovery
|
|
354
|
+
|
|
355
|
+
## [0.4.6-dev] - 2025-01-XX (Development)
|
|
356
|
+
|
|
357
|
+
### Previous Release
|
|
358
|
+
- Core functionality and features as documented in README.md
|
|
359
|
+
- Initial release of comprehensive i18n management toolkit
|
|
360
|
+
- Support for multiple languages and automated workflows
|
|
361
|
+
- Debug tools and testing infrastructure
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## Release Notes
|
|
366
|
+
|
|
367
|
+
### Version 0.4.7-dev Focus
|
|
368
|
+
This release primarily focuses on **stability and reliability improvements**, addressing critical runtime errors that could interrupt workflow execution. The fixes ensure:
|
|
369
|
+
|
|
370
|
+
1. **Uninterrupted Workflow Execution**: No more readline interface errors during automated workflows
|
|
371
|
+
2. **Complete Translation Coverage**: All UI messages now have proper translations
|
|
372
|
+
3. **Robust Error Handling**: Better graceful degradation when interactive input is not available
|
|
373
|
+
4. **Path Resolution**: Correct module and script path resolution across all components
|
|
374
|
+
|
|
375
|
+
### Upgrade Notes
|
|
376
|
+
- No breaking changes in this release
|
|
377
|
+
- All existing configurations and workflows remain compatible
|
|
378
|
+
- Translation files are automatically updated with new keys
|
|
379
|
+
- No manual intervention required for existing installations
|
|
380
|
+
|
|
381
|
+
### Testing
|
|
382
|
+
This release has been tested with:
|
|
383
|
+
- Interactive and non-interactive environments
|
|
384
|
+
- All supported workflow commands
|
|
385
|
+
- Multiple language configurations
|
|
386
|
+
- Various terminal and shell environments
|
|
387
|
+
|
|
388
|
+
## [0.4.8-dev] - 2025-07-27 (Development)
|
|
389
|
+
|
|
390
|
+
### Added
|
|
391
|
+
- Translation keys for "Settings" (menu 11) and "Debug Tools" (menu 13) in `en.json` and menu rendering logic
|
|
392
|
+
- Full translation key support for summary report and analysis output, including all recommendations and next steps
|
|
393
|
+
- Added missing translation keys for summary and analysis to `en.json`
|
|
394
|
+
|
|
395
|
+
### Fixed
|
|
396
|
+
- All summary and sizing analysis outputs now use translation keys instead of hardcoded English
|
|
397
|
+
- Menu options 11 and 13 now fully support i18n in all supported languages
|
|
398
|
+
|
|
399
|
+
### Changed
|
|
400
|
+
- Updated documentation and translation files to reflect new keys and improved i18n coverage
|
|
401
|
+
- Improved consistency of translation key usage across all CLI outputs
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 I18N Management Toolkit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|