mozilla / pontoon

Mozilla's Localization Platform
https://pontoon.mozilla.org
BSD 3-Clause "New" or "Revised" License
1.46k stars 526 forks source link

Add a way to request a new locale directly through Pontoon #2135

Open bugzilla-to-github opened 6 years ago

bugzilla-to-github commented 6 years ago

This issue was created automatically by a script.

Bug 1468997

Bug Reporter: spectre@ivixor.net CC: @flodolo, @guerojeff, @mathjazz, @peiying2, spectre@ivixor.net, @VishalCR7

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20180219150943

Steps to reproduce:

I went to Pontoon and wanted to add support for Sakha (Yakut) so that we could translate Common Voice. Sakha (ISO: sah) is not currently in Pontoon, so this involved sending a message to a Google Group which was pretty complicated.

Actual results:

The message was stuck in moderation. :)

Expected results:

It would be cool to be able to request a new locale through a nice interface in Pontoon.

bugzilla-to-github commented 6 years ago

Comment Author: @mathjazz

The UI shoud live on the /teams page and work similarly to how requesting a project works from a /$TEAM page.

We could pull all required data for all CLDR locales, so PMs will no longer need to manually enter data like script, directon or population.

There should also be an option to request a non-CLDR locale.

bugzilla-to-github commented 6 years ago

Comment Author: @mathjazz

Pulling CLDR data should also fix bug #1396915.

bugzilla-to-github commented 6 years ago

Comment Author: @mathjazz

(In reply to Matjaz Horvat [:mathjazz] from comment #2)

Pulling CLDR data should also fix bug #1396915.

The script is available here: https://github.com/mozilla-l10n/documentation/blob/2d1bec6e118c5d6537f5c76b87fe29f52082ef7c/tools/pontoon/adding_new_locale.md#using-a-script

bugzilla-to-github commented 5 years ago

Comment Author: GitHub Bugzilla PR Linker <pulgasaur@mozilla.bugs>

Created attachment 9026358 Link to GitHub pull-request: https://github.com/mozilla/pontoon/pull/1133

Attached file: file_232296336.txt (text/x-github-pull-request, 44 bytes) Description: Link to GitHub pull-request: https://github.com/mozilla/pontoon/pull/1133

bugzilla-to-github commented 5 years ago

Comment Author: @github-actions

Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/b4dee05b069c270047c52e410bfac6e40a6ae375 Fix bug #1468997: Request new locale through /teams page (#1133)

Also: refactor requests view to share code when requesting new teams and new projects.

bugzilla-to-github commented 5 years ago

Comment Author: @github-actions

Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/3d6707b5d0139d7e94ec904a528bcedf14d4dd1f Bug #1468997: Disable Request Locale, r=me (#1153)

We should reconsider the UX for requesting new locales in order to meet requirements from the PM team.

bugzilla-to-github commented 4 years ago

Comment Author: @mathjazz

It would be nice to lower the barrier to entry for new communities, so I wonder how can we move forward here.

Should we instead of to the PROJECT_MANAGERS send the email to https://lists.mozilla.org/listinfo/dev-l10n-new-locales?

Would it be helpful if in the followup step we add more fields (in addition to locale name and code) to the request form, which we typically ask for in the mailing list?

bugzilla-to-github commented 4 years ago

Comment Author: spectre@ivixor.net

I think the current interface is quite ok for releasing (don't want to delay this any longer)

In future versions it might be cool to pull relevant information from CLDR and present it to the requester asking them to approve it, or edit it. If the required information is not in CLDR it might be nice to have a form for the user to submit it.

bugzilla-to-github commented 4 years ago

Comment Author: @flodolo

Not sure why the NI was directed at me, I'm not the decision maker here.

bugzilla-to-github commented 4 years ago

Comment Author: @Pike

Let's not add the mailing list to the picture, I expect that to go away. In an mhoye way. We might want to use discourse instead.

This also comes with a new question, and that's how we expect other installs to work here.

bugzilla-to-github commented 4 years ago

Comment Author: @mathjazz

:flod, I remember talking to you when we disabled the original patch. I'm interested in hearing how the PMs would like the process of requesting a new locales to look like. I'd also like to make it easy to use for requesters, and as Axel hinted at compatible with the 3rd party installs.

In the original patch requester had to click the "Request new locale" button and fill in the locale name and code, which were then sent to the pontoon-team@mozilla.com mailing list. PMs would need to manually request additional information.

Using the mailing list came with a few benefits:

  1. Every Pontoon user has an email address, so the communication UX was straightforward.
  2. We used the same mailing list for processing project requests, so the feature was easy to implement and set up.
  3. The mailing address was configurable, so 3rd party installs could easily change it.
bugzilla-to-github commented 4 years ago

Comment Author: @guerojeff

Does Discourse have an email-based interface per category that we could use as a mailing list replacement?

I'm not sure what decision I'm being asked to make here. Can someone raise that in a new comment please?

bugzilla-to-github commented 4 years ago

Comment Author: @Pike

I'd strongly lobby to avoid email. Email is easy to spoof, which is why most services throw it away with ease.

Matjaz tested https://discourse.mozilla.org/new-topic?title=New+team+request%3A+Standard+Moroccan+Berber+%28zgh%29&body=1%29+What+Mozilla+product+are+you+hoping+to+localize%3F+Keep+in+mind+that+Firefox+desktop+is+a+rather+large+project+which+can+potentially+take+a+long+time+for+a+full+localization+to+ship.%0D%0A%0D%0A2%29+How+many+plural+forms+are+in+your+language%3F+To+give+an+example%2C+how+would+you+translate+the+following+sentences%3A%0D%0A+++-+0+rocks%0D%0A+++-+1+rock%0D%0A+++-+2+rocks%0D%0A+++-+3+rocks%0D%0A+++-+4+rocks%0D%0A+++-+5+rocks%0D%0A+++-+10+rocks%0D%0A+++-+20+rocks%0D%0A+++-+100+rocks%0D%0A+++-+1000+rocks%0D%0A%0D%0A3%29+Are+you+hoping+to+localize+alone+or+do+you+have+friends+that+will+join+you%3F+For+sustainability+of+the+localization+%28because+we%27re+always+releasing+new+versions+of+Firefox+products+that+will+need+localizing%29%2C+we%27d+prefer+to+only+ship+new+locales+that+have+more+than+one+person+sustaining+them.&category=pontoon for a non-logged-in user, and despite taking it's time to log in, that got to a pre-filled form.

We could prefill that form with data we get from CLDR upfront.

bugzilla-to-github commented 4 years ago

Comment Author: @guerojeff

+1

bugzilla-to-github commented 4 years ago

Comment Author: @mathjazz

(In reply to Jeff Beatty [:gueroJeff] from comment #12)

I'm not sure what decision I'm being asked to make here. Can someone raise that in a new comment please?

The question is where should Pontoon send new locale requests to (mailing list, Discourse, something else). Or more generally, how should the "Request new locale" feature look like.

:gueroJeff, I take your +1 as an r+ to the feature described in Comment 11, but with Discourse being the target of the request instead of the mailing list. Could you please confirm that? :)

I'd also like to ask Flod and Peiying for a review of the above "spec".

Personally, I'm skeptical of using Discourse because:

  1. It adds a barrier of signing up/in to a new platform
  2. It's inconsistent with the "Request new project" feature

So if we choose to go with Discourse, I suggest we:

  1. Measure what percentage of requests made in Pontoon result in a request made on Discourse
  2. In a followup, consolidate targets of the Request locale/project features
bugzilla-to-github commented 4 years ago

Comment Author: @guerojeff

(In reply to Matjaz Horvat [:mathjazz] from comment #15)

(In reply to Jeff Beatty [:gueroJeff] from comment #12) :gueroJeff, I take your +1 as an r+ to the feature described in Comment 11, but with Discourse being the target of the request instead of the mailing list. Could you please confirm that? :)

I can confirm my support of that for the following reasons:

I'd also like to ask Flod and Peiying for a review of the above "spec".

Personally, I'm skeptical of using Discourse because:

  1. It adds a barrier of signing up/in to a new platform
  2. It's inconsistent with the "Request new project" feature

I understand your concern around #1. I don't share your concern for #2. More information is necessary to set up a locale than setting up a new project for an existing locale. That difference may justify the inconsistency. So if we choose to go with Discourse, I suggest we:

  1. Measure what percentage of requests made in Pontoon result in a request made on Discourse
  2. In a followup, consolidate targets of the Request locale/project features +1
bugzilla-to-github commented 4 years ago

Comment Author: @flodolo

(In reply to Jeff Beatty [:gueroJeff] from comment #16)

  • mailing-lists are following the path of IRC
  • Discourse appears to be the preferred replacement
  • having a public archive where other existing locales can welcome and support new communities is an important part of integrating into Mozilla.
  • The Pontoon managers email alias doesn't allow for that level of transparency.

While transparency and community integration are fundamental, I don't think they are necessarily relevant when it comes to requesting a new language in Pontoon. dev-l10n-new-locales has been hardly useful in that sense, actually counterproductive in some cases (e.g. one-person team promoting the idea that we should allow a single person to translate projects like Firefox).

If we move dev-l10n to Discourse (and I don't see why we shouldn't), that would take better care of the community integration part.

Have we considered using GitHub instead?

bugzilla-to-github commented 4 years ago

Comment Author: @peiying2

Here are my two cents, :).

Personally, I would like to see the actual requests happening in Pontoon, but the start of the conversation can be from multiple sources and they all lead to Pontoon to make the request formal.

bugzilla-to-github commented 4 years ago

Comment Author: spectre@ivixor.net

I agree with Peiying here, that requesting a new language should definitely require an account on Pontoon. This is something we can easily explain to people, and as she says we can make that person the manager. They'll need an account on Pontoon to start localising anyway.

I think registering on GitHub is ok but not ideal, most people will have a GitHub account or can make one fairly easily, but it adds an extra dependency on Microsoft / another US company, such that it might be difficult for people in certain countries.

srl295 commented 8 months ago

I stumbled on the link to add a locale (/a/base/locale/) locally, is it documented? just trying to see what the current flow is meant to be.

mathjazz commented 8 months ago

It's documented here: https://mozilla-l10n.github.io/documentation/tools/pontoon/adding_new_locale.html

Currently, Pontoon docs are spread across various sources and our efforts to fix that have been stalled for a while: https://github.com/mozilla/pontoon/pull/1570

srl295 commented 8 months ago

It's documented here: https://mozilla-l10n.github.io/documentation/tools/pontoon/adding_new_locale.html

Currently, Pontoon docs are spread across various sources and our efforts to fix that have been stalled for a while: #1570

Aha! So https://github.com/mozilla/pontoon/blob/main/docs/index.rst#localizing links to https://mozilla-l10n.github.io/localizer-documentation/tools/pontoon/ but not to the /documentation/tools page.

Would you be open to a PR into index.rst adding a link to the page you sent? Or even to that issue?

mathjazz commented 8 months ago

There's a link in the Deploying section, but yes, happy to accept a PR if you can make it more explicit!

srl295 commented 8 months ago

There's a link in the Deploying section, but yes, happy to accept a PR if you can make it more explicit!

I actually missed that link because I thought it was to the same site as above. OK, will PR