Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Localisation and Locale::Maketext

by phenom (Chaplain)
on Dec 22, 2009 at 13:47 UTC ( #813885=note: print w/replies, xml ) Need Help??

in reply to Localisation and Locale::Maketext

I have no experience with Locale::Maketext, but have had good luck using the following:
use encoding 'utf8'; use POSIX qw/locale_h/; use Locale::gettext; textdomain('program-name'); setlocale( LC_MESSAGES, '' ); bind_textdomain_codeset( 'program-name', 'UTF-8' );
Hope this helps.

Replies are listed 'Best First'.
Re^2: Localisation and Locale::Maketext
by phenom (Chaplain) on Dec 22, 2009 at 16:29 UTC
    Geez, downvoted! That's what I get for not posting in awhile, I guess.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://813885]
LanX chjuman !
[Eily]: do you pronunce that /xju:mən/ then ?
[Eily]: that's not what I'd call a silent h :)
[LanX]: see soundfile https://en. wiki/human# Pronunciation
[Your Mother]: Just Another Perl 'Acker.
[LanX]: I pronounce it 'juːmən'
[Your Mother]: Hey, let's not bring antisemitism into the conversation.
[LanX]: for centuries posh English speakers tried to approach French, that's where all the trouble starts
[Eily]: Just another Perl coeurs
[Eily]: (perl with hearts, 'Acker with a French accent is pronunced like coeurs)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-03-27 17:11 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.