[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch for help2man] make date and time format translatable
From: |
Paul Eggert |
Subject: |
Re: [Patch for help2man] make date and time format translatable |
Date: |
Fri, 27 May 2011 09:49:59 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
On 05/27/11 06:29, Yasumichi Akahoshi wrote:
> -my $date = strftime "%B %Y", localtime;
> +my $date = enc strftime _("%B %Y"), localtime;
This is a good suggestion, except that since it is
a time format, it should depend on LC_TIME rather
than on LC_MESSAGES, which the above patch would do.
Is there some way to convince Perl to translate a
message based on LC_TIME?