Hi Javier,
On Wed, Dec 27, 2006 at 09:03:01AM +0700, Javier SOLA wrote:
> Christian Perrier wrote
> > - when one of my 700+ directories has a two-letter or three-letter
> > name, Pootle seems to switch itself to "let's assume that this
> > project arranges file with language directories and many PO files
> > for the same language in the same directory" layout mode
> >
> > workaround: do not try to import two-letter and three-letter
> > directories which means ignore packages such as "nn",
> > "jed", "cvs", etc.
> >
> > expected fix: allow the project admin to enforce the style of layout
> > between:
> > - many directories containing files named after
> > languages ISO codes and ONE POT file each
> > - one directory per language and many pairs of
> > PO/POT files in each
> >
> This makes sense, but it will complicate things a bit. Pootle has both a
> project centered view (which projects are there, independently of the
> language) and a language centered view (which projects are there for
> this language). It will probably be necessary to code separately for
> directories that include the files for all languages, using different names.
It should be quite easy to add a line like:
myproject.treestyle = "gnu"
or:
myproject.treestyle = "nongnu"
in pootle.prefs, and use it in potree.isgnustyle() or potree.hasgnufiles()
This should avoid having to guess whether a project with a vi directory is
a project with Vietnamese translations or a project with translations
related to the vi editor.
This should also provide a good speedup for GNU style projects with a lot
of files / directories.
Kind Regards,
--
Nekral
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle