M

mostechmail-lang

Thunderbird Localizations

This repository contains the localized messages for all Thunderbird locales.

If you’d like to submit translations or suggest improvements to existing strings please visit us on Pontoon. Changes to translations will not be accepted by pull request.

String updates

This repo contains only localized files; source strings are located in the thunderbird-l10n-source repository.

Newly translated strings are committed to the main branch via Pontoon's translation sync.

Git branches

  • main — contains the translations for the mostechmail-140 release
  • latest — contains the translations for the mostechmail latest release

МосТех.Почта

This repository also contains scripts for creating a МосТех.Почта language pack based on Thunderbird Language Pack.

Scripts

  • inject_ftl.sh — Injects custom translations from langpack_ftl_inject.txt into an unpacked language pack

    Usage:

    ./inject_ftl.sh [unpack_dir] [inject_file]

    Defaults:

    • Unpack directory: ./langpack_work/unpacked
    • Inject file: ./langpack_ftl_inject.txt

    What the script does:

    1. Parses langpack_ftl_inject.txt with sections like [filename.ftl]
    2. Finds matching FTL files in the unpacked language pack
    3. Adds missing keys to the found files (skips if key already exists)
    4. Shows a report of processed files and added keys
  • download_and_rebrand_langpack.sh — Downloads, unpacks, and replaces branding in a Thunderbird language pack

    Replaces "Thunderbird" with "МосТех.Почта" in all localization files (.ftl, .properties, .dtd) and injects custom translations.

    Usage:

    ./download_and_rebrand_langpack.sh [VERSION]
    ./download_and_rebrand_langpack.sh --input /path/to/file.xpi

Translation inject file

langpack_ftl_inject.txt — contains additional translations that are missing from the standard Thunderbird language pack. Format:

# Comment
[filename.ftl]
key-1 = value-1
key-2 = value-2

[another_file.ftl]
key-3 = value-3