Open
Bug 1520043
Opened 6 years ago
Updated 2 years ago
Generate the list of available language/region names
Categories
(Core :: Internationalization, enhancement, P3)
Core
Internationalization
Tracking
()
NEW
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:
- https://searchfox.org/mozilla-central/source/toolkit/locales/en-US/toolkit/intl/languageNames.ftl
- https://searchfox.org/mozilla-central/source/toolkit/locales/en-US/toolkit/intl/regionNames.ftl
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.
Reporter | ||
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•