NAME

Pod::MultiLang::Dict - heading dictionary manager

SYNOPSIS

my $dictmgr = Pod::MultiLang::Dict->new();
$dictmgr->load_dict(@langs);
my @tranlates = $dictmgr->find_word([@langs],$word);

DESCRIPTION

heading word transrate dictionary for Pod::MultiLang.

dictional for each language is placed at Pod::MultiLang::Dict::xx. loaded by use statement from load_dict;

METHODS

new
my $dictmgr = Pod::MultiLang::Dict->new();

create an instance. but all instance has same condition.

load_dict
$dictmgr->load_dict(@langs);
$dictmgr->load_dict(\@langs);

load dictionary for specified languals.

find_word
@multilingual = $dictmgr->find_word(\@langs,$text);

translate english to other. "a AND b" is acceptable.

METHODS required for dictionary

static_table
$text = $dictmgr->make_link

returns hash reference which constains 'english' => 'translated'.

make_linktext
$text = $dictmgr->make_linktext($lang,$name,$section);

make link text for L<> interior sequence which has no text part.