NAME
Template::Plugin::Translit::RU - Filter 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 translit = Translit::RU %]
[% translit.translit( 'without cyrillic text is useless' ) %]
[% translit.detranslit( 'kirilitca', 'win' ) %]
DESCRIPTION
Template::Plugin::Translit::RU is Template Toolkit filter which allows to convert cyrillic text in one of two popular charsets koi8-r and windows-1251 into transliterated latin text. Also back conversion supported.
SUPPORTED CHARSETS
Currently Template::Plugin::Translit::RU supports 2 main cyrillic charsets koi8-r and windows-1251.
IMPORTANT NOTE
This is alpha release of module. Charset tables and other stuff could be changed in future versions. Use this module on your own risk.
SEE ALSO
AUTHOR
Igor Lobanov, <igor.lobanov@gmail.com>
COPYRIGHT
Copyright (C) 2004 Igor Lobanov. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.