[wp-trac] [WordPress Trac] #42900: Add gender field to user profile for use in translations
WordPress Trac
noreply at wordpress.org
Thu Dec 14 13:36:35 UTC 2017
#42900: Add gender field to user profile for use in translations
--------------------------------------+------------------------------
Reporter: yoavf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by yoavf):
Replying to [comment:1 danieltj]:
> Perhaps it would be better to, instead of having `get_user_gender` as a
function to return he, she or they, instead have a new translation
function called `_g` where it accepts a placeholder to be returned as he,
she or they, or even his, her, their. I think that'd be a much more
elegant solution.
This is only a part of the soultion. Make sure you take a look at #42725
for the full plan
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42900#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list