Skip to main content
2022 Swift 5.7 ArgumentParser DispatchSemaphore NSRegularExpression Rainbow

LintLokalization

Multi-threaded localization key validator for iOS/macOS/Android with IDE-native diagnostics

LintLokalization screenshot

Overview

LintLokalization is a multi-threaded command-line tool written in Swift that validates localization keys across iOS/macOS/Android projects. It scans source files using configurable regex patterns to find localization key usages, cross-references them against localization files (.strings or Android XML), and reports missing or unknown keys. It integrates directly into Xcode build phases, GitHub Actions, and Android Studio via format-specific reporters that emit diagnostics in each tool's native format.

Highlights

  • Multi-threaded CLI tool with manual thread pool, semaphore synchronization, and zero-contention work partitioning
  • Production-deployed at Povio Labs as an Xcode build phase and CI step catching real localization bugs before shipping
  • Cross-platform reporter system (Xcode, GitHub Actions, Android Studio, terminal) using a clean strategy pattern
  • Performance-instrumented design with built-in benchmarking, per-phase timing, and throughput metrics (files/s, lines/s)
  • Hand-rolled .strings parser with proper escape handling and single-pass processing