MozillaZine


Compile a localised Firefox?

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
persist
 
Posts: 1
Joined: May 19th, 2010, 3:58 pm

Post Posted May 19th, 2010, 4:41 pm

Does anyone know how to compile a localised Firefox? I tried putting this in my mozconfig
Code: Select all
mk_add_options MOZ_CO_LOCALE="en-GB"
ac_add_options --enable-ui-locale=en-GB
But the build errors out with
Code: Select all
make[5]: Entering directory `/tmp/firefox-build-dir/extensions/spellcheck/locales'
Makefile:52: *** L10NBASEDIR not defined by configure.  Stop.
make[5]: Leaving directory `/tmp/firefox-build-dir/extensions/spellcheck/locales'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/tmp/firefox-build-dir/extensions/spellcheck'
make[3]: *** [export_tier_platform] Error 2
make[3]: Leaving directory `/tmp/firefox-build-dir'
make[2]: *** [tier_platform] Error 2
make[2]: Leaving directory `/tmp/firefox-build-dir'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/firefox-build-dir'
make: *** [build] Error 2

Sephirot

User avatar
 
Posts: 247
Joined: June 15th, 2004, 7:56 am

Post Posted May 27th, 2010, 3:10 pm

1) pull the locale files -> https://developer.mozilla.org/en/L10n_on_Mercurial
2) provide the location with the locale files
e.g.
Code: Select all
ac_add_options --with-l10n-base=../l10n-192

this folder needs a sub folder for each additional locale you want to use
Author of Bookmarks Menu Button, Autoclose Bookmark&History Folders and more

Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.19pre) Gecko/20110701 Firefox/3.6.19pre <-- build with MS VC++ 2010 SP1 and PGO on Win 7 x64

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests