Steve,

Mezzanine is a high quality base for any service. Thanks for your great 
efforts!

As I'm localizing my project to Finnish, I'm wondering why the 
mezzanine.accounts module seems to switch to english, for example when the 
user is logging in or signing up. I'm using the regular 
includes/user_panel.html. Elsewhere the 
django.middleware.locale.LocaleMiddleware has taken care of business. I've 
even tried my own translations and the stock ones.

Any ideas?

-- Eki

sunnuntai, 13. helmikuuta 2011 14.06.42 UTC+2 Stephen McDonald kirjoitti:
>
> Hey no problem.
>
> I think you need to translate each Mezzanine application separately. So 
> that's: 
>
> - mezzanine.blog
> - mezzanine.conf
> - mezzanine.core
> - mezzanine.forms
> - mezzanine.blog
> - mezzanine.pages
> - mezzanine.twitter
>
> So you go into each application's directory and create a "locale" 
> directory (if it doesn't exist already), and from there you can run the 
> necessary commands.
>
> Cheers,
> Steve
>
> On Sun, Feb 13, 2011 at 10:06 PM, Dominique Guardiola Falco <
> [email protected] <javascript:>> wrote:
>
>> Localization seems easy with this method
>> But the docs mention that the command 
>>
>> django-admin.py makemessages -l fr
>>
>>
>> should be issued in the target app root folder.
>> The strings to be translated are inside the Mezzanine app, so does it mean I 
>> have to copy first 
>>
>>
>> the mezzanine folder into my project root folder ?
>> Because if I try to create this file directly in the installed mezzanine 
>> folder in site-packages I get this error :
>>
>> Error: This script should be run from the Django SVN tree or your project or 
>> app tree. If you did indeed run it from the SVN checkout or your project or 
>> application, maybe you are just missing the conf/locale (in the django tree) 
>> or locale (for project and application) directory? It is not created 
>> automatically, you have to create it by hand if you want to enable i18n for 
>> your project or application.
>>
>>
>> Sorry for the dumb questions...
>>
>>
>>
>
>
> -- 
> Stephen McDonald
> http://jupo.org
>
>  

-- 
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/d/optout.

Reply via email to