[wp-trac] [WordPress Trac] #42725: Allow gender specific translations
WordPress Trac
noreply at wordpress.org
Thu Dec 14 13:46:48 UTC 2017
#42725: Allow gender specific translations
------------------------------------+------------------------------
Reporter: yoavf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Changes (by danieltj):
* keywords: has-patch => has-patch dev-feedback
Comment:
I've added attachment 42725.diff which is an alternative approach to the
`_g()` function which allows people to specify the gender based words that
can be used and swaps out the words based on the user's preference.
It'll probably need some changes, it's not perfect but I think it works as
a good starting point. It allows more flexibility for people to specific
the actual word that needs swapping out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42725#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list