Closed Bug 1350546 Opened 5 years ago Closed 4 years ago

Include all languages of a project

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gion-andri, Assigned: mathjazz)

Details

(Whiteboard: l10n-docs-added)

Attachments

(1 file)

For reference, Pontoon should include all languages a project is available in, in at least in a read-only mode.
A possible short term option would be to use Transvision API for projects enabled in Transvision.

Example:
https://transvision.mozfr.org/string/?entity=browser/chrome/browser/browser.dtd:openFileCmd.label&repo=aurora

See JSON API link at the bottom:
https://transvision.mozfr.org/api/v1/entity/aurora/?id=browser/chrome/browser/browser.dtd:openFileCmd.label

The other option is to support locales in read-only mode.
Priority: -- → P2
The decision has been made to add support for locales in read-only mode.

It will save us a dependency on the external service and work faster as using the API. Additinally, it will allow us to support all projects, including the ones that are not available on Transvision.
Assignee: nobody → m
Status: NEW → ASSIGNED
Whiteboard: l10n-docs-needed
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/dd51a3db9ebc09c17c55fb7fe5600ec8bbffe107
Fix bug 1350546: Enable read-only ProjectLocales (#1021)

This patch adds a readonly flag to the ProjectLocale model, which allows
enabling locales for projects in read-only mode.

Such locales will act the same as other (read-write) locales, except that users
will not be able to make any changes through Pontoon by:

* submitting translations or suggestions
* (un)approving or (un)rejecting existing translations
* uploading files
* performing batch actions
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: l10n-docs-needed → l10n-docs-added
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.