bug-gcal
[Top][All Lists]
Advanced

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

Re: [Bug-gcal] function day_suffix() is too English-centric


From: Giuseppe Scrivano
Subject: Re: [Bug-gcal] function day_suffix() is too English-centric
Date: Tue, 03 Feb 2015 14:34:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

Benno Schulenberg <address@hidden> writes:

> In src/utils the function day_suffix() is solely geared for English:
> it provides the token suffixes for first, second and third, and the
> "th" suffix for everything else.  But in Dutch we would need also
> a "ste" suffix for 8 and for anything above 19, in order to be fully
> correct.  For Dutch I can work around this in the translation file
> by reducing the suffix for all forms to a single "e" (which is the
> modern, lazy way of indicating ordinals anyway).  However, I can
> imagine that there are languages where no such simplification is
> possible or acceptable.  So... what to do?
>
> (Oh, btw, the day_suffix() function contains some comments meant
> for translators, but these have not made it into the POT file.
> For xgettext to pick up such comments, they must begin with a
> certain tag.  The default one is "TRANSLATORS:".
>
> So instead of "/* *** Translators, ... */ it should be
> /* TRANSLATORS: ... */.  If the shouty caps are found to
> be too ugly, xgettext allows you define a custom tag.)

I didn't find any reasonable way to manage ordinals in gettext.  My
suggestion is to use '°' where anything else is not correct.  What do
you think?

Regards,
Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]