NAME
CatalystX::I18N::TraitFor::Response - Adds the Content-Language header to a Catalyst::Respose object
SYNOPSIS
package MyApp::Catalyst;
use CatalystX::RoleApplicator;
use Catalyst qw/MyPlugins
CatalystX::I18N::Role::Base/;
__PACKAGE__->apply_response_class_roles(qw/CatalystX::I18N::TraitFor::Response/);
DESCRIPTION
This role simply adds the 'Content-Language' header to your response.
METHODS
content_language
$c->response->content_language('de_AT','en');
Accepts a list of languages. This header will be automatically set if you use it in conjunction with the CatalystX::I18N::Role::Base role.
SEE ALSO
AUTHOR
Maroš Kollár
CPAN ID: MAROS
maros [at] k-1.com
L<http://www.revdev.at>
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 54:
Non-ASCII character seen before =encoding in 'Maroš'. Assuming UTF-8