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.
Files changed (313) hide show
  1. package/CHANGELOG.md +155 -13
  2. package/LICENSE +4 -1
  3. package/README.md +189 -450
  4. package/main/i18ntk-analyze.js +55 -5
  5. package/main/i18ntk-autorun.js +46 -98
  6. package/main/i18ntk-complete.js +20 -9
  7. package/main/i18ntk-init.js +9 -10
  8. package/main/i18ntk-manage.js +8 -7
  9. package/main/i18ntk-sizing.js +18 -3
  10. package/main/i18ntk-summary.js +17 -8
  11. package/main/i18ntk-ui.js +53 -39
  12. package/main/i18ntk-usage.js +7 -7
  13. package/main/i18ntk-validate.js +6 -6
  14. package/main/validate-translations.js +0 -74
  15. package/package.json +28 -24
  16. package/scripts/debug/README.md +2 -2
  17. package/scripts/debug/debugger.js +176 -392
  18. package/scripts/export-translations.js +57 -30
  19. package/scripts/sync-translations.js +1 -1
  20. package/scripts/test-runner.js +5 -5
  21. package/scripts/validate-all-translations.js +1 -1
  22. package/scripts/verify-package.js +50 -168
  23. package/settings/language-config.json +6 -0
  24. package/settings/settings-cli.js +88 -4
  25. package/settings/settings-manager.js +11 -7
  26. package/utils/admin-cli.js +3 -2
  27. package/utils/admin-pin.js +179 -60
  28. package/utils/i18n-helper.js +55 -33
  29. package/utils/security-check.js +347 -0
  30. package/utils/security-config.js +255 -0
  31. package/utils/security.js +1 -1
  32. package/locales/de/common.json +0 -20
  33. package/locales/en/common.json +0 -20
  34. package/locales/es/common.json +0 -20
  35. package/locales/fr/common.json +0 -20
  36. package/locales/ru/common.json +0 -20
  37. package/scripts/copy-translations.js +0 -90
  38. package/scripts/debug/complete-console-translations.js +0 -295
  39. package/scripts/debug/console-key-checker.js +0 -408
  40. package/scripts/debug/console-translations.js +0 -335
  41. package/scripts/debug/export-missing-keys.js +0 -432
  42. package/scripts/debug/final-normalize.js +0 -236
  43. package/scripts/debug/find-extra-keys.js +0 -68
  44. package/scripts/debug/normalize-locales.js +0 -153
  45. package/scripts/debug/refactor-locales.js +0 -240
  46. package/scripts/debug/reorder-locales.js +0 -85
  47. package/scripts/debug/replace-hardcoded-console.js +0 -378
  48. package/scripts/fix-missing-translation-keys.js +0 -214
  49. package/scripts/sync-pt-translations.js +0 -115
  50. package/scripts/test-translations.js +0 -220
  51. package/ui-locales/de/adminCli.json +0 -43
  52. package/ui-locales/de/adminPin.json +0 -32
  53. package/ui-locales/de/analyze.json +0 -78
  54. package/ui-locales/de/autorun.json +0 -72
  55. package/ui-locales/de/common.json +0 -40
  56. package/ui-locales/de/complete.json +0 -33
  57. package/ui-locales/de/debug.json +0 -21
  58. package/ui-locales/de/detect-language-mismatches.json +0 -52
  59. package/ui-locales/de/errors.json +0 -17
  60. package/ui-locales/de/help.json +0 -88
  61. package/ui-locales/de/i18n-helper.json +0 -9
  62. package/ui-locales/de/init.json +0 -58
  63. package/ui-locales/de/language.json +0 -13
  64. package/ui-locales/de/maintain-language-purity.json +0 -21
  65. package/ui-locales/de/menu.json +0 -45
  66. package/ui-locales/de/native-translations.json +0 -22
  67. package/ui-locales/de/operations.json +0 -79
  68. package/ui-locales/de/security.json +0 -26
  69. package/ui-locales/de/settings-cli.json +0 -40
  70. package/ui-locales/de/settings-manager.json +0 -27
  71. package/ui-locales/de/settings.json +0 -395
  72. package/ui-locales/de/sizing.json +0 -52
  73. package/ui-locales/de/status.json +0 -27
  74. package/ui-locales/de/summary.json +0 -136
  75. package/ui-locales/de/test-complete-system.json +0 -40
  76. package/ui-locales/de/test-console-i18n.json +0 -36
  77. package/ui-locales/de/translate-mismatches.json +0 -26
  78. package/ui-locales/de/ui.json +0 -11
  79. package/ui-locales/de/usage.json +0 -113
  80. package/ui-locales/de/validate-language-purity.json +0 -51
  81. package/ui-locales/de/validate.json +0 -85
  82. package/ui-locales/de/workflow.json +0 -16
  83. package/ui-locales/en/adminCli.json +0 -44
  84. package/ui-locales/en/adminPin.json +0 -33
  85. package/ui-locales/en/analyze.json +0 -78
  86. package/ui-locales/en/autorun.json +0 -72
  87. package/ui-locales/en/common.json +0 -40
  88. package/ui-locales/en/complete.json +0 -34
  89. package/ui-locales/en/debug.json +0 -21
  90. package/ui-locales/en/detect-language-mismatches.json +0 -52
  91. package/ui-locales/en/errors.json +0 -17
  92. package/ui-locales/en/help.json +0 -88
  93. package/ui-locales/en/i18n-helper.json +0 -9
  94. package/ui-locales/en/init.json +0 -59
  95. package/ui-locales/en/language.json +0 -13
  96. package/ui-locales/en/maintain-language-purity.json +0 -19
  97. package/ui-locales/en/menu.json +0 -45
  98. package/ui-locales/en/native-translations.json +0 -22
  99. package/ui-locales/en/operations.json +0 -79
  100. package/ui-locales/en/security.json +0 -26
  101. package/ui-locales/en/settings-cli.json +0 -40
  102. package/ui-locales/en/settings-manager.json +0 -27
  103. package/ui-locales/en/settings.json +0 -456
  104. package/ui-locales/en/sizing.json +0 -60
  105. package/ui-locales/en/status.json +0 -27
  106. package/ui-locales/en/summary.json +0 -136
  107. package/ui-locales/en/test-complete-system.json +0 -40
  108. package/ui-locales/en/test-console-i18n.json +0 -36
  109. package/ui-locales/en/translate-mismatches.json +0 -26
  110. package/ui-locales/en/ui.json +0 -26
  111. package/ui-locales/en/usage.json +0 -114
  112. package/ui-locales/en/validate-language-purity.json +0 -51
  113. package/ui-locales/en/validate.json +0 -85
  114. package/ui-locales/en/workflow.json +0 -46
  115. package/ui-locales/es/adminCli.json +0 -41
  116. package/ui-locales/es/adminPin.json +0 -33
  117. package/ui-locales/es/analyze.json +0 -78
  118. package/ui-locales/es/autorun.json +0 -72
  119. package/ui-locales/es/common.json +0 -40
  120. package/ui-locales/es/complete.json +0 -33
  121. package/ui-locales/es/debug.json +0 -21
  122. package/ui-locales/es/detect-language-mismatches.json +0 -52
  123. package/ui-locales/es/errors.json +0 -17
  124. package/ui-locales/es/help.json +0 -88
  125. package/ui-locales/es/i18n-helper.json +0 -9
  126. package/ui-locales/es/init.json +0 -58
  127. package/ui-locales/es/language.json +0 -13
  128. package/ui-locales/es/maintain-language-purity.json +0 -19
  129. package/ui-locales/es/menu.json +0 -45
  130. package/ui-locales/es/native-translations.json +0 -22
  131. package/ui-locales/es/operations.json +0 -79
  132. package/ui-locales/es/security.json +0 -26
  133. package/ui-locales/es/settings-cli.json +0 -40
  134. package/ui-locales/es/settings-manager.json +0 -27
  135. package/ui-locales/es/settings.json +0 -393
  136. package/ui-locales/es/sizing.json +0 -59
  137. package/ui-locales/es/status.json +0 -27
  138. package/ui-locales/es/summary.json +0 -136
  139. package/ui-locales/es/test-complete-system.json +0 -40
  140. package/ui-locales/es/test-console-i18n.json +0 -36
  141. package/ui-locales/es/translate-mismatches.json +0 -26
  142. package/ui-locales/es/ui.json +0 -11
  143. package/ui-locales/es/usage.json +0 -113
  144. package/ui-locales/es/validate-language-purity.json +0 -51
  145. package/ui-locales/es/validate.json +0 -85
  146. package/ui-locales/es/workflow.json +0 -16
  147. package/ui-locales/fr/adminCli.json +0 -41
  148. package/ui-locales/fr/adminPin.json +0 -29
  149. package/ui-locales/fr/analyze.json +0 -78
  150. package/ui-locales/fr/autorun.json +0 -72
  151. package/ui-locales/fr/common.json +0 -40
  152. package/ui-locales/fr/complete.json +0 -33
  153. package/ui-locales/fr/debug.json +0 -21
  154. package/ui-locales/fr/detect-language-mismatches.json +0 -52
  155. package/ui-locales/fr/errors.json +0 -17
  156. package/ui-locales/fr/help.json +0 -88
  157. package/ui-locales/fr/i18n-helper.json +0 -9
  158. package/ui-locales/fr/init.json +0 -58
  159. package/ui-locales/fr/language.json +0 -13
  160. package/ui-locales/fr/maintain-language-purity.json +0 -19
  161. package/ui-locales/fr/menu.json +0 -45
  162. package/ui-locales/fr/native-translations.json +0 -22
  163. package/ui-locales/fr/operations.json +0 -79
  164. package/ui-locales/fr/security.json +0 -26
  165. package/ui-locales/fr/settings-cli.json +0 -40
  166. package/ui-locales/fr/settings-manager.json +0 -27
  167. package/ui-locales/fr/settings.json +0 -395
  168. package/ui-locales/fr/sizing.json +0 -59
  169. package/ui-locales/fr/status.json +0 -27
  170. package/ui-locales/fr/summary.json +0 -136
  171. package/ui-locales/fr/test-complete-system.json +0 -40
  172. package/ui-locales/fr/test-console-i18n.json +0 -36
  173. package/ui-locales/fr/translate-mismatches.json +0 -26
  174. package/ui-locales/fr/ui.json +0 -11
  175. package/ui-locales/fr/usage.json +0 -113
  176. package/ui-locales/fr/validate-language-purity.json +0 -51
  177. package/ui-locales/fr/validate.json +0 -85
  178. package/ui-locales/fr/workflow.json +0 -16
  179. package/ui-locales/ja/adminCli.json +0 -42
  180. package/ui-locales/ja/adminPin.json +0 -31
  181. package/ui-locales/ja/analyze.json +0 -78
  182. package/ui-locales/ja/autorun.json +0 -72
  183. package/ui-locales/ja/common.json +0 -40
  184. package/ui-locales/ja/complete.json +0 -33
  185. package/ui-locales/ja/debug.json +0 -21
  186. package/ui-locales/ja/detect-language-mismatches.json +0 -52
  187. package/ui-locales/ja/errors.json +0 -17
  188. package/ui-locales/ja/help.json +0 -88
  189. package/ui-locales/ja/i18n-helper.json +0 -9
  190. package/ui-locales/ja/init.json +0 -58
  191. package/ui-locales/ja/language.json +0 -13
  192. package/ui-locales/ja/maintain-language-purity.json +0 -19
  193. package/ui-locales/ja/menu.json +0 -45
  194. package/ui-locales/ja/native-translations.json +0 -22
  195. package/ui-locales/ja/operations.json +0 -79
  196. package/ui-locales/ja/security.json +0 -26
  197. package/ui-locales/ja/settings-cli.json +0 -5
  198. package/ui-locales/ja/settings-manager.json +0 -27
  199. package/ui-locales/ja/settings.json +0 -375
  200. package/ui-locales/ja/sizing.json +0 -59
  201. package/ui-locales/ja/status.json +0 -27
  202. package/ui-locales/ja/summary.json +0 -136
  203. package/ui-locales/ja/test-complete-system.json +0 -40
  204. package/ui-locales/ja/test-console-i18n.json +0 -36
  205. package/ui-locales/ja/translate-mismatches.json +0 -26
  206. package/ui-locales/ja/ui.json +0 -11
  207. package/ui-locales/ja/usage.json +0 -113
  208. package/ui-locales/ja/validate-language-purity.json +0 -51
  209. package/ui-locales/ja/validate.json +0 -85
  210. package/ui-locales/ja/workflow.json +0 -16
  211. package/ui-locales/pt/adminCli.json +0 -41
  212. package/ui-locales/pt/adminPin.json +0 -29
  213. package/ui-locales/pt/analyze.json +0 -78
  214. package/ui-locales/pt/autorun.json +0 -72
  215. package/ui-locales/pt/common.json +0 -40
  216. package/ui-locales/pt/complete.json +0 -33
  217. package/ui-locales/pt/debug.json +0 -21
  218. package/ui-locales/pt/detect-language-mismatches.json +0 -52
  219. package/ui-locales/pt/errors.json +0 -17
  220. package/ui-locales/pt/help.json +0 -221
  221. package/ui-locales/pt/i18n-helper.json +0 -9
  222. package/ui-locales/pt/init.json +0 -58
  223. package/ui-locales/pt/language.json +0 -13
  224. package/ui-locales/pt/maintain-language-purity.json +0 -19
  225. package/ui-locales/pt/menu.json +0 -45
  226. package/ui-locales/pt/native-translations.json +0 -22
  227. package/ui-locales/pt/operations.json +0 -79
  228. package/ui-locales/pt/security.json +0 -26
  229. package/ui-locales/pt/settings-cli.json +0 -40
  230. package/ui-locales/pt/settings-manager.json +0 -27
  231. package/ui-locales/pt/settings.json +0 -327
  232. package/ui-locales/pt/sizing.json +0 -60
  233. package/ui-locales/pt/status.json +0 -27
  234. package/ui-locales/pt/summary.json +0 -136
  235. package/ui-locales/pt/test-complete-system.json +0 -40
  236. package/ui-locales/pt/test-console-i18n.json +0 -36
  237. package/ui-locales/pt/translate-mismatches.json +0 -26
  238. package/ui-locales/pt/ui.json +0 -26
  239. package/ui-locales/pt/usage.json +0 -113
  240. package/ui-locales/pt/validate-language-purity.json +0 -53
  241. package/ui-locales/pt/validate.json +0 -85
  242. package/ui-locales/pt/workflow.json +0 -46
  243. package/ui-locales/ru/adminCli.json +0 -42
  244. package/ui-locales/ru/adminPin.json +0 -30
  245. package/ui-locales/ru/analyze.json +0 -78
  246. package/ui-locales/ru/autorun.json +0 -73
  247. package/ui-locales/ru/common.json +0 -40
  248. package/ui-locales/ru/complete.json +0 -33
  249. package/ui-locales/ru/debug.json +0 -21
  250. package/ui-locales/ru/detect-language-mismatches.json +0 -52
  251. package/ui-locales/ru/errors.json +0 -17
  252. package/ui-locales/ru/help.json +0 -88
  253. package/ui-locales/ru/i18n-helper.json +0 -9
  254. package/ui-locales/ru/init.json +0 -58
  255. package/ui-locales/ru/language.json +0 -13
  256. package/ui-locales/ru/maintain-language-purity.json +0 -19
  257. package/ui-locales/ru/menu.json +0 -45
  258. package/ui-locales/ru/native-translations.json +0 -22
  259. package/ui-locales/ru/operations.json +0 -79
  260. package/ui-locales/ru/security.json +0 -26
  261. package/ui-locales/ru/settings-cli.json +0 -5
  262. package/ui-locales/ru/settings-manager.json +0 -27
  263. package/ui-locales/ru/settings.json +0 -375
  264. package/ui-locales/ru/sizing.json +0 -60
  265. package/ui-locales/ru/status.json +0 -27
  266. package/ui-locales/ru/summary.json +0 -136
  267. package/ui-locales/ru/test-complete-system.json +0 -40
  268. package/ui-locales/ru/test-console-i18n.json +0 -36
  269. package/ui-locales/ru/translate-mismatches.json +0 -26
  270. package/ui-locales/ru/ui.json +0 -11
  271. package/ui-locales/ru/usage.json +0 -113
  272. package/ui-locales/ru/validate-language-purity.json +0 -49
  273. package/ui-locales/ru/validate.json +0 -85
  274. package/ui-locales/ru/workflow.json +0 -16
  275. package/ui-locales/zh/adminCli.json +0 -42
  276. package/ui-locales/zh/adminPin.json +0 -29
  277. package/ui-locales/zh/analyze.json +0 -78
  278. package/ui-locales/zh/autorun.json +0 -72
  279. package/ui-locales/zh/common.json +0 -40
  280. package/ui-locales/zh/complete.json +0 -33
  281. package/ui-locales/zh/debug.json +0 -21
  282. package/ui-locales/zh/detect-language-mismatches.json +0 -52
  283. package/ui-locales/zh/errors.json +0 -17
  284. package/ui-locales/zh/help.json +0 -88
  285. package/ui-locales/zh/i18n-helper.json +0 -9
  286. package/ui-locales/zh/init.json +0 -60
  287. package/ui-locales/zh/language.json +0 -13
  288. package/ui-locales/zh/maintain-language-purity.json +0 -19
  289. package/ui-locales/zh/menu.json +0 -45
  290. package/ui-locales/zh/native-translations.json +0 -22
  291. package/ui-locales/zh/operations.json +0 -79
  292. package/ui-locales/zh/security.json +0 -26
  293. package/ui-locales/zh/settings-cli.json +0 -40
  294. package/ui-locales/zh/settings-manager.json +0 -27
  295. package/ui-locales/zh/settings.json +0 -396
  296. package/ui-locales/zh/sizing.json +0 -60
  297. package/ui-locales/zh/status.json +0 -27
  298. package/ui-locales/zh/summary.json +0 -136
  299. package/ui-locales/zh/test-complete-system.json +0 -40
  300. package/ui-locales/zh/test-console-i18n.json +0 -36
  301. package/ui-locales/zh/translate-mismatches.json +0 -26
  302. package/ui-locales/zh/ui.json +0 -26
  303. package/ui-locales/zh/usage.json +0 -113
  304. package/ui-locales/zh/validate-language-purity.json +0 -51
  305. package/ui-locales/zh/validate.json +0 -85
  306. package/ui-locales/zh/workflow.json +0 -44
  307. package/utils/detect-language-mismatches.js +0 -455
  308. package/utils/maintain-language-purity.js +0 -438
  309. package/utils/native-translations.js +0 -478
  310. package/utils/test-complete-system.js +0 -391
  311. package/utils/test-console-i18n.js +0 -402
  312. package/utils/translate-mismatches.js +0 -571
  313. 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
- **Current Version:** 1.4.2
6
-
7
- ## [1.4.2] - 04/08/2025
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/08/2025
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/08/2025
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
- - **Portuguese (pt)** added as 8th supported language
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/07/2025
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
- - **Portuguese language support** added
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/07/2025
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/07/2025
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/07/2025
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.0 are deprecated** due to security vulnerabilities and critical bugs. Upgrade immediately to v1.4.0 for:
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.0.
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
- Last Updated: 02/08/2025
24
+ ---
25
+
26
+ **Last Updated**: 06/08/2025