An old question that I'm not sure if it was solved:

2008/9/24 FERNANDO DIAZ <ferdiaz@miuandes.cl>
Thanks! I am new to Mac, so I don´t know how to edit the profile or how to create it. I searched for it but it doesn´t seem to exist? Can you give me more details on how and where to create it?

Using Allin's answer:

On Wed, Sep 24, 2008 at 10:11 AM, Allin Cottrell <cottrell@wfu.edu> wrote:
Open a terminal window (either an X11 xterminal, or the native Mac
Terminal program under Applications/Utilities).  Now, hopefully
the simple editor pico may be installed.  In the terminal window, type
 
pico ~/.profile

This file may or may not have some content already.  Add the line

export LANG=pt_BR.UTF-8

and save the file: do Ctrl-X, 'y' for Yes to save, Enter to quit.

If pico is not installed you could do this instead:

echo "export LANG=pt_BR.UTF-8" >> ~/.profile

Best,
Henrique