1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
$Id: README,v 1.2 2006-08-26 11:52:51 eric Exp $
--------
Abstract
--------
This subclass of Template Toolkit supports multilingual templates: templates that
contain text in several languages.
<t>
<en>Hello!</en>
<fr>Bonjour !</fr>
</t>
Then specify the language to use when processing a template:
use Template::Multilingual;
my $template = Template::Multilingual->new();
$template->language('en');
$template->process('example.ttml');
------------
Requirements
------------
This module requires Template Toolkit.
------------
Installation
------------
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
Alternatively, to install with Module::Build, you can use the following commands:
perl Build.PL
./Build
./Build test
./Build install
COPYRIGHT AND LICENCE
Copyright (C) 2005, 2006 Eric Cholet
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
|