i18ntk 1.4.0 → 1.4.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 +61 -1
- package/README.md +410 -20
- package/locales/de/common.json +17 -20
- package/locales/en/common.json +17 -20
- package/locales/es/common.json +17 -20
- package/locales/fr/common.json +17 -20
- package/locales/ru/common.json +17 -20
- package/main/i18ntk-manage.js +52 -24
- package/package.json +6 -8
- package/{dev → scripts}/debug/README.md +9 -5
- package/{dev → scripts}/debug/debugger.js +84 -4
- package/scripts/prepublish.js +2 -2
- package/scripts/validate-all-translations.js +2 -2
- package/ui-locales/de/debug.json +5 -5
- package/ui-locales/de/init.json +1 -0
- package/ui-locales/de/language.json +11 -2
- package/ui-locales/de/security.json +2 -1
- package/ui-locales/de/sizing.json +1 -0
- package/ui-locales/de/usage.json +1 -0
- package/ui-locales/en/debug.json +5 -5
- package/ui-locales/en/init.json +1 -0
- package/ui-locales/en/language.json +11 -2
- package/ui-locales/en/security.json +2 -1
- package/ui-locales/en/sizing.json +2 -0
- package/ui-locales/en/usage.json +1 -0
- package/ui-locales/es/debug.json +5 -5
- package/ui-locales/es/init.json +1 -0
- package/ui-locales/es/language.json +11 -2
- package/ui-locales/es/security.json +2 -1
- package/ui-locales/es/sizing.json +2 -0
- package/ui-locales/es/usage.json +1 -0
- package/ui-locales/fr/debug.json +5 -5
- package/ui-locales/fr/init.json +1 -0
- package/ui-locales/fr/language.json +11 -2
- package/ui-locales/fr/security.json +2 -1
- package/ui-locales/fr/sizing.json +2 -0
- package/ui-locales/fr/usage.json +1 -0
- package/ui-locales/ja/debug.json +5 -5
- package/ui-locales/ja/init.json +1 -0
- package/ui-locales/ja/language.json +11 -2
- package/ui-locales/ja/security.json +2 -1
- package/ui-locales/ja/sizing.json +3 -0
- package/ui-locales/ja/usage.json +1 -0
- package/ui-locales/pt/debug.json +5 -5
- package/ui-locales/pt/init.json +1 -0
- package/ui-locales/pt/language.json +11 -2
- package/ui-locales/pt/security.json +2 -1
- package/ui-locales/pt/sizing.json +2 -0
- package/ui-locales/pt/usage.json +1 -0
- package/ui-locales/ru/debug.json +5 -5
- package/ui-locales/ru/init.json +1 -0
- package/ui-locales/ru/language.json +11 -2
- package/ui-locales/ru/security.json +2 -1
- package/ui-locales/ru/sizing.json +2 -0
- package/ui-locales/ru/usage.json +1 -0
- package/ui-locales/zh/debug.json +5 -5
- package/ui-locales/zh/init.json +1 -0
- package/ui-locales/zh/language.json +11 -2
- package/ui-locales/zh/security.json +2 -1
- package/ui-locales/zh/sizing.json +2 -0
- package/ui-locales/zh/usage.json +1 -0
- package/utils/test-complete-system.js +1 -1
- package/dev/README.md +0 -37
- package/docs/INSTALLATION.md +0 -98
- package/docs/PIN_PROTECTION_GUIDE.md +0 -265
- package/docs/README.md +0 -111
- package/docs/SCRIPT_DIRECTORY_GUIDE.md +0 -278
- package/docs/TODO_ROADMAP.md +0 -279
- package/docs/TRANSLATION_STATUS.md +0 -67
- package/docs/api/API_REFERENCE.md +0 -258
- package/docs/api/COMPONENTS.md +0 -492
- package/docs/api/CONFIGURATION.md +0 -676
- package/docs/api/NPM_PUBLISHING_GUIDE.md +0 -426
- package/docs/debug/DEBUG_README.md +0 -30
- package/docs/debug/DEBUG_TOOLS.md +0 -152
- package/docs/development/AGENTS.md +0 -349
- package/docs/development/DEVELOPMENT_RULES.md +0 -165
- package/docs/development/DEV_README.md +0 -41
- package/docs/release-notes/RELEASE_NOTES_v1.0.0.md +0 -175
- package/docs/release-notes/RELEASE_NOTES_v1.0.4.md +0 -153
- package/docs/release-notes/RELEASE_NOTES_v1.1.2.md +0 -68
- package/docs/release-notes/RELEASE_NOTES_v1.1.5.md +0 -81
- package/docs/release-notes/RELEASE_NOTES_v1.4.0.md +0 -115
- package/docs/release-notes/RELEASE_NOTES_v1.6.0.md +0 -141
- package/docs/release-notes/RELEASE_NOTES_v1.6.1.md +0 -185
- package/docs/release-notes/RELEASE_NOTES_v1.6.3.md +0 -199
- package/docs/release-notes/v1.3.0.md +0 -162
- package/docs/release-notes/v1.3.1.md +0 -136
- package/docs/reports/ANALYSIS_README.md +0 -17
- package/docs/reports/CONSOLE_MISMATCH_BUG_REPORT_v1.5.0.md +0 -181
- package/docs/reports/SIZING_README.md +0 -18
- package/docs/reports/SUMMARY_README.md +0 -18
- package/docs/reports/TRANSLATION_BUG_REPORT_v1.5.0.md +0 -129
- package/docs/reports/USAGE_README.md +0 -18
- package/docs/reports/VALIDATION_README.md +0 -18
- /package/{dev → scripts}/debug/complete-console-translations.js +0 -0
- /package/{dev → scripts}/debug/console-key-checker.js +0 -0
- /package/{dev → scripts}/debug/console-translations.js +0 -0
- /package/{dev → scripts}/debug/debug-security.js +0 -0
- /package/{dev → scripts}/debug/debug-translation.js +0 -0
- /package/{dev → scripts}/debug/export-missing-keys.js +0 -0
- /package/{dev → scripts}/debug/final-normalize.js +0 -0
- /package/{dev → scripts}/debug/find-extra-keys.js +0 -0
- /package/{dev → scripts}/debug/normalize-locales.js +0 -0
- /package/{dev → scripts}/debug/refactor-locales.js +0 -0
- /package/{dev → scripts}/debug/reorder-locales.js +0 -0
- /package/{dev → scripts}/debug/replace-hardcoded-console.js +0 -0
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
# Release Notes - i18n Management Toolkit v1.3.1
|
|
2
|
-
|
|
3
|
-
**Release Date:** December 2024
|
|
4
|
-
**Version:** 1.3.1
|
|
5
|
-
**Previous Version:** 1.3.0
|
|
6
|
-
|
|
7
|
-
## 🆕 New Features
|
|
8
|
-
|
|
9
|
-
### Reset to Default Values Option
|
|
10
|
-
- **New Menu Option**: Added `r) Reset to Default Values` to the settings CLI menu
|
|
11
|
-
- **One-Click Reset**: Reset all directory configurations to their system defaults
|
|
12
|
-
- **Confirmation Prompt**: Includes safety confirmation before proceeding with reset
|
|
13
|
-
- **Safe Operation**: Preserves toolkit functionality while clearing custom configurations
|
|
14
|
-
|
|
15
|
-
## 🎯 Use Cases for Reset Functionality
|
|
16
|
-
|
|
17
|
-
The new reset option is particularly useful for:
|
|
18
|
-
|
|
19
|
-
- **Testing Configurations**: Start fresh when testing different directory setups
|
|
20
|
-
- **Migration Scenarios**: Reset configurations when moving between project structures
|
|
21
|
-
- **Troubleshooting**: Clear potentially problematic custom settings
|
|
22
|
-
- **New Projects**: Quick setup for new projects without manual configuration cleanup
|
|
23
|
-
|
|
24
|
-
## 🔧 Additional Improvements
|
|
25
|
-
|
|
26
|
-
### Enhanced Script Output
|
|
27
|
-
- **Source Directory Display**: Added clear display of source directory, source language, and strict mode status at the beginning of analyze and sizing script runs
|
|
28
|
-
- **Absolute Path Display**: Scripts now show resolved absolute paths for better debugging and verification
|
|
29
|
-
- **Configuration Transparency**: Users can immediately see what configuration is being used
|
|
30
|
-
|
|
31
|
-
### Improved Sizing Analysis
|
|
32
|
-
- **Better Recommendations**: Enhanced translation length difference warnings with more actionable guidance
|
|
33
|
-
- **Clear Guidance**: Sizing recommendations now provide specific, helpful advice instead of generic warnings
|
|
34
|
-
- **User-Friendly Output**: Improved formatting and messaging for better user experience
|
|
35
|
-
|
|
36
|
-
## 📋 Menu Enhancement
|
|
37
|
-
|
|
38
|
-
The settings CLI now includes:
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Enter new value (or press Enter to keep current):
|
|
42
|
-
1) Analyze Script Directories
|
|
43
|
-
Current: /src/i18n/locales/test/
|
|
44
|
-
2) Complete Setup Directories
|
|
45
|
-
Current: (not set)
|
|
46
|
-
3) Initialize Script Directories
|
|
47
|
-
Current: (not set)
|
|
48
|
-
4) Manage Script Directories
|
|
49
|
-
Current: (not set)
|
|
50
|
-
5) Sizing Script Directories
|
|
51
|
-
Current: (not set)
|
|
52
|
-
6) Summary Report Directories
|
|
53
|
-
Current: (not set)
|
|
54
|
-
7) Usage Report Directories
|
|
55
|
-
Current: (not set)
|
|
56
|
-
8) Validate Script Directories
|
|
57
|
-
Current: (not set)
|
|
58
|
-
|
|
59
|
-
b) Back to main menu
|
|
60
|
-
r) Reset to Default Values
|
|
61
|
-
|
|
62
|
-
Select setting to edit (or b for back, r for reset):
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### Enhanced Default Value Handling
|
|
66
|
-
|
|
67
|
-
**Improved UX**: Instead of leaving fields empty (which isn't possible after changes), users can now:
|
|
68
|
-
|
|
69
|
-
- **Type "default"**: Restore individual directory settings to system defaults
|
|
70
|
-
- **User-specific defaults**: Defaults adapt to your project directory structure
|
|
71
|
-
- **Granular control**: Reset individual settings without affecting others
|
|
72
|
-
- **Clear guidance**: Explicit "default" keyword instead of ambiguous empty inputs
|
|
73
|
-
|
|
74
|
-
This enhancement provides:
|
|
75
|
-
- **Better user experience**: Clear, unambiguous way to restore defaults
|
|
76
|
-
- **Flexibility**: Mix custom paths with default values as needed
|
|
77
|
-
- **Project-specific**: Defaults respect your actual project structure
|
|
78
|
-
|
|
79
|
-
## 🔧 Technical Details
|
|
80
|
-
|
|
81
|
-
### Reset Behavior
|
|
82
|
-
- **Scope**: Resets all 8 script directory configurations
|
|
83
|
-
- **Defaults**: Restores to system default directory paths
|
|
84
|
-
- **Safety**: Requires explicit user confirmation
|
|
85
|
-
- **Logging**: Logs reset operation for audit purposes
|
|
86
|
-
|
|
87
|
-
### Compatibility
|
|
88
|
-
- **Backward Compatible**: All v1.3.0 features remain unchanged
|
|
89
|
-
- **No Breaking Changes**: Existing configurations are preserved
|
|
90
|
-
- **Safe Upgrade**: Users can upgrade without configuration loss
|
|
91
|
-
|
|
92
|
-
## 📚 Documentation Updates
|
|
93
|
-
|
|
94
|
-
- Updated [Script Directory Guide](../SCRIPT_DIRECTORY_GUIDE.md) with reset functionality
|
|
95
|
-
- Added reset option examples and use cases
|
|
96
|
-
- Updated version references across all documentation
|
|
97
|
-
- Added troubleshooting section for reset scenarios
|
|
98
|
-
|
|
99
|
-
## 🧪 Testing Recommendations
|
|
100
|
-
|
|
101
|
-
Before using in production:
|
|
102
|
-
|
|
103
|
-
1. **Test Reset Function**: Verify reset works correctly with custom configurations
|
|
104
|
-
2. **Backup Configurations**: Consider backing up current settings before reset
|
|
105
|
-
3. **Verify Defaults**: Ensure default directory paths are appropriate for your environment
|
|
106
|
-
4. **Integration Testing**: Test with existing project workflows
|
|
107
|
-
|
|
108
|
-
## 🔄 Migration from v1.3.0
|
|
109
|
-
|
|
110
|
-
- **No Migration Required**: v1.3.1 is a minor enhancement
|
|
111
|
-
- **Configuration Preserved**: All existing settings remain intact
|
|
112
|
-
- **New Feature Only**: Reset functionality is additive, not replacement
|
|
113
|
-
|
|
114
|
-
## 📊 Version History
|
|
115
|
-
|
|
116
|
-
- **v1.3.1**: Reset to default values option (current)
|
|
117
|
-
- **v1.3.0**: Per-script directory configuration, path resolution fixes
|
|
118
|
-
- **v1.2.x**: Previous stable releases with basic directory support
|
|
119
|
-
|
|
120
|
-
## 🚀 Getting Started
|
|
121
|
-
|
|
122
|
-
To use the new reset functionality:
|
|
123
|
-
|
|
124
|
-
1. Run the settings CLI: `npm run i18ntk:settings`
|
|
125
|
-
2. Navigate to directory configuration
|
|
126
|
-
3. Select `r) Reset to Default Values`
|
|
127
|
-
4. Confirm the reset operation
|
|
128
|
-
5. Verify restored default paths
|
|
129
|
-
|
|
130
|
-
## ❓ Support
|
|
131
|
-
|
|
132
|
-
For questions about the reset functionality or any issues:
|
|
133
|
-
|
|
134
|
-
- Check the [Script Directory Guide](../SCRIPT_DIRECTORY_GUIDE.md)
|
|
135
|
-
- Review [troubleshooting section](../SCRIPT_DIRECTORY_GUIDE.md#troubleshooting)
|
|
136
|
-
- Open an issue on GitHub for technical problems
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Translation Analysis Reports
|
|
2
|
-
|
|
3
|
-
This folder contains translation analysis reports generated by the i18nTK analysis tools.
|
|
4
|
-
|
|
5
|
-
## Report Types
|
|
6
|
-
|
|
7
|
-
- **translation-analysis-*.json** - Detailed translation completeness analysis
|
|
8
|
-
- **language-comparison-*.json** - Language-to-language comparison reports
|
|
9
|
-
- **missing-keys-*.txt** - Lists of missing translation keys
|
|
10
|
-
|
|
11
|
-
## File Naming Convention
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
{report-type}-{timestamp}.{extension}
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Example: `translation-analysis-2025-01-24T10-30-00-000Z.json`
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
# 🐛 Console Language Mismatch Bug Report - v1.5.0
|
|
2
|
-
|
|
3
|
-
**Date**: January 26, 2025
|
|
4
|
-
**Version**: 1.5.0
|
|
5
|
-
**Reporter**: AI Agent
|
|
6
|
-
**Priority**: High
|
|
7
|
-
**Status**: Open
|
|
8
|
-
**Related**: TRANSLATION_BUG_REPORT_v1.5.0.md
|
|
9
|
-
|
|
10
|
-
## 📋 Summary
|
|
11
|
-
|
|
12
|
-
Mixed English text detected in foreign language JSON files, causing console output language inconsistencies and poor user experience for non-English users.
|
|
13
|
-
|
|
14
|
-
## 🔍 Issue Details
|
|
15
|
-
|
|
16
|
-
### Affected Languages and Files
|
|
17
|
-
|
|
18
|
-
#### 🇫🇷 French (FR) - `ui-locales/fr.json`
|
|
19
|
-
**Mixed Language Entries Found:**
|
|
20
|
-
- Line 879: `"prompt": "Select Débogage option (0-4): "` (English "Select" + French "Débogage")
|
|
21
|
-
- Line 897: `"prompt": "Souhaitez-vous to set up an admin PIN? (y/N): "` (French + English mix)
|
|
22
|
-
- Line 898: `"enterPin": "Entrer le PIN administrateur (4-8 digits): "` (French + English "digits")
|
|
23
|
-
- Line 899: `"confirmPin": "Confirmerer admin PIN: "` (Broken French + English "admin PIN")
|
|
24
|
-
- Line 900: `"invalidPin": "PIN must be 4-8 digits only. Veuillez réessayer."` (English + French mix)
|
|
25
|
-
- Line 902: `"success": "Admin PIN has been set up Succèsfully!"` (English + broken French)
|
|
26
|
-
- Line 903: `"enabled": "Admin protection is now enable..."` (English text)
|
|
27
|
-
- Line 904: `"error": "Erreur setting up admin PIN:"` (French + English mix)
|
|
28
|
-
- Line 905: `"continuing": "Continuing without admin PIN protection."` (Full English)
|
|
29
|
-
- Line 906: `"skipped": "Skipping Configuration du PIN administrateur. You ..."` (English + French mix)
|
|
30
|
-
- Line 909: `"authenticated": "You are now authenticated for this session."` (Full English)
|
|
31
|
-
- Line 910: `"ended": "Admin session ended. Goodbye!"` (Full English)
|
|
32
|
-
- Line 911: `"failed": "Authentication Échec. Accès refusé."` (English + French mix)
|
|
33
|
-
|
|
34
|
-
#### 🇪🇸 Spanish (ES) - `ui-locales/es.json`
|
|
35
|
-
**Mixed Language Entries Found:**
|
|
36
|
-
- Line 166: `"sizing": "Analyze translation Archivo sizes and character counts"` (English + Spanish mix)
|
|
37
|
-
- Line 167: `"debug": "Ejecutar Herramientas de depuración for system Análisis"` (Spanish + English mix)
|
|
38
|
-
- Line 208: `"prompt": "Seleccione un idioma (1-7) o 0 para Cancelararar: "` (Broken Spanish)
|
|
39
|
-
- Line 876: `"prompt": "Select Depurar opción (0-4): "` (English "Select" + Spanish)
|
|
40
|
-
- Line 888: `"description": "Admin PIN protection Agregars secu..."` (English + broken Spanish)
|
|
41
|
-
- Line 895: `"enterPin": "Ingrese PIN de administrador (4-8 digits): "` (Spanish + English "digits")
|
|
42
|
-
- Line 896: `"confirmPin": "Confirmarar admin PIN: "` (Broken Spanish + English)
|
|
43
|
-
- Line 897: `"invalidPin": "PIN must be 4-8 digits only. Por favor intente de nuevo."` (English + Spanish mix)
|
|
44
|
-
- Line 899: `"success": "Admin PIN has been set up Éxitofully!"` (English + broken Spanish)
|
|
45
|
-
- Line 900: `"enabled": "Admin protection is now enable..."` (English text)
|
|
46
|
-
- Line 902: `"continuing": "Continuing without admin PIN protection."` (Full English)
|
|
47
|
-
- Line 903: `"skipped": "Skipping Configuración de PIN de administrador. You ..."` (English + Spanish mix)
|
|
48
|
-
- Line 906: `"authenticated": "You are now authenticated for this session."` (Full English)
|
|
49
|
-
- Line 907: `"ended": "Admin session ended. Goodbye!"` (Full English)
|
|
50
|
-
- Line 908: `"failed": "Authentication Falló. Acceso denegado."` (English + Spanish mix)
|
|
51
|
-
|
|
52
|
-
#### 🇩🇪 German (DE) - `ui-locales/de.json`
|
|
53
|
-
**Mixed Language Entries Found:**
|
|
54
|
-
- Line 155: `"description": "Dieses Tool hilft Ihnen bei der Verwaltung der InternationalisieAusführeng (i18n) für Ihr Projekt."` (Broken German word)
|
|
55
|
-
- Line 167: `"sizing": "Analyze translation Datei sizes and character counts"` (English + German mix)
|
|
56
|
-
- Line 168: `"debug": "Ausführen Debug-Werkzeuge for system Analyse"` (German + English mix)
|
|
57
|
-
- Line 170: `"options": "OptionEN:"` (Broken German)
|
|
58
|
-
- Line 424: `"excludedFiles": "Ausgeschlossene Dateien: {Dateis}"` (Broken German variable)
|
|
59
|
-
- Line 782: `"errors": "Fehler: {{Fehlers}}"` (Broken German variable)
|
|
60
|
-
- Line 906: `"skipped": "Admin-PIN-Einrichtung überspAusführengen. Sie..."` (Broken German)
|
|
61
|
-
- Line 911: `"failed": "AuthentifizieAusführeng fehlgeschlagen. Zugriff verweigert."` (Broken German)
|
|
62
|
-
|
|
63
|
-
## 🚨 Impact Assessment
|
|
64
|
-
|
|
65
|
-
### User Experience Impact
|
|
66
|
-
- **Critical**: Users see mixed language console output
|
|
67
|
-
- **Confusing**: Inconsistent terminology and broken translations
|
|
68
|
-
- **Professional**: Reduces perceived quality and professionalism
|
|
69
|
-
- **Accessibility**: Poor experience for non-English speakers
|
|
70
|
-
|
|
71
|
-
### Technical Impact
|
|
72
|
-
- **Console Output**: Mixed language messages in admin PIN setup
|
|
73
|
-
- **Debug Mode**: Inconsistent language in debug prompts
|
|
74
|
-
- **Error Messages**: Mixed language error reporting
|
|
75
|
-
- **Authentication**: Confusing authentication messages
|
|
76
|
-
|
|
77
|
-
## 🔧 Root Cause Analysis
|
|
78
|
-
|
|
79
|
-
### Primary Causes
|
|
80
|
-
1. **Incomplete Translation**: Many strings were partially translated
|
|
81
|
-
2. **Copy-Paste Errors**: English text copied without translation
|
|
82
|
-
3. **Template Issues**: Translation templates contained mixed content
|
|
83
|
-
4. **Quality Control**: Insufficient review of translated content
|
|
84
|
-
5. **Automated Processing**: Some automated translations were incomplete
|
|
85
|
-
|
|
86
|
-
### Secondary Issues
|
|
87
|
-
1. **Broken Words**: German compound words incorrectly split
|
|
88
|
-
2. **Grammar Errors**: Incorrect verb conjugations and word forms
|
|
89
|
-
3. **Variable Naming**: Inconsistent variable name translations
|
|
90
|
-
4. **Punctuation**: Missing or incorrect punctuation in translations
|
|
91
|
-
|
|
92
|
-
## 🎯 Immediate Actions Required
|
|
93
|
-
|
|
94
|
-
### High Priority (Fix Immediately)
|
|
95
|
-
1. **Admin PIN Messages**: Fix all admin PIN setup and authentication messages
|
|
96
|
-
2. **Debug Prompts**: Correct all debug mode prompts and options
|
|
97
|
-
3. **Error Messages**: Ensure all error messages are properly translated
|
|
98
|
-
4. **Core UI Elements**: Fix main menu and navigation prompts
|
|
99
|
-
|
|
100
|
-
### Medium Priority (Fix Soon)
|
|
101
|
-
1. **Help Text**: Review and correct all help and description text
|
|
102
|
-
2. **Status Messages**: Fix progress and status reporting messages
|
|
103
|
-
3. **Configuration Text**: Correct settings and configuration messages
|
|
104
|
-
|
|
105
|
-
### Low Priority (Fix Later)
|
|
106
|
-
1. **Variable Names**: Standardize variable name translations
|
|
107
|
-
2. **Formatting**: Improve text formatting and punctuation
|
|
108
|
-
3. **Consistency**: Ensure terminology consistency across files
|
|
109
|
-
|
|
110
|
-
## 🛠️ Recommended Solutions
|
|
111
|
-
|
|
112
|
-
### Immediate Fixes
|
|
113
|
-
```bash
|
|
114
|
-
# 1. Create clean translation templates
|
|
115
|
-
node dev/debug/console-key-checker.js
|
|
116
|
-
|
|
117
|
-
# 2. Manual review and correction of critical messages
|
|
118
|
-
# Focus on admin PIN, debug, and error messages
|
|
119
|
-
|
|
120
|
-
# 3. Run validation after fixes
|
|
121
|
-
node main/i18ntk-validate.js
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### Quality Assurance Process
|
|
125
|
-
1. **Native Speaker Review**: Have native speakers review translations
|
|
126
|
-
2. **Context Testing**: Test translations in actual console output
|
|
127
|
-
3. **Consistency Checks**: Ensure terminology consistency
|
|
128
|
-
4. **Grammar Validation**: Verify proper grammar and syntax
|
|
129
|
-
|
|
130
|
-
### Prevention Measures
|
|
131
|
-
1. **Translation Guidelines**: Create detailed translation guidelines
|
|
132
|
-
2. **Review Process**: Implement mandatory review for all translations
|
|
133
|
-
3. **Testing Protocol**: Test console output in all languages
|
|
134
|
-
4. **Automated Checks**: Add automated checks for mixed language content
|
|
135
|
-
|
|
136
|
-
## 📁 Files Requiring Immediate Attention
|
|
137
|
-
|
|
138
|
-
### Critical Files
|
|
139
|
-
- `ui-locales/fr.json` - 13+ mixed language entries
|
|
140
|
-
- `ui-locales/es.json` - 15+ mixed language entries
|
|
141
|
-
- `ui-locales/de.json` - 8+ broken/mixed entries
|
|
142
|
-
|
|
143
|
-
### Backup Files (Also Affected)
|
|
144
|
-
- `ui-locales/fr.backup.json`
|
|
145
|
-
- `ui-locales/es.backup.json`
|
|
146
|
-
- `ui-locales/de.backup.json`
|
|
147
|
-
|
|
148
|
-
## 🔍 Detection Commands
|
|
149
|
-
|
|
150
|
-
### Find Mixed Language Content
|
|
151
|
-
```bash
|
|
152
|
-
# Search for English words in foreign language files
|
|
153
|
-
grep -r "[a-zA-Z]" ui-locales/fr.json | grep -E "(Select|Admin|PIN|Error|Success|Authentication)"
|
|
154
|
-
grep -r "[a-zA-Z]" ui-locales/es.json | grep -E "(Select|Admin|PIN|Error|Success|Authentication)"
|
|
155
|
-
grep -r "[a-zA-Z]" ui-locales/de.json | grep -E "(Select|Admin|PIN|Error|Success|Authentication)"
|
|
156
|
-
|
|
157
|
-
# Find broken words or formatting
|
|
158
|
-
grep -E "[A-Z][a-z]+[A-Z]" ui-locales/*.json
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## 📞 Next Steps
|
|
162
|
-
|
|
163
|
-
1. **Assign Language Experts**: Assign native speakers for each affected language
|
|
164
|
-
2. **Create Fix Schedule**: Prioritize fixes based on user impact
|
|
165
|
-
3. **Implement Review Process**: Establish translation review workflow
|
|
166
|
-
4. **Test Console Output**: Verify fixes in actual console environment
|
|
167
|
-
5. **Update Documentation**: Update translation guidelines and processes
|
|
168
|
-
|
|
169
|
-
## 🔗 Related Issues
|
|
170
|
-
|
|
171
|
-
- **TRANSLATION_BUG_REPORT_v1.5.0.md**: Missing translation keys
|
|
172
|
-
- **Console Translation Support**: Part of v1.5.0 console internationalization
|
|
173
|
-
- **Admin PIN Security**: Related to enhanced security features
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
**Note**: This bug report identifies critical language consistency issues that significantly impact user experience. These issues should be prioritized for immediate resolution to maintain the professional quality of the v1.5.0 release.
|
|
178
|
-
|
|
179
|
-
**Generated**: January 26, 2025 at 03:00 UTC
|
|
180
|
-
**Report ID**: CONSOLE-MISMATCH-2025-002
|
|
181
|
-
**Severity**: High - User Experience Impact
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Sizing Analysis Reports
|
|
2
|
-
|
|
3
|
-
This folder contains sizing analysis reports generated by the i18nTK sizing analysis tools.
|
|
4
|
-
|
|
5
|
-
## Report Types
|
|
6
|
-
|
|
7
|
-
- **sizing-analysis-*.json** - Detailed file size analysis
|
|
8
|
-
- **sizing-analysis-*.csv** - CSV format for spreadsheet analysis
|
|
9
|
-
- **size-comparison-*.json** - Language size comparison reports
|
|
10
|
-
- **optimization-suggestions-*.txt** - Size optimization recommendations
|
|
11
|
-
|
|
12
|
-
## File Naming Convention
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
{report-type}-{timestamp}.{extension}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Example: `sizing-analysis-2025-01-24T10-30-00-000Z.json`
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Summary Reports
|
|
2
|
-
|
|
3
|
-
This folder contains comprehensive summary reports generated by the i18nTK summary tools.
|
|
4
|
-
|
|
5
|
-
## Report Types
|
|
6
|
-
|
|
7
|
-
- **summary-report-*.json** - Complete project summary
|
|
8
|
-
- **language-overview-*.json** - Language-specific overviews
|
|
9
|
-
- **project-health-*.json** - Overall project health reports
|
|
10
|
-
- **completion-status-*.json** - Translation completion status
|
|
11
|
-
|
|
12
|
-
## File Naming Convention
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
{report-type}-{timestamp}.{extension}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Example: `summary-report-2025-01-24T10-30-00-000Z.json`
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
# 🐛 Translation Bug Report - v1.5.0
|
|
2
|
-
|
|
3
|
-
**Date**: January 26, 2025
|
|
4
|
-
**Version**: 1.5.0
|
|
5
|
-
**Reporter**: AI Agent
|
|
6
|
-
**Priority**: Medium
|
|
7
|
-
**Status**: Open
|
|
8
|
-
|
|
9
|
-
## 📋 Summary
|
|
10
|
-
|
|
11
|
-
Missing translations detected in Spanish (ES) and Japanese (JA) language files during v1.5.0 documentation update and validation process.
|
|
12
|
-
|
|
13
|
-
## 🔍 Issue Details
|
|
14
|
-
|
|
15
|
-
### Missing Translation Keys
|
|
16
|
-
|
|
17
|
-
- **Spanish (ES)**: 484 missing translation keys
|
|
18
|
-
- **Japanese (JA)**: 408 missing translation keys
|
|
19
|
-
- **Total Impact**: 892 missing translations across 2 languages
|
|
20
|
-
|
|
21
|
-
### Affected Languages
|
|
22
|
-
|
|
23
|
-
✅ **Complete Translations**:
|
|
24
|
-
- German (DE) - ✅ 523/523 keys
|
|
25
|
-
- French (FR) - ✅ 523/523 keys
|
|
26
|
-
- Russian (RU) - ✅ 523/523 keys
|
|
27
|
-
- Chinese (ZH) - ✅ 523/523 keys
|
|
28
|
-
|
|
29
|
-
❌ **Incomplete Translations**:
|
|
30
|
-
- Spanish (ES) - ❌ 39/523 keys (484 missing)
|
|
31
|
-
- Japanese (JA) - ❌ 115/523 keys (408 missing)
|
|
32
|
-
|
|
33
|
-
## 🛠️ Actions Taken
|
|
34
|
-
|
|
35
|
-
1. ✅ **Detection**: Ran `node dev/debug/console-key-checker.js`
|
|
36
|
-
2. ✅ **Backup Creation**: Automatic backups created for all affected files
|
|
37
|
-
3. ✅ **Key Addition**: Missing keys added with `[NOT TRANSLATED]` placeholders
|
|
38
|
-
4. ✅ **Partial Translation**: Ran `node utils/native-translations.js`
|
|
39
|
-
- ES: 15 translations replaced
|
|
40
|
-
- JA: 1 translation replaced
|
|
41
|
-
- Total: 16 automatic replacements
|
|
42
|
-
|
|
43
|
-
## 📊 Current Status
|
|
44
|
-
|
|
45
|
-
### Remaining Work Required
|
|
46
|
-
|
|
47
|
-
- **Spanish (ES)**: ~469 keys still need manual translation
|
|
48
|
-
- **Japanese (JA)**: ~407 keys still need manual translation
|
|
49
|
-
- **Total**: ~876 keys requiring human translation
|
|
50
|
-
|
|
51
|
-
## 🎯 Recommended Actions
|
|
52
|
-
|
|
53
|
-
### Immediate (High Priority)
|
|
54
|
-
1. **Review Critical UI Elements**: Focus on main menu, error messages, and core functionality
|
|
55
|
-
2. **Validate Existing Translations**: Ensure current translations are contextually appropriate
|
|
56
|
-
3. **Update Translation Guidelines**: Enhance language-specific guidelines for ES and JA
|
|
57
|
-
|
|
58
|
-
### Short Term (Medium Priority)
|
|
59
|
-
1. **Complete ES Translations**: Prioritize Spanish due to higher missing count
|
|
60
|
-
2. **Complete JA Translations**: Focus on Japanese technical terminology
|
|
61
|
-
3. **Quality Assurance**: Review automated translations for accuracy
|
|
62
|
-
|
|
63
|
-
### Long Term (Low Priority)
|
|
64
|
-
1. **Automated Translation Pipeline**: Implement better automation for future updates
|
|
65
|
-
2. **Translation Memory**: Build translation memory for consistency
|
|
66
|
-
3. **Community Contributions**: Consider community translation contributions
|
|
67
|
-
|
|
68
|
-
## 📁 Files Affected
|
|
69
|
-
|
|
70
|
-
### Spanish (ES)
|
|
71
|
-
- `ui-locales/es.json` - 484 missing keys added
|
|
72
|
-
- Backup: `ui-locales/es.backup.json`
|
|
73
|
-
|
|
74
|
-
### Japanese (JA)
|
|
75
|
-
- `ui-locales/ja.json` - 408 missing keys added
|
|
76
|
-
- Backup: `ui-locales/ja.backup.json`
|
|
77
|
-
|
|
78
|
-
## 🔧 Technical Details
|
|
79
|
-
|
|
80
|
-
### Detection Method
|
|
81
|
-
```bash
|
|
82
|
-
node dev/debug/console-key-checker.js
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Translation Processing
|
|
86
|
-
```bash
|
|
87
|
-
node utils/native-translations.js
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Validation Commands
|
|
91
|
-
```bash
|
|
92
|
-
node main/i18ntk-validate.js
|
|
93
|
-
node main/i18ntk-analyze.js
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## 📈 Impact Assessment
|
|
97
|
-
|
|
98
|
-
### User Experience Impact
|
|
99
|
-
- **Spanish Users**: May see `[NOT TRANSLATED]` placeholders in console output
|
|
100
|
-
- **Japanese Users**: May see `[NOT TRANSLATED]` placeholders in console output
|
|
101
|
-
- **Functionality**: Core functionality remains unaffected
|
|
102
|
-
- **Severity**: Medium (cosmetic/UX issue, not functional)
|
|
103
|
-
|
|
104
|
-
### Development Impact
|
|
105
|
-
- **Console Output**: Non-English console messages may display placeholders
|
|
106
|
-
- **Documentation**: All documentation remains in English (unaffected)
|
|
107
|
-
- **Core Features**: All core i18n toolkit features work correctly
|
|
108
|
-
|
|
109
|
-
## 🚀 Next Steps
|
|
110
|
-
|
|
111
|
-
1. **Assign Translation Tasks**: Assign ES and JA translation tasks to appropriate team members
|
|
112
|
-
2. **Create Translation Schedule**: Establish timeline for completion
|
|
113
|
-
3. **Quality Review Process**: Implement review process for new translations
|
|
114
|
-
4. **Testing Protocol**: Test translated console output in target languages
|
|
115
|
-
5. **Documentation Update**: Update AGENTS.md with new translation patterns
|
|
116
|
-
|
|
117
|
-
## 📞 Contact Information
|
|
118
|
-
|
|
119
|
-
- **Bug Reporter**: AI Agent (Automated Detection)
|
|
120
|
-
- **Technical Lead**: [To be assigned]
|
|
121
|
-
- **Translation Coordinator**: [To be assigned]
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
**Note**: This bug report was automatically generated during the v1.5.0 documentation update process. The missing translations do not affect core functionality but impact user experience for Spanish and Japanese users.
|
|
126
|
-
|
|
127
|
-
**Generated**: January 26, 2025 at 02:57 UTC
|
|
128
|
-
**Report ID**: TRANS-BUG-2025-001
|
|
129
|
-
**Export File**: `missing-keys-2025-07-26T02-57-47-103Z.json`
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Usage Analysis Reports
|
|
2
|
-
|
|
3
|
-
This folder contains usage analysis reports generated by the i18nTK usage analysis tools.
|
|
4
|
-
|
|
5
|
-
## Report Types
|
|
6
|
-
|
|
7
|
-
- **usage-analysis-*.txt** - Detailed usage analysis reports
|
|
8
|
-
- **unused-keys-*.json** - Lists of unused translation keys
|
|
9
|
-
- **missing-keys-*.json** - Lists of missing translation keys
|
|
10
|
-
- **dynamic-keys-*.json** - Dynamic key detection reports
|
|
11
|
-
|
|
12
|
-
## File Naming Convention
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
{report-type}-{timestamp}.{extension}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Example: `usage-analysis-2025-01-24T10-30-00-000Z.txt`
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Translation Validation Reports
|
|
2
|
-
|
|
3
|
-
This folder contains validation reports generated by the i18nTK validation tools.
|
|
4
|
-
|
|
5
|
-
## Report Types
|
|
6
|
-
|
|
7
|
-
- **validation-report-*.json** - Detailed validation results
|
|
8
|
-
- **validation-errors-*.txt** - Lists of validation errors
|
|
9
|
-
- **validation-warnings-*.txt** - Lists of validation warnings
|
|
10
|
-
- **structural-issues-*.json** - Structural inconsistency reports
|
|
11
|
-
|
|
12
|
-
## File Naming Convention
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
{report-type}-{timestamp}.{extension}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Example: `validation-report-2025-01-24T10-30-00-000Z.json`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|