Hello,

I want to install my trac using the language portuguese-brazil (pt-
BR).

I follow this steps, but the trac isn't translated.

1) Download of http://ftp.edgewall.com/pub/trac/Trac-0.12.tar.gz
2) I extracted "tar -xzf Trac-0.12.tar.gz"
3) I follow the "Using python tools" in this link: 
http://trac.edgewall.org/wiki/TracL10N
3.1) python setup.py extract_messages
3.2) python setup.py update_catalog -l pt_BR
3.3) python setup.py compile_catalog -f -l pt_BR
3.4) sudo python setup.py install
4) I installed apache with wsgi module and made a default
configuration:

<VirtualHost *:7005>
  ServerName localhost
  CustomLog /app/ccee/apache/log_trac_access.log combined
  ErrorLog /app/ccee/apache/log_trac_error.log
  DocumentRoot /app/ccee/trac/ccee/htdocs/
  WSGIScriptAlias /trac/ccee /app/ccee/trac/ccee/tmp/cgi-bin/trac.wsgi
  <Location /trac/ccee>
    SetEnv trac.locale pt_BR.UTF-8
  </Location>
  <Directory /app/ccee/trac/ccee/htdocs/>
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

The line "SetEnv trac.locale pt_BR.UTF-8" was generated an error for
me: "locale.Error: unsupported locale setting"

I fixed this, following these recommendations: http://tlug.dnho.net/node/237

I opened my "/usr/share/i18n/SUPPORTED" and copy this line
"pt_BR.UTF-8 UTF-8" and paste on my /var/lib/locales/supported.d/local
and executed this command: "dpkg-reconfigure locales"

With this, the "locale.Error: unsupported locale setting" was fixed.

Now, my trac works normally, but it was not translated to pt_BR.

My environment: Ubuntu 10.04 amd64 desktop

My Ubuntu was installed with the english - us language. No other
language was installed.

Is there another step to make ?

Is necessary to install the portuguese brazil language on my Ubuntu to
trac to be translated ?

I'm waiting for your help, ...

Thanks.
Victor Jabur

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to