Page MenuHomePhabricator

invite users to provide translations to languages they speak
Closed, ResolvedPublic

Description

e.g. when a user who speaks french visits a page without a french label (thus showing a label in a fallback language), show a "provide French translation" link/hint. Same for descriptions.


Version: master
Severity: enhancement

Details

Reference
bz39190

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:06 AM
bzimport set Reference to bz39190.
bzimport added a subscriber: Unknown Object (MLST).

Requires us to know the user languages.

(In reply to comment #1)

Requires us to know the user languages.

It's not so hard to make some educated guesses.

The "Common languages" section in the ULS is built from content language, browser language (available from JS), accept-language (available from the request) and geolocation (languages spoken in different are available in the CLDR), and the user's recently used languages.

Currently, there are both "Enter label" and "Enter description" boxes for all languages listed in a user's babel box. (I'm not certain about this, but I think this was added after this bug was filed.)

From this point, there's not that much more "inviting" that can be done, short of changing the default placeholder value to something more action-prompting or making the boxes without values more noticeable. "Enter label" sounds like good enough invitation itself.

Yeah let's close this. There is another bug for getting the "in other languages" box for all users and not just the ones who have a babel box on their user page.