Open Bug 1520043 Opened 6 years ago Updated 2 years ago

Generate the list of available language/region names

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: zbraniecki, Unassigned, Mentored)

References

Details

In bug 1509583 we migrated the mozIntl bits to use Fluent instead of .properties for storing the display names of languages/regions.

One of the reviewers feedback was that since we want to store the list of available names in the JS code (for performance/security reasons), we should add code to generate this list from the .ftl files, instead of attempting to keep the list in sync with the resource manually.

The files are at:

and the list is at:

All that we need is some script that can be executed when modifying languageNames.ftl/regionNames.ftl that updates the mozIntl.js.

Mentor: gandalf
Severity: normal → enhancement
Depends on: 1509583
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.