NAME

Template::Plugin::Translit::RU - Filter converting cyrillic text into transliterated one.

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( 'kirilitsa', '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.

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. Method 'detranslit' is not yet implemented. Use this module on your own risk.

SEE ALSO

Template

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.