in reply to Writing multilingual perl applications?
Maybe not the best solution, but you can create a language HoH that contains the translations for different languages. For example:
my $languages = { english => { not_found => 'File not found', }, german => { not_found => 'File nichte founden', }, }
Then in your application you can set the default language like so:
my $language = $languages->{german}; print $language->{not_found};
|
|---|