After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162948 - Ordinals in gnome-schedule cannot be properly translated in process
Ordinals in gnome-schedule cannot be properly translated in process
Status: RESOLVED FIXED
Product: gnome-schedule
Classification: Other
Component: general
0.1.0
Other All
: Normal major
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-04 20:54 UTC by Christian Rose
Modified: 2005-01-06 22:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2005-01-04 20:54:17 UTC
#. Translators: Format of numeric ordinal numbers. If this is not applicable for
you read lang.py.
#: src/lang.py:217
#, python-format
msgid "%d."

Ordinals cannot be translated this way in many languages; for example, the
ordinal suffix used often depends on the number (which is the case also for
English; 1st, 2nd, 3rd, 4th, etc.). 

Ordinals cannot be cleanly translated using the gettext framework. However, any
solution that requires translators to be programmers and requires this to be
fixed out of process (outside the gettext framework) is bad as well, because
most translators are *not* programmers, and any out of process procedure will
get unmaintained and unattended very quickly.

The most clean solution is to avoid using ordinals wherever possible, and try to
write messages in a way so that ordinals will not be used.
This is often simple to do. For example, instead of "The 2nd day of the month"
you may use "Day number 2 in the month", and so on.
Comment 1 Christian Rose 2005-01-04 20:56:01 UTC
This is obviously also true for this message:

#: src/lang.py:253
#, python-format
msgid "At the %(minute)s minute of every hour"

Try to avoid using ordinals.
Comment 2 Frank Arnold 2005-01-06 19:11:22 UTC
Fixed with patch from http://bugzilla.gnome.org/show_bug.cgi?id=162847