
Language packs don't require repackaging. It strips existing chrome l10n resources, and adds Toolkit/mozapps/installer/l10n-repack.py, using an existing The repackaging is dedicated Python code in Is used for repacks, chrome-% for multi-locale packages. Source directories that include localizable files. TheĬopying of files is mainly controlled by jar.mn, in the few

Get the localization repository, if needed.The three main entry points above all trigger related build flows: Toolkit/locales/l10n.mk, plus the packaging build system. The general flow of the locale repacks is controlled by If you want to create a single build with multiple locales, you willįor each locale you want to include in the build: export MOZ_CHROME_MULTILOCALE="de it zh-TW"Ĭreate the multilingual package: AB_CD=multi. Them needs to be built in a platform-independent way. Language packs are platform independent, and the content that goes into The generated language pack is inĭespite the platform-dependent location in the build directory, It doesn't require a package or aīuild, though. Installers-$AB_CD target above, and does the check-out of This target shares much of the logic of the Only compatible with the mozilla-central source they're Building them doesn't require an actual build, but they're

Language packs are extensions that contain just the localized This build also packages a language pack. Repositories at a different location on your disk, you can point to theĭirectory via ac_add_options -with-l10n-base=/make/this/a/absolute/path Have an existing repository there, you may want to occasionally update It will clone them into ~/.mozbuild/l10n-central. Including getting the repository for the requested locale from. Installers target runs quite a few things for you, You should find a re-packaged build at OBJDIR/dist/, andĪ runnable binary in OBJDIR/dist/l10n-stage/.

Repackage using the locale-specific changes./mach build installers-$AB_CD You must have a built and packaged object directory, or a Repack with you find the available localizations on l10n-central. This assumes that $AB_CD is the locale you want to These builds rely on make targets that don't work for artifact
