[wp-trac] [WordPress Trac] #33716: Remove the locale abbreviation hacks
WordPress Trac
noreply at wordpress.org
Thu Sep 3 22:48:06 UTC 2015
#33716: Remove the locale abbreviation hacks
-------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 1.5
Severity: minor | Keywords:
Focuses: |
-------------------------+-----------------------------
`WP_Locale` uses two nasty hacks for weekday initials and month
abbreviations which involve appending a string to the abbreviations in
order to make them unique.
These were introduced in [1518] and [2232] to fix #10 and #722
respectively.
I think it's time we switched to the dedicated `_x()` function, which is
intended for this purpose. Is there any reason not to do this?
@ocean90 Is this something we can update in the existing translations
database to avoid the need for re-translation?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33716>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list