Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2009 at 18:28 UTC
Updated:
23 May 2010 at 00:16 UTC
The same with "time ago", statistics show "1 hour ago" (localized) instead of 11 and 21 hours ago, the same with minutes etc.
Everything works correctly in English.
Comments
Comment #1
dave reidSounds like there is a problem with your languages format_plural function. The only references I could find:
http://api.drupal.org/api/function/format_plural/6
http://api.drupal.org/api/function/locale_get_plural/6
#68506: Misleading documentation and usage of format_plural() function
#30876: Bug with plural forms
Comment #2
sniegs commentedI have no idea how to fix it and even where do language specific "format_plural" functions resist. So where should I look?...
Comment #3
gábor hojtsyYou've imported a .po file with a broken plural formula. Import a .po file with a good plural formula, and this issue should be solved.
Comment #4
andypostThis is a really annoing issue for languages different from english...
Translators should know that they MUST use @count in singular
For example russian have 3 plural forms:
Also JS Drupal.formatPlural() translation is totally broken #504506: Drupal.formatPlural incorrectly handle complex plural rules
EDIT: this is a different issue - #532512: Plural string storage is broken, editing UI is missing
Comment #5
damien tournoud commentedThere are three possible explanations for this issue:
1 комментарийinstead of@count комментарий), orThe two first are not related to core (and should be reported in the language-specific issue queue). We already have an issue for the third one.
=> Won't fix.