Success!!!
I was able to build Firefox in pt-BR this afternoon. I had a rough couple of weeks so I couldn't try it before. This is how I did it:
My locale was already set in /etc/profile.d/lang.sh. I don't use csh or tcsh, but I set my locale in lang.csh as well. That didn't work. Firefox was still built in English. Then I googled some more and saw that the language that gets built is not a configure option. (configure may have an option for that, but I couldn't find any references to that). What you have to do is two things:
1- Download the language source. What you can do by running
Code:
hg clone http://hg.mozilla.org/releases/l10n-mozilla-2.0/pt-BR/
replacing pt-BR with your language.
After that, you open Pat's Slackbuild and add the option
Code:
--with-l10n-base=/home \
Its full path was /home/pt-BR, but you have to use the directory above it or the compile will fail.
2- Find the line that says
Code:
cd mozilla-$MOZVERS || exit 1
and, after that, you add
Code:
echo "ac_add_options --enable-ui-locale=pt-BR" > .mozconfig
Evidently, replacing pt-BR with your language.
Then you run the script. I am now very proudly running Firefox in Brazilian Portuguese.