gri6507 has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,

I have recently been asked to internationalize one of my Perl/Tk applications. Since I have never done so in Tk or Perl for that matter, I would like to ask for your opinions and suggestions for doing so. The reason I am asking is because

Many thanks in advance!

Replies are listed 'Best First'.
Re: i18n in Perl/Tk
by shmem (Chancellor) on Dec 02, 2007 at 23:14 UTC
    perl's i18n support is pretty complete, so I'd answer your first two answers with 'yes'.

    As for the third, see perllocale, perluniintro, perlunicode, the module Encode for encoding and recoding. For Tk-specific "best practice" (language files?) I have no answer, since I never did such a thing.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}