[wp-trac] [WordPress Trac] #18495: human_time_diff() localization
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 22 17:45:41 UTC 2011
#18495: human_time_diff() localization
--------------------------+-----------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 3.2.1
Severity: normal | Keywords:
--------------------------+-----------------------------
Using human_time_diff() function for different purposes, there is big
localization problem for example for Czech.
We can use this function in two ways:
1) "Post is 5 days old." - "5 days" (EN) = "5 dní" (CZ)
2) "Post was published 5 days ago." - "5 days" (EN) = "5 dny" (CZ)
English language has only one phrase, but Czech (and others) are much more
complicated. For example, WordPress uses this function for list of posts
in administration (5 days ago). But new bbPress plugin uses this function
for Freshness (that means 5 days). And in this case it is nonsense in
Czech language...
I could not find any solution...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18495>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list