NAME
CatalystX::I18N::TraitFor::Response - Adds the Content-Language header to the Catalyst::Response 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.k-1.com>