Translation Tool
A CLI tool for Flutter/Dart to extract strings from your app and generate localization files with automatic translations.
Features
- Extracts string constants from your app.
- Generates locale keys (
locale_keys.g.dart) for easy access. - Creates JSON translation files for multiple languages.
- Supports automatic translations using the
translatorpackage.
Installation
Add the following to your pubspec.yaml:
yaml
dependencies: translator: ^1.0.4+1
Developer
👨💻 Developed by Ahmed Hantop.
🔗 LinkedIn
📂 GitHub
✉️ Email: ahmedhantop@gmail.com
Usage
add your main languages strings in lib/languages/strings.dart