Template::Plugin::Translit::RU is a filter for converting cyrillic text into transliterated one and back.
SYNOPSIS
Use as filters.
[% USE Translit::RU 'translit' 'detranslit' %]
[% FILTER translit( 'koi' ) %]
...
This text would stay unchanged because it is not cyrillic.
...
[% END %]
Use as object. First argument - text for conversion. Second optional argument - charset ('koi' is default).
[% USE plTranslit = Translit::RU %]
[% plTranslit.translit( 'without cyrillic text is useless' ) %]
[% plTranslit.detranslit( 'kirilitca', 'win' ) %]
Template::Plugin::Translit::RU is Template Toolkit filter which allows to convert cyrillic text into transliterated latin text. Currently two most popular charsets are supported - koi8-r and windows-1251. Also back conversion supported.
Product's homepage
Requirements:
· Perl