Skip to content

localekit scan

Scan directory for localization files

Login required

Usage

bash
localekit scan [path] [options]

Arguments

ArgumentDescriptionDefault
pathPath to scan (defaults to current directory).

Options

OptionDescriptionDefault
--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

FlagDescription
--detailedShow detailed file information
--jsonOutput as JSON

JSON Output

json
{
  "platforms": [
    {
      "platform": "Xcode",
      "confidence": 95,
      "fileTypes": ["xcstrings"],
      "files": [{ "name": "Localizable.xcstrings", "path": "...", "languages": ["en-US", "de-DE"], "entryCount": 42 }]
    }
  ]
}

LocaleKit CLI 0.7.2 · Built by Hexagone Studio