The NaiveTab i18n Workflow skill provides structured guidance for developers adding or modifying translation keys within the NaiveTab extension ecosystem. It ensures strict synchronization between Chinese (zh-CN) and English (en-US) locale files, enforces a specific flat nesting naming convention, and mandates a custom variable replacement pattern using double underscores instead of standard Vue-i18n syntax. By automating the application of these specific development rules, it helps developers prevent hardcoded strings and maintains high-quality localization across all UI components including dialogs, toasts, and settings panels.
主要功能
01Enforcement of flat-nested JSON naming conventions
02Template and TypeScript code snippet generation for i18n keys
03Synchronized dual-locale updates for zh-CN and en-US files
0492 GitHub stars
05Validation of custom __key__ variable replacement patterns
06Automated identification of hardcoded strings in UI components
使用场景
01Adding new multi-language support for browser extension features
02Updating existing translation values while ensuring cross-language consistency
03Refactoring hardcoded strings into localized keys across the codebase