I am trying to install a new locale in Firefox OS, but I am not sure if I am following the steps well.
Firstly, I tried to use Mercurial to download the desired locale: It didn't work for me, Mercurial says that access is denied, so I had to download the ZIP manually.
hg clone ssh://hg.mozilla.org/gaia-l10n/es locales/es
Secondly, unzipped it in B2G/gaia/locales/ and renamed the directory from es-7c2fcf6d1348/ to 'es'.
Thirdly, I have edited B2G/gaia/locales/dev_languages.json in order to enable the desired language and I have set the following environment variables:
export LOCALE_BASEDIR=$PWD/locales/
export LOCALES_FILE=$PWD/locales/languages_dev.json
export GAIA_DEFAULT_LOCALE=es
At last, I flash Gaia into my mobile device doing "make reset-gaia".
sudo NTFU=0 DOGFOOD=0 PRODUCTION=1 REMOTE_DEBUGGER=1 DEBUG=1 make reset-gaia
I expected to see the spanish language installed in the device, but it is not available. Am I missing anything?
By the way, is there any way to fix the Mercurial error?