| gen_locales.py |
Generate New Tab's localized Fluent files for train-hopping.
New Tab packages a snapshot of translated newtab.ftl files so that a
train-hopped XPI can localize itself on Beta and Release before the strings
have ridden the trains to those channels. These files are generated into the
objdir and packaged into the XPI; they are not checked into the source tree.
Which locales are packaged is decided at configure time (see NEWTAB_XPI_LOCALES
in locales.configure) and iterated over by ../moz.build. en-US is
always packaged from the in-tree copy, so it never appears here. Every other
locale is packaged only for shipped train-hop builds, which enable
--enable-newtab-all-locales (env MOZ_BROWSER_NEWTAB_LOCALES_ALL); those locales
are copied out of a clone of the firefox-l10n repository.
`mach newtab update-locales` does the equivalent work for the manual escape-hatch
path.
|
6998 |
- |