[Po4a-commits] "po4a/doc po4a.7.pod,1.45,1.46"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sat Feb 14 14:29:24 UTC 2009
Update of /cvsroot/po4a/po4a/doc
In directory alioth:/tmp/cvs-serv15082/doc
Modified Files:
po4a.7.pod
Log Message:
* doc/po4a.7.pod: Added section "HOWTO customize po4a".
Index: po4a.7.pod
===================================================================
RCS file: /cvsroot/po4a/po4a/doc/po4a.7.pod,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- po4a.7.pod 14 Feb 2009 12:18:17 -0000 1.45
+++ po4a.7.pod 14 Feb 2009 14:29:21 -0000 1.46
@@ -48,6 +48,8 @@
=item HOWTO do all this in one program invocation?
+=item HOWTO customize po4a?
+
=back
@@ -751,6 +753,19 @@
completely updated translated document. But you only need to remember one
command line.
+=head2 HOWTO customize po4a?
+
+po4a modules have options (specified with the -o options) that can be used
+to change the module behavior.
+
+It is also possible to customize a module or new / derivative / modified
+modules by putting a module in F<lib/Locale/Po4a/>, and adding F<lib> to
+the paths specified by the PERLLIB or PERL5LIB environment. For example:
+
+ PERLLIB=$PWD/lib po4a --previous po4a/po4a.cfg
+
+Note: the actual name of the lib directory is not important.
+
=head1 How does it work?
This chapter gives you a brief overview of the po4a internals, so that you
More information about the Po4a-commits
mailing list