- or download this
$translat{English}{red} = 'red';
$translat{English}{blue} = 'blue';
...
$translat{Spanish}{red} = 'rojo';
$translat{Spanish}{blue} = 'azul';
$translat{Spanish}{yellow} = 'amarillo';
- or download this
$t = $translat{Spanish};
print "The proper word for red is '$t->{red}'\n";
- or download this
The proper word for red is 'rojo'
- or download this
$_ = <TABLE>;
chomp;
...
$translat{$lang[$i]}{$key} = $text[$i];
}
}