[wp-trac] [WordPress Trac] #22225: WordPress does not localize ordinal suffixes in dates
WordPress Trac
noreply at wordpress.org
Tue Mar 7 05:44:54 UTC 2017
#22225: WordPress does not localize ordinal suffixes in dates
--------------------------------------+-----------------------------
Reporter: mihaimihai | Owner:
Type: enhancement | Status: reviewing
Priority: normal | Milestone: Future Release
Component: I18N | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by tobifjellner):
What if we simply drop back the whole solution to something that already
works for ''everyone''?, by simply using gettext an already normal
translations tools?.
We could add 31 strings to translate, with proper context to make sure
that they're understood and correctly translated.
_x( 'st', 'Ordinal for day 1 in month', 'my-text-domain'
_x( 'nd', 'Ordinal for day 2 in month', 'my-text-domain'
...
And then wrap it up in a simple function?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22225#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list