Closed Bug 1497503 Opened 6 years ago Closed 6 years ago

Add `locales` to [[paths]] in project config and compare-locales

Categories

(Localization Infrastructure and Tools :: compare-locales, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

Details

Attachments

(1 file)

We should add support for `locales` in `[[paths]]`, to enable a particular directory only for a subset of locales.

The specified list of locales is assumed to be a subset.
Comment on attachment 9015530 [details] [diff] [review]
documentation

Review of attachment 9015530 [details] [diff] [review]:
-----------------------------------------------------------------

::: docs/fileformat.rst
@@ +98,5 @@
>  For bilingual file formats, it's acceptable to just specify the ``l10n`` path,
>  though it's encouraged to define the ``reference`` to enable more tests.
>  
> +To limit a particular path pattern to a subset of locales, you can specify
> +an option ``locales`` entry:

option -> optional? The latter seems more natural
Attachment #9015530 - Flags: review?(francesco.lodolo) → review+
Documentation fixed. Also, local setup fixed, which I hadn't done yet after we created the /l10n/ upstream repo, including adjusting the config of rtd to actually point to the official location.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: