Re: Mezzanine newbie

83 views
Skip to first unread message

Sachin Shende

unread,
May 14, 2013, 4:14:35 AM5/14/13
to mezzani...@googlegroups.com
Hi Olivier,

Not sure about the French translation issue but will try and address the Apache config. 

Do you have following in your config:

Listen 80
NameVirtualHost *:80


Also, have you checked your DNS settings? Are they correct?

Thanks
Sachin

On Sunday, 12 May 2013 15:00:44 UTC+1, Olivier wrote:
Hello,

I'm a beginner in the mezzanine's world and I have 2 problems:

- I would like to activate the french translation, in my settings.py, I put: LANGUAGE_CODE = "fr" and USE_I18N = True
But nothing is in french neither on my admin page nor on the site...
What should I do ?

- I need to have two différents sites, so I created 2 projects ( here blog1 and blog2 ) with the command mezzanine-project

I put these lines in my httpd.conf:

<VirtualHost *>
    ServerName blog.domain.org
    WSGIScriptAlias / /home/myname/webapps/mezzanine/blog1/deploy/wsgi.py
</VirtualHost>

<VirtualHost *>
    ServerName blog2.domain.org
    WSGIScriptAlias / /home/myname/webapps/mezzanine/blog2/deploy/wsgi.py
</VirtualHost>

But the 2 domains point on the same blog: blog1

Use I the correct solution ? And where could be the problem ?


Thank you for your help and excuse me for my poor english.

Olivier

unread,
May 15, 2013, 3:01:29 PM5/15/13
to mezzani...@googlegroups.com
Thank you, it was that...  !
For the french translation, shame on me, the problem was the cache... Well, I don't know, but after a while it's working !

Sachin Shende

unread,
May 15, 2013, 4:56:49 PM5/15/13
to mezzani...@googlegroups.com
I am glad it is working now. 

Alexandr Morozov

unread,
May 16, 2013, 2:15:20 AM5/16/13
to mezzani...@googlegroups.com


воскресенье, 12 мая 2013 г., 20:00:44 UTC+6 пользователь Olivier написал:
 I put: LANGUAGE_CODE = "fr" 

May be LANGUAGE_CODE = "fr-FR" 
it depends on the operating system 
Reply all
Reply to author
Forward
0 new messages