[wp-trac] [WordPress Trac] #26746: Avoid translating several times post type and taxonomy default labels
WordPress Trac
noreply at wordpress.org
Sat Mar 8 21:44:08 UTC 2014
#26746: Avoid translating several times post type and taxonomy default labels
-------------------------------+-----------------------------
Reporter: Chouby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-------------------------------+-----------------------------
Changes (by nacin):
* keywords: has-patch => needs-patch
* milestone: 3.9 => Future Release
Comment:
I'm all for performance improvements here but, as written, this will break
translations. Right now core post types and taxonomies are loaded twice,
and the first time is before translations are loaded. These would thus
always be in English.
A lesser concern could be someone switching between languages (such as
each language being a post type), but they're likely going to have their
own strings/labels, so it's not as big of a deal and probably an edge
case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26746#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list