On 30 Mar 2012, at 12:33 AM, Cesar Peschiera wrote:

> Ah,  problems:
> 
> My virtual machine is now as before, ie, without having followed the steps of 
> tutorial 
> "http://www.baruwa.org/blog/2011/09/29/adding-new-languages-to-baruwa/";.
> 
> I ran baruwa-admin makemessages -l es
> and a message appears on the screen:
> 
> [root@centos-62 ~]# baruwa-admin makemessages -l es
> 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.

cd /usr/lib/python2.6/site-packages/baruwa before you run the command.

> 
> I beleive that i need make some preliminary steps, could you guide me?
> 
> And other questions:
> 
> Once created the two files mo, for the next installations, can i copy these 
> two files mo directly, configure the setting.py without having to do extra 
> tasks and leave in Spanish baruwa? or i will need to do extra tasks for each 
> installation?

once you have created the .mo files you can use those for other websites.

> 
> Please answer me considering that I'm not a programmer.
> 
> Best Regards
> 
> Cesar
> 
> ----- Original Message ----- From: "Cesar Peschiera" <[email protected]>
> To: "Andrew Colin Kissa" <[email protected]>
> Sent: Thursday, March 29, 2012 6:48 PM
> Subject: Re: [Baruwa] Adding new languages to Baruwa for me not work
> 
> 
>> Yes, of course, upon termination of the translation I will send you the files
>> 
>> Thank you Andrew
>> 
>> ----- Original Message ----- From: "Andrew Colin Kissa" 
>> <[email protected]>
>> To: "Cesar Peschiera" <[email protected]>
>> Sent: Thursday, March 29, 2012 4:50 PM
>> Subject: Re: [Baruwa] Adding new languages to Baruwa for me not work
>> 
>> 
>> 
>> On 29 Mar 2012, at 8:08 PM, Cesar Peschiera wrote:
>> 
>>> Can anyone help me to do my Spanish translation?
>> 
>> You can do a translation on the actual system instead of using the git 
>> version, that
>> is for developers who understand how to build and install software.
>> 
>> baruwa-admin makemessages -l es
>> baruwa-admin makemessages -d djangojs -l es
>> 
>> edit the files in
>> 
>> /usr/lib/python2.6/site-packages/baruwa/locale/es/LC_MESSAGES/django.po
>> /usr/lib/python2.6/site-packages/baruwa/locale/es/LC_MESSAGES/djangojs.po
>> 
>> When you have translated all the strings run
>> 
>> baruwa-admin compilemessages
>> 
>> Add ('es', ugettext('Spanish')), to LANGUAGES in settings.py
>> 
>> You can send me the two files django.po and djangojs.po if you want me to 
>> include
>> them in baruwa upstream.
>> 
>> Thats it.
>> 
>> - Andrew
>> 
>> --
>> www.baruwa.org
>> 
>> 
>> 
> 

--
www.baruwa.org



_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to