Hi Lucas, first, let's take this to the trac-dev mailing list.
Am 08.08.2007 um 16:48 schrieb Lucas Stephanou: > Hi Christopher, > > Yesterday I checkout i18l branch of trac, install on a test server > to test. > Here in company I'm migrating our project to trac, but is very > important the localization ( translate to pt_BR). > > I found messages.pot in locale/pt_BR/LC_MESSAGES/ > and I've translated 60% of file. Nice! > My question to you is how I can active pt_BR locale in trac. Okay, you should have a file trac/locale/pt_BR/LC_MESSAGES/ messages.po, right? You then need to compile the messages into .mo form using: ./setup.py compile_catalog --use-fuzzy --statistics --locale pt_BR Which should create a file at trac/locale/pt_BR/LC_MESSAGES/messages.mo Currently the only way to select the locale Trac uses is to set the browser language, so you'll have to do that. Furthermore, it may be a good idea to use the trunk version of Babel. Cheers, Chris -- Christopher Lenz cmlenz at gmx.de http://www.cmlenz.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
