Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: Gtk stock button translation

by mtl3 (Novice)
on Mar 10, 2018 at 18:32 UTC ( [id://1210630]=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^7: Gtk stock button translation
by syphilis (Archbishop) on Mar 10, 2018 at 23:12 UTC
    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found