Skip to content

Instantly share code, notes, and snippets.

@bobchao
Last active December 29, 2015 06:19
Show Gist options
  • Save bobchao/7628400 to your computer and use it in GitHub Desktop.
Save bobchao/7628400 to your computer and use it in GitHub Desktop.
  1. 請先 clone https://github.com/moztw/gaia-distribution-sample.git
  2. 接著下 gaia 的 make 指令時指定此資料夾為 GAIA_DISTRIBUTION_DIR 即可(請用 reset-gaia)

例:

GAIA_DISTRIBUTION_DIR=~/Code/gaia-distribution-sample MOZILLA_OFFICIAL=1 PRODUCTION=1 GAIA_KEYBOARD_LAYOUTS=en,zh-Hant-Zhuyin LOCALE_BASEDIR=locales/ LOCALES_FILE=locales/languages_zhtw.json GAIA_DEFAULT_LOCALE=zh-TW NOFTU=1 make reset-gaia

ps. 我習慣把 FTU 關掉,因為太常刷、要常按很煩。如果你是為了測試 l10n 字串,建議還是打開(把 NOFTU=1 刪掉),因為導覽畫面還是有不少重要字串。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment