localekit scan
Scan directory for localization files
Login requiredUsage
bash
localekit scan [path] [options]Arguments
| Argument | Description | Default |
|---|---|---|
path | Path to scan (defaults to current directory) | . |
Options
| Option | Description | Default |
|---|---|---|
--files <files> | Direct file paths to analyze | — |
--config <config> | Path to configuration file (.localekitrc.yml) | — |
--workspace-dir <workspace-dir> | Path to workspace XLIFF directory (uses workspace files instead of platform scan) | — |
Flags
| Flag | Description |
|---|---|
--detailed | Show detailed file information |
--json | Output as JSON |
JSON Output
json
{
"platforms": [
{
"platform": "Xcode",
"confidence": 95,
"fileTypes": ["xcstrings"],
"files": [{ "name": "Localizable.xcstrings", "path": "...", "languages": ["en-US", "de-DE"], "entryCount": 42 }]
}
]
}