The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

File::Gettext::Schema - Adds language support to the default schema

Synopsis

Description

Extends File::DataClass::Schema

Configuration and Environment

Defines these attributes

gettext_catagory

Subdirectory of localdir that contains the mo / po files. Defaults to LC_MESSAGES

language

The two character language code, e.g. de.

localedir

Path to the subtree containing the MO/PO files

result_source_class

Overrides the default

Subroutines/Methods

BUILDARGS

Sets the result source class to File::Gettext::ResultSource

BUILD

If the schema is language dependent then an instance of File::Gettext::Storage is created as a proxy for the storage class

Diagnostics

None

Dependencies

File::DataClass
Moo
Type::Tiny

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2016 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE