On Di, 2008-06-24 at 12:46 -0400, Cristóbal Palmer wrote: > Hi folks, > > I've set up pootle.metalab.unc.edu for the mailman project, but I'm > having some trouble with VCS integration and I'm hoping this list can > help me out. > > I'm running the pootle that comes with Ubuntu 8.04 (Hardy Heron), and > it has put the project files in /var/lib/pootle. So far so good: > > # dpkg -l pootle|grep ^ii > ii pootle 1.1.0-1 Web-based translation and > translation management tool
Great! You can thank Nicolas, the friendly packager for Debian as far as I know. > Originally I did an SVN checkout of just the "messages/" directory of > the sourceforge SVN repository for mailman straight to > /var/lib/pootle/mailman, having set the group ownership of > /var/lib/pootle to "pootle" and also set the sticky bit. I followed > that up with "chmod -R g+w mailman", and pootle seemed to like that > just fine once I created a "mailman" project from the web interface. I > could see all the .po files, the translation progress, etc.... Looked > great! Only one problem... > > It turns out that mailman has moved from depending on SVN at > sourceforge to depending on bzr at launchpad. When I tried to check > out the messages directory as I had done with the SVN repo, I > discovered two things: > > 1) I can't figure out how to check out _just_ the messages/ > directory. My status as a bzr novice is showing. Where can I find the > equivalent for bzr of the wonderful http://svnbook.red-bean.com/ book? Somebody else will have to help on this one, but... > > 2) Pootle doesn't seem to want to see anything I put into > /var/lib/pootle with bzr. I assumed that I would still be able to see > the .po files even if they were buried an extra directory down (ie. if > I checked out the _entire_ mailman project to /var/lib/pootle). > > Cheers, No - the directory layout under /var/lib/pootle should have the layout of /var/lib/pootle/{projectcode} - Pootle relies on that. If the PO files are in GNU style (one file per language, all in one directory), they should lie in that directory. If you follow a structured layout like KDE or the Pootle project that should already be there (one subdirectory for each language), then each directory must correspond to the languages registered on your server. The solution is easy though: So a checkout anywhere else on your system, and just make a symbolic link to the correct (messages?) directory in the checkout. Welcome to the Pootle community! Friedel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
