Re: Translation issues with strftime



Keld Jørn Simonsen <keld@dkuug.dk> writes:

[...]

>> Yeah, that is clearly the case. The facilities in strftime are
>> inadequate to deal with the situation today. We've known that for some
>> time. I've complained about it to Keld Simonsen who is part of the ISO
>> group responsible for the standard, but I don't know whether things
>> will ever change.
>
> Well, a revision can be undertaken. I do agree with the need for
> a day number without a leading space. How should it be done?
> Well, you can actually do it to day with
>
> alt_digits "0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31"
>
> And then using the %Od format specifier.

%0d or %-d. Both seems fine. Have you had a look at the GNU
extensions? They generally seem sensible.

>> Another related problem is that it is not possible to get the date
>> capitalised in a specific way. I've heard of a problem with KMail (I
>> think) that the standard email introduction
>> 
>>   Monday, November 13, Zorglub wrote:
>> 
>> is impossible to get right because the Danish dates spell the weekday
>> uncapitalised:
>> 
>>   mandag, 13. november skrev Zorglub:
>
> I would rather like:
>
>    mandag den 13. november skrev Zorglub:
>
> But both formats should be possible.

Yeah, the point was 'mandag' which should have been 'Mandag'.

>> There's no way to tell strftime that the weekday should be
>> capitalised.
>
> That should also be possible, to say "use capitalization on the first
> letter". Any suggestions on how it could be done?
> This should apply to both month names and weekday names, and both
> abbreviated and long forms. So maybe a general "make it uppercase"
> flag could be used ("+" maybe?).

'+' doesn't seem to be used by GNU at least.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]