Hi all

it's my first post here. I've just started using Mezzanine and it seems a 
wonderful platform.
I have a very simple question(s) about locale.
I'm trying to change the language of the Admin site.  I see that as soon as 
I add a language to settings.py, e.g.:

LANGUAGES = (
    ('en', _('English')),
    ('it', _('Italian')),
)

a drop-down menu appears in the Admin site, but if I choose Italian I can't 
see any change.
I've also set this:

LANGUAGE_CODE = "it-IT"

Which step I'm missing?

On a side note, I've also found a problem working inside a virtualenv, 
which had a wrong locale (no UTF-8). I got an error when I opened the 
default gallery page (which contains image files with accented letters).
I changed the  variables and everything worked correctly:

export LANG=it_IT.UTF-8
export LC_ALL=it_IT.UTF-8

What surprised me is that these settings are kept when I close the 
virtualenv and I wonder where these have been stored (a shell usually 
forgets what you define on the terminal, when you close it; it remembers 
only what you save in .bashrc).
Well, this question is about virtualenv and not Mezzanine, but still about 
language and locale :-)

Thank you in advance
Federico

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to