This repository contains the source locale messages for Firefox. They are extracted from the active branches (Nightly, Beta, Release, ESRs) by a scheduled GitHub action, which produces pull requests that are reviewed by the L10n team before merging.
From here, messages are exposed to translators in Pontoon.
Note that unless otherwise specified, files in this repository have been processed from their Source Code Form, and therefore following our license (MPL-2.0) do not necessarily carry a Source Code Form License Notice. The Source Code Form for each such file is available from mozilla/mozilla-firefox/firefox.
Before adding a new supported Firefox version, make sure to merge pending update pull requests (it will avoid the need to rebase existing PRs). Then:
- Create a local branch.
- Add the new version to the update configuration in
.github/update-config.json
. Note that ESR versions should be ordered by the most recent to the least recent (e.g.esr140
beforeesr128
). The name of the version needs to match the branch name on mozilla/mozilla-firefox/firefox. - Open a pull request.
- Once the pull request is merged, run the update automation. This will generate
the corresponding data storage file in
_data
.
Before removing a supported version from the repository, make sure to merge pending update pull requests and pause sync in Pontoon. Then:
- Create a local branch.
- Remove the corresponding data storage file in
_data
(e.g._data/esr128.json
). - Remove the version from the update configuration in
.github/update-config.json
. - In a virtual environment with the requirements
installed, run the Python script
.github/scripts/prune.py
. This will remove the content and provide a report. - Open a pull request.
- Once the pull request is merged, run the update automation.