Bugs item #301133, was opened at 2005-01-23 12:39
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301...
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jordi Vilalta (jvprat-guest)
Assigned to: Nobody (None)
Summary: Adding templates to po4a config files
Initial Comment:
This is a request for enhancement.
One of the shortcommings (in my opinion) of the po4a script is the strictness of the
config files. When you want to add a new language you have to touch several places of the
file. Since the paths are usually similar, this could be enhanced by using some kind of
templates. My proposal is to add a new command [po4a_langs] and some kind of identificator
(like $lang), so that an actual typical config file like this:
[po4a_paths] po/debian.pot fr:po/fr.po de:po/de.po es:po/es.po
[type: pod] example.pod fr:out/example_fr.pod add_fr:po/add.fr de:out/example_de.pod
add_de:po/add.de es:out/example_es.pod add_es:po/add.es
could be rewritten to something like:
[po4a_langs] fr de es
[po4a_paths] po/debian.pot $lang:po/$lang.po
[type: pod] example.pod $lang:out/example_$lang.pod add_$lang:po/add.$lang
This way, it's so easy to add a new translation, and I think that the file's
structure gets clearer.
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301...