[buddypress-trac] [BuddyPress Trac] #5401: Multilingual: send notifications in language of recipient, not sender
buddypress-trac
noreply at wordpress.org
Fri Feb 14 17:31:32 UTC 2014
#5401: Multilingual: send notifications in language of recipient, not sender
-------------------------+-----------------------------
Reporter: terraling | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
It just occurred to me that on my bilingual social network (Spanish and
English), all notifications from WP and BP are sent in the language of the
sender, not the recipient.
Which is like, if you got a friend request on Facebook from a Polish
person, the email notification would be in Polish.
I'm going to fix this on my site and was thinking it should be something
that should be a core feature or at least fixable with a plug-in, but,
then I realised a universal fix is currently not possible.
On my site there is an xprofile field for language preference, so I can
customise the notifications to check the language preference of the
recipient rather than the text simply being switched out with gettext
calls based on the current user's language.
But neither BuddyPress nor WordPress store a user language preference, so
a universal solution isn't possible.
Logically it's not so much a WP thing as a BP thing, so I propose that to
get the ball rolling team BuddyPress as a first step nominates an xprofile
field to hold the language preference. Use can then standardise around
that, for the notifications, and for who knows what else down the line...
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5401>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list