XML::NewsML_G2::Role::HasTranslations - Role for item types that have translations
my $media_topic = XML::NewsML_G2::Media_Topic->new (name => 'alpine skiing', qcode => 20001057); $media_topic->add_translation('de', 'alpiner Skilauf')
This module serves as a role for all NewsML-G2 item type classes which have translations
Hash mapping from language to according translation
Christian Eder <christian.eder@apa.at>
<christian.eder@apa.at>
Copyright (c) 2019, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.
To install XML::NewsML_G2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::NewsML_G2
CPAN shell
perl -MCPAN -e shell install XML::NewsML_G2
For more information on module installation, please visit the detailed CPAN module installation guide.