CatalystX::I18N::DataLocalize - Wrapper around Data::Localize
package MyApp::DataLocalize; use Moose; extends qw(CatalystX::I18N::DataLocalize);
This class can be used as your Data Localize base-class. It is a wrapper around Data::Localize and provides methods for auto-loading po files. It is designed to work toghether with CatalystX::Model::DataLocalize.
You need to subclass this package in your project in order to use it.
MyApp::DataLocalize->add_localizer( locales => ['de','de_AT'], # Required directories => ['/path/to/your/maketext/files'], # Required );
This method will search the given directories and load all available *.po files.
This class provides only the most basic functionality and probably needs to be re-implemented according to your specific requirements.
Maroš Kollár CPAN ID: MAROS maros [at] k-1.com L<http://www.k-1.com>