Creating a Language Pack
From MDC
To create a language pack, or a localization repack, you first need the L10n Prerequisites.
In the .mozconfig, you want to have
ac_add_options --disable-compile-environment mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox
Then type in your mozilla source dir
make -f client.mk configure
and go to your object dir
cd ../firefox
and (for Firefox)
cd browser/locales make langpack-ab-CD
or, to create an installer
make installers-ab-CD
Unless you have the right en-US binaries in the dist directory, the latter will fail. The easiest way to find out what to put where is to just run the target, and to download the intended en-US binaries to the locations that the error messages say.