$npx skillfedfor your agent

compare-locales

Lint Mozilla localizations

With conditionsPyPI Python ModulesReleased May 202681.7K downloads / moMPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — compare_locales-9.0.5-py3-none-any.whl
v9.0.5 · released 2026-05-30 · Python <4,>=3.7 · 3 runtime deps: fluent.syntax, six, toml

Yes, if you maintain Mozilla localizations or similar multi-language projects. The tool is actively maintained, has no known vulnerabilities, and low install friction. The copyleft license is standard for Mozilla tooling; verify it aligns with your project's licensing model before use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an l10n.toml configuration file in your project; see moz-l10n-config documentation for format details.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained as of May 2026, with recent commits and production-stable status.

License · maintenance · safety

MPL-2.0 (copyleft) — Mozilla Public License 2.0 (copyleft) requires that modifications and derivative works remain under MPL-2.0; suitable for internal tooling and open-source projects but check your licensing requirements if distributing modified versions.

last release 2026-05-30 (76 days) · last repo commit 2026-05-29 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,727 downloads/mo, #14,206 on PyPI

Verify before relying

pip install compare-locales

compare-locales l10n.toml .
moz-l10n-lint l10n.toml
  • Whether fluent.syntax, six, and toml are bundled or require separate installation in your environment.
  • Performance characteristics when linting large localization projects with many locales.
Same gist for agents: .md · .json

What it is and what it does

compare-locales is a command-line linter and merge tool for Mozilla localization workflows. It validates localization files against a reference (typically English) to detect missing strings, obsolete entries, and runtime errors without false positives, while also warning on potential issues. The package includes two main tools: compare-locales for validating locales across a project, and moz-l10n-lint for checking local work and detecting string conflicts.

The tool is configured via an l10n.toml project file and works with Mozilla's localization structure. It can merge localizations by padding them with missing English strings and replacing error-prone entities with English fallbacks, making it essential for maintaining consistency across multiple language variants in large projects.

Use it for

  • Validate all locales in a Mozilla project against a reference configuration to catch missing or obsolete strings before release.
  • Lint local localization work before committing to detect errors and conflicts in string definitions.
  • Merge localizations with English fallbacks to ensure no untranslated strings break the application at runtime.
  • Check for conflicts between locally-defined strings and those already exposed to the l10n community.
  • Integrate into CI/CD pipelines to enforce localization quality standards across monolithic and gecko-based projects.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you maintain Mozilla localizations or similar multi-language projects.

The tool is actively maintained, has no known vulnerabilities, and low install friction. The copyleft license is standard for Mozilla tooling; verify it aligns with your project's licensing model before use.

Install

compare-locales on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of May 2026, with recent commits and production-stable status.

Requires an l10n.toml configuration file in your project; see moz-l10n-config documentation for format details.

License in practice

Mozilla Public License 2.0 (copyleft) requires that modifications and derivative works remain under MPL-2.0; suitable for internal tooling and open-source projects but check your licensing requirements if distributing modified versions.

Quickstart

pip install compare-locales

compare-locales l10n.toml .
moz-l10n-lint l10n.toml

Verify before relying

  • Whether fluent.syntax, six, and toml are bundled or require separate installation in your environment.
  • Performance characteristics when linting large localization projects with many locales.

Package facts

LicenseMPL-2.0 copyleft
Python supportSupports the current Python release <4,>=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
fluent.syntaxsixtoml
MaintenanceActively maintained 76 days since the last release
Last repo commit
First released
Downloads81,727 / month, #14,206 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: LocalizationTopic :: Software Development :: Testing

Evidence: compare_locales-9.0.5-py3-none-any.whl

Tags

Capabilities
localization lintingl10n validationmozilla locales checkertranslation string errorsl10n merge toollocalization quality assurance
Topics
l10n-toolingmozilla-ecosystemci-cd-ready

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “localization linting”

  • compare-localesLints Mozilla localization files to find missing, obsolete, and…
  • fluent.syntaxParse, write, and transform Fluent localization files with built-in…
  • weblate-fontsProvides a curated collection of fonts packaged for use by Weblate…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also mozilla-version · translation-finder · babel · weblate-language-data · ResourceBundle · translationstring · mozversion · flask-babel · quart_babel