RECENT POSTS

P5-template-multilingual

May 26, 2018

Multilingual templates for Template Toolkit

This subclass of Template Toolkit’s TemplateParser parses multilingual templates templates that contain text in several languages.

<t>
  <en>Hello!</en>
  <fr>Bonjour !</fr>
</t>

Use this module directly if you have subclassed Template, otherwise you may find it easier to use TemplateMultilingual.

Language codes can be any string that matches \w+, but we suggest sticking to ISO-639 which provides 2-letter codes for common languages and 3-letter codes for many others.

WWW http//search.cpan.org/dist/Template-Multilingual/