Pod::MultiLang::Dict - heading dictionary manager
my $dictmgr = Pod::MultiLang::Dict->new(); $dictmgr->load_dict(@langs); my @tranlates = $dictmgr->find_word([@langs],$word);
heading word translate dictionary for Pod::MultiLang.
dictionary for each language is placed at Pod::MultiLang::Dict::xx. loaded by use statement from load_dict;
my $dictmgr = Pod::MultiLang::Dict->new();
create an instance. but all instance has same condition.
$dictmgr->load_dict(@langs); $dictmgr->load_dict(\@langs);
load dictionary for specified language.
@multilingual = $dictmgr->find_word(\@langs,$text);
translate English to other. "a AND b" is acceptable.
$text = $dictmgr->make_link
returns hash reference which contains 'English word' => 'Foreign Word'.
$text = $dictmgr->make_linktext($lang,$name,$section);
make link text for L<> interior sequence which has no text part.
To install Pod::MultiLang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::MultiLang
CPAN shell
perl -MCPAN -e shell install Pod::MultiLang
For more information on module installation, please visit the detailed CPAN module installation guide.