this is my .userconfig file, which is on my b2g root:
gll / b2g 1.2 cat .userconfig master
#export GECKO_OBJDIR=/Volumes/Trabajo/repos/mozilla-central/objdir-gonk
#export GECKO_PATH=/Volumes/Trabajo/repos/mozilla-central/
export REMOTE_DEBUGGER=1
export DEVICE_DEBUG=1
export MOZILLA_OFFICIAL=1
export PRODUCTION=1
## Gaia
export GAIA_DEFAULT_LOCALE=es
export LOCALE_BASEDIR='/b2g/gaia-locales-1.2/'
export LOCALES_FILE='/b2g/languages_propio.json'
## Gecko
export L10NBASEDIR='/b2g/gecko-locales-1.2/'
export MOZ_CHROME_MULTILOCALE="es-ES eu ca gl pt-BR"
export PATH="$PATH:/b2g/compare-locales/scripts"
export PYTHONPATH="/b2g/compare-locales/lib"
export CC='ccache /usr/bin/gcc-4.6'
export CXX='ccache /usr/bin/g++-4.6'
export CCACHE_DIR='/b2g/.ccache'
where locales_propio.json
is as follows:
gll / b2g 1.2 cat ../languages_propio.json
{
"ca" : "Català",
"en-US" : "English (US)",
"es" : "Español",
"eu" : "Euskara",
"gl" : "Galego",
"pt-BR" : "Portugués (BR)"
}
Here, you can add your Gaia constants, as you can see.
You must clone your locales in your LOCALE_BASEDIR
, depending on the branch:
https://hg.mozilla.org/releases/gaia-l10n/v1_2/
https://hg.mozilla.org/gaia-l10n/
Cheers,
Guillermo