flutter-i18n-gen
CommunityAutomatically extract Chinese strings and generate translation keys for Flutter apps.
Authordus2183-commits
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill scans code for hard-coded Chinese strings and automatically generates .tr keys and translation files, enabling smooth internationalization.
Core Features & Use Cases
- Automated extraction of hard-coded Chinese literals into translation keys.
- Key replacement: replaces Chinese literals with 'module.key'.tr references and updates locale files under lib/app/locales.
- Module-aware: supports module-level key naming conventions and works with existing translation structure (zh_cn, en_us).
- Use Case: Integrate into Flutter projects to quickly bootstrap multi-language support after UI generation.
Quick Start
Run the i18n-gen tool on your Flutter project to scan for Chinese strings and generate translation keys.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: flutter-i18n-gen Download link: https://github.com/dus2183-commits/flutter-skills/archive/main.zip#flutter-i18n-gen Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.