/mozl10n-linter

Linter for Mozilla l10n monorepos. Supported format: Android, Fluent, XLIFF, JSON.

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

Mozilla L10n Linter

The scripts in this repository can be used to lint reference files and localized monorepos, i.e. repositories which include source and localized resources.

The list of errors for failed runs is available as an artifact (errors-list):

  • Click on the link in the project column.
  • Click on the first failed run (with a red cross) on the right.
  • The list of errors will be displayed in the logs. It’s also possible to download the list as a file in the Artifacts section at the bottom of the page. For both actions it’s necessary to be logged in to GitHub.

It's possible to define exceptions for specific type of checks in each project.

Android (XML)

Project Linter Status
Firefox for Android Linter status
Focus for Android Linter status

Fluent

Project Linter Status
Firefox Accounts Linter status
Firefox Relay Linter status
Firefox Monitor Linter status
Firefox Profiler Linter status
mozilla.org Linter status
Pocket Marketing Pages Linter status

JSON (WebExtensions)

Project Linter Status
Firefox Multi-Account Containers Linter status
Firefox Relay Add-on Linter status
Firefox Translations Linter status

XLIFF (iOS, qt)

Project Linter Status
Firefox for iOS Linter status
Focus for iOS Linter status
Mozilla VPN Client Linter status

Gettext

Project Linter Status
Firefox Accounts Linter status