Clean up CLDRPaths.java and CldrConfig.java

Description

The environment variables in CLDR make it often tricky to configure code.

  1. # Refactor constants from CLDRPaths.java that depend on environment variables into method calls in CldrConfig. The eventual goal is to eliminate as much as possible the dependency on environment variables.

  2. Make CldrConfig not be a singleton. For backwards compatibility, the no-arg getInstance() method can work as currently (depending on a small number of environment variables), but it should also be possible to create directly (best with a fluent API for the various base values). Consider being able to set the default value from the no-arg getInstance().

  3. Examine pain points, and see where it is useful and feasible to pass in a CldrConfig instead of using plain getInstance().

See also:
https://unicode-org.atlassian.net/browse/CLDR-10652
https://unicode-org.atlassian.net/browse/CLDR-13229

xpath

None

locale

None

Status

Assignee

Unassigned

Reporter

Mark Davis

Labels

None

tracReporter

None

tracOwner

None

tracResolution

None

tracStatus

None

Reviewer

None

phase

None

tracCc

None

tracCreated

None

Components

Priority

TBD