A command-line tool for finding missing and unused NSLocalizedStrings in Xcode projects.
nslocalizer is a Python-based command-line tool that analyzes Xcode projects to find missing and unused NSLocalizedStrings. It helps iOS and macOS developers maintain clean localization files by identifying strings without translations or that are no longer referenced in code, preventing localization bloat and ensuring complete translations.
iOS and macOS developers working on localized applications who need to manage and audit their NSLocalizedString usage efficiently.
Developers choose nslocalizer because it automates the tedious process of localization string auditing, integrates directly into Xcode build phases, and provides precise warnings about both missing translations and unused strings in one tool.
A tool for finding missing and unused NSLocalizedStrings
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Identifies NSLocalizedStrings lacking translations for any supported language, as shown in the example output listing specific missing languages like German or Spanish.
Finds and reports localization strings not referenced in the codebase, helping reduce clutter in Localizable.strings files.
Designed to be added as an Xcode run script phase, enabling automated checks during development builds without manual intervention.
Supports ignoring specific languages with the --ignore flag, allowing focused analysis on relevant locales during audits.
Requires Python 3.5.0 and specific modules like pyobjc-core, adding setup complexity for developers not already in a Python environment.
Lacks a graphical user interface, which may be less accessible for teams accustomed to visual tools for localization management.
Only works with Xcode project files and does not support other build systems or non-Apple platforms, restricting its utility.