Opened 3 years ago

Last modified 2 years ago

#18812 new enhancement

cldr/nls i18n file content keys like in gregorian could be alphabetized

Reported by: pdfernhout Owned by:
Priority: undecided Milestone: 1.14
Component: General Version: 1.11.0-rc5
Keywords: Cc:
Blocked By: Blocking:

Description

It would be easier to see what format options are available and to look for discrepancies between i18n files if the content of those files was sorted alphabetically by key name.

This could potentially be done with the least effort by finding or creating a tool to do that alphabetization process and running it on the existing files (loading each module and then outputting a sorted version).

It would also be good to add that as a step to the cldr build process here: https://github.com/dojo/util/tree/master/buildscripts/cldr

The biggest challenge doing that might be preserving any comments. Possibly that could be fixed up by hand for the existing files as there don't appear to be many comments and most of them (perhaps all?) seem to be boilerplate version information at the beginning and end.

Change History (3)

comment:1 Changed 3 years ago by pdfernhout

Sorry, the Component classification for this ticket should be "Internationalization" and not "General", but I don't seem to be able to change that myself now that the ticket has been created.

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.13

comment:3 Changed 2 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.