Challenge: Loading Locales from an External Source

Write code to load locales from the configuration file or any external source into your program.

Problem statement

Our Gherkin parser utilizes a hardcoded list of locale data.

How might you refactor this to support loading locales from a configuration file or other external sources?

Get hands-on with 1300+ tech skills courses.