http://www.perlmonks.org?node_id=1210558


in reply to Re^4: Gtk stock button translation
in thread Gtk stock button translation

What is env_c?

Replies are listed 'Best First'.
Re^6: Gtk stock button translation
by mtl3 (Novice) on Mar 10, 2018 at 18:32 UTC
    SOLVED

    Digging more into this problem I managed to find an easy solution. In the gtk+ install, there is a folder gtk+\share\locale which looked very much like internationalization files. I simply copied these files in strawberry_perl\perl\site\share and that made the trick.

    Due to my limited understanding of how gtk and perl interact, I first thought that either perl was able to access the internationalization files in the gtk folder or that the installation had made the job for me.

    Bottom line is: yes the internationalization set is set automatically based on computer settings, provided that the files are present in the perl install folder. If not, it defaults back to English without any warning of any sort.

    Cheers.
      In the gtk+ install, there is a folder gtk+\share\locale which looked very much like internationalization files. I simply copied these files in strawberry_perl\perl\site\share and that made the trick

      Thanks for getting back to us with that.
      It has relevance to Gtk2 ppm packages that I provide.

      Cheers,
      Rob