Changes

Jump to: navigation, search

Mobile/Fennec/Android/AdvancedTopics

1,532 bytes removed, 03:24, 17 November 2016
Multilocale builds: Link to new multilocale page
=== Multilocale builds ===
Currently, multilocale only works with a full build. Due to some issues, multilocale artifact build is not supported and you will encounter make target build error when attempting to do so.  Assumptions * $AB_CD is the locale you want to repack with* objdir-frontend is the directory you specified in your mozconfig, replace this with the object directory you are using   Before starting, make sure you are in the parent directory of mozilla-central repo mkdir -p l10n # this should be a sibling directory to mozilla-central cd l10n hg clone https:[[Mobile/Fennec/hg.mozilla.orgAndroid/l10n-central/$AB_CD cd ../mozilla-central Edit your mozconfig to include Multilocale_Builds]] contains the following options and input the values you want # Edit to include only locales you want to build. Exception is 'en-US' must always be included! mk_add_options 'export MOZ_CHROME_MULTILOCALE=en-US fr' # Use absolute paths to the directory that houses your locale repos mk_add_options 'export L10NBASEDIR=/absolute/path/to/l10n' ac_add_options --with-l10n-base=/absolute/path/to/l10n  Build, merge, chrome, package, install for each locale you want with the following steps: mach configure mach latest multilocale build make -C objdir-frontend/mobile/android/locales chrome-$AB_CD LOCALE_MERGEDIR=/absolute/path/to/repo/objdir-frontend/merge-$AB_CD mach package mach install  Rebuild with another locale In mozconfig, edit MOZ_CHROME_MULTILOCALE option to the locale you want  mach configure mach build mobile/android make -C objdir-frontend/mobile/android/locales chrome-$AB_CD LOCALE_MERGEDIR=/absolute/path/to/repo/objdir-frontend/merge-$AB_CD mach package mach installrecipe
=== Single-locale language repacks ===
46
edits

Navigation menu