📦 Quick Start Guide
Check how to find all translation keys in iOS/macOS project. Learn how to extract localization key from Android project to local file. This guid will show you how to configure CLI to find localization keys in your project files.
If you already have extracted translation keys or translated messages in your strings.xml
files, then go to
page Localizable Strings to upload your data first.
Resources:
- Maintaining your own Strings files ( source: developer.apple.com)
- Localizing Your App ( source: developer.apple.com)
💿 Installation
Install SimpleLocalize CLI
curl -s https://get.simplelocalize.io/install | bash
Problems with CLI? Checkout troubleshooting section.
🔦 Find keys
Use CLI to find all translation keys used in project files.
simplelocalize extract --apiKey <PROJECT_KEY> \
--projectType apple/ios-macos \
--searchDir ./src
💭 Translate messages
🌍 Download files
Download ready to use files for your project by running download command.
simplelocalize download --apiKey <PROJECT_KEY> \
--downloadPath ./Resources/Localization/{lang}.lproj/Localizable.strings \
--downloadFormat localizable-strings